Changeset 48104 for trunk/src/wp-includes/theme.php
- Timestamp:
- 06/20/2020 12:00:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r48091 r48104 825 825 826 826 /** 827 * Checks that current theme files 'index.php' and 'style.css' exists.827 * Checks that the current theme has 'index.php' and 'style.css' files. 828 828 * 829 829 * Does not initially check the default theme, which is the fallback and should always exist. … … 1455 1455 * @global array $_wp_default_headers 1456 1456 * 1457 * @param array $headers Array of headers keyed by a string id. The ids point to arrays containing 'url', 'thumbnail_url', and 'description' keys. 1457 * @param array $headers Array of headers keyed by a string ID. The IDs point to arrays 1458 * containing 'url', 'thumbnail_url', and 'description' keys. 1458 1459 */ 1459 1460 function register_default_headers( $headers ) { … … 2845 2846 * 2846 2847 * @param string $feature 2847 * 2848 * @return bool Returns true when support is removed, false when the feature was not registered. 2848 * @return bool True if support was removed, false if the feature was not registered. 2849 2849 */ 2850 2850 function _remove_theme_support( $feature ) { … … 2893 2893 2894 2894 unset( $_wp_theme_features[ $feature ] ); 2895 2895 2896 return true; 2896 2897 } … … 3006 3007 * @since 4.5.0 Also removes custom logo theme mods. 3007 3008 * 3008 * @param int $id The attachment id.3009 * @param int $id The attachment ID. 3009 3010 */ 3010 3011 function _delete_attachment_theme_mod( $id ) {
Note: See TracChangeset
for help on using the changeset viewer.