Changeset 48121 for trunk/src/wp-includes/theme.php
- Timestamp:
- 06/22/2020 05:24:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r48115 r48121 2824 2824 */ 2825 2825 function remove_theme_support( $feature ) { 2826 // Blacklist: for internal registrationsnot used directly by themes.2826 // Do not remove internal registrations that are not used directly by themes. 2827 2827 if ( in_array( $feature, array( 'editor-style', 'widgets', 'menus' ), true ) ) { 2828 2828 return false; … … 2833 2833 2834 2834 /** 2835 * Do not use. Removes theme support internally, ignorant of the blacklist. 2835 * Do not use. Removes theme support internally without knowledge of those not used by 2836 * themes directly. 2836 2837 * 2837 2838 * @access private 2838 2839 * @since 3.1.0 2839 *2840 2840 * @global array $_wp_theme_features 2841 2841 * @global Custom_Image_Header $custom_image_header
Note: See TracChangeset
for help on using the changeset viewer.