WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-pages.php
index e8737acb854f69bff639f5a30a8a9a5a45ce77c9..165f33487d66eb1716b3f4b2376a6dd9aea1a6d5 100644 (file)
@@ -23,8 +23,12 @@ class WP_Widget_Pages extends WP_Widget {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'A list of your site’s Pages.') );
-               parent::__construct('pages', __('Pages'), $widget_ops);
+               $widget_ops = array(
+                       'classname' => 'widget_pages',
+                       'description' => __( 'A list of your site’s Pages.' ),
+                       'customize_selective_refresh' => true,
+               );
+               parent::__construct( 'pages', __( 'Pages' ), $widget_ops );
        }
 
        /**