WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / widgets / class-wp-widget-categories.php
index 058fd9007af5cf5db6f8fa81f843b50a35576e0b..2fbc62a2e85a3ebd9ecd8282fc666768e839674f 100644 (file)
@@ -23,8 +23,12 @@ class WP_Widget_Categories extends WP_Widget {
         * @access public
         */
        public function __construct() {
-               $widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories." ) );
-               parent::__construct('categories', __('Categories'), $widget_ops);
+               $widget_ops = array(
+                       'classname' => 'widget_categories',
+                       'description' => __( 'A list or dropdown of categories.' ),
+                       'customize_selective_refresh' => true,
+               );
+               parent::__construct( 'categories', __( 'Categories' ), $widget_ops );
        }
 
        /**