]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/widgets/class-wp-widget-meta.php
Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-meta.php
index c12238f9ab64c869e0ab180ed78c72a9a04dc450..e4a3b51ac96d8f8a99990c90d21be0f6d0968ec5 100644 (file)
@@ -25,8 +25,12 @@ class WP_Widget_Meta extends WP_Widget {
         * @access public
         */
        public function __construct() {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array('classname' => 'widget_meta', 'description' => __( "Login, RSS, & WordPress.org links.") );
-               parent::__construct('meta', __('Meta'), $widget_ops);
+               $widget_ops = array(
+                       'classname' => 'widget_meta',
+                       'description' => __( 'Login, RSS, & WordPress.org links.' ),
+                       'customize_selective_refresh' => true,
+               );
+               parent::__construct( 'meta', __( 'Meta' ), $widget_ops );
        }
 
        /**
        }
 
        /**
@@ -55,7 +59,7 @@ class WP_Widget_Meta extends WP_Widget {
                        <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
                        <?php
                        /**
                        <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
                        <?php
                        /**
-                        * Filter the "Powered by WordPress" text in the Meta widget.
+                        * Filters the "Powered by WordPress" text in the Meta widget.
                         *
                         * @since 3.6.0
                         *
                         *
                         * @since 3.6.0
                         *