diff --git a/src/wp-includes/widgets/class-wp-widget-recent-comments.php b/src/wp-includes/widgets/class-wp-widget-recent-comments.php index 7bf5c6fb96..157205cdc9 100644 --- a/src/wp-includes/widgets/class-wp-widget-recent-comments.php +++ b/src/wp-includes/widgets/class-wp-widget-recent-comments.php @@ -8,7 +8,7 @@ */ /** - * Core class used to implement a Recent_Comments widget. + * Core class used to implement a Recent Comments widget. * * @since 2.8.0 * @@ -16,6 +16,12 @@ */ class WP_Widget_Recent_Comments extends WP_Widget { + /** + * Sets up a new Recent Comments widget instance. + * + * @since 2.8.0 + * @access public + */ public function __construct() { $widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'Your site’s most recent comments.' ) ); parent::__construct('recent-comments', __('Recent Comments'), $widget_ops); @@ -25,7 +31,10 @@ class WP_Widget_Recent_Comments extends WP_Widget { add_action( 'wp_head', array($this, 'recent_comments_style') ); } - /** + /** + * Outputs the default styles for the Recent Comments widget. + * + * @since 2.8.0 * @access public */ public function recent_comments_style() { @@ -41,13 +50,19 @@ class WP_Widget_Recent_Comments extends WP_Widget { || ! apply_filters( 'show_recent_comments_widget_style', true, $this->id_base ) ) return; ?> - -.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;} + + ?>

-