Make WordPress Core

Ticket #41243: 41243.patch

File 41243.patch, 473 bytes (added by jankimoradiya, 9 years ago)

global WP_Widget_Factory is used in get_selective_refreshable_widgets() function but it is not mentioned in the documentation of the function.

  • class-wp-customize-widgets.php

     
    145145         * @since 4.5.0
    146146         * @access public
    147147         *
     148         * @global WP_Widget_Factory $wp_widget_factory
    148149         * @return array Mapping of id_base to support. If theme doesn't support
    149150         *               selective refresh, an empty array is returned.
    150151         */