Skip to content

Commit

Permalink
Issue #864: Remove @todo tags from widgets, as they're implemented.
Browse files Browse the repository at this point in the history
The markup is filtered with AMP_Theme_Support::filter_the_content().
Still, I need to apply the dropdown to the 'Archives' widget.
  • Loading branch information
Ryan Kienstra committed Jan 23, 2018
1 parent dc3f5b4 commit 28b5cdd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions includes/widgets/class-amp-widget-media-audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ class AMP_Widget_Media_Audio extends WP_Widget_Media_Audio {
/**
* Echoes the markup of the widget.
*
* @todo filter $output, to convert <audio> to <amp-audio>.
* @see https://github.com/Automattic/amp-wp/issues/864
*
* @param array $instance Data for widget.
*
* @return void.
*/
public function render_media( $instance ) {
Expand Down
2 changes: 0 additions & 2 deletions includes/widgets/class-amp-widget-media-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class AMP_Widget_Media_Gallery extends WP_Widget_Media_Gallery {
/**
* Echoes the markup of the widget.
*
* @todo filter $output, to convert <imp> to <amp-img> and remove the <style>.
* @see https://github.com/Automattic/amp-wp/issues/864
* @param array $instance Data for widget.
* @return void.
*/
Expand Down
4 changes: 0 additions & 4 deletions includes/widgets/class-amp-widget-media-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ class AMP_Widget_Media_Image extends WP_Widget_Media_Image {
/**
* Echoes the markup of the widget.
*
* @todo filter $output, to convert <imp> to <amp-img> and remove the 'style' attribute.
* @see https://github.com/Automattic/amp-wp/issues/864
*
* @param array $instance Data for widget.
*
* @return void.
*/
public function render_media( $instance ) {
Expand Down
4 changes: 0 additions & 4 deletions includes/widgets/class-amp-widget-media-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ class AMP_Widget_Media_Video extends WP_Widget_Media_Video {
/**
* Echoes the markup of the widget.
*
* @todo filter $output, to convert <video> to <amp-video> and remove the 'style' attribute.
* @see https://github.com/Automattic/amp-wp/issues/864
*
* @param array $instance Data for widget.
*
* @return void.
*/
public function render_media( $instance ) {
Expand Down
2 changes: 0 additions & 2 deletions includes/widgets/class-amp-widget-rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class AMP_Widget_RSS extends WP_Widget_RSS {
/**
* Echoes the markup of the widget.
*
* @todo filter $output, to convert <img> to <amp-img>.
* @see https://github.com/Automattic/amp-wp/issues/864
* @param array $args Widget display data.
* @param array $instance Data for widget.
* @return void.
Expand Down

0 comments on commit 28b5cdd

Please sign in to comment.