Changeset 31435 for branches/4.1/src/wp-includes/general-template.php
- Timestamp:
- 02/12/2015 05:36:59 AM (10 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-includes/general-template.php
r31433 r31435 3127 3127 return $settings; 3128 3128 } 3129 3130 /** 3131 * Temporary function to add a missing style rule to the themes page. 3132 * This avoids the need to ship an entirely rebuilt wp-admin.css in partial builds. 3133 * 3134 * @since 4.1.1 3135 * @ignore 3136 */ 3137 function _wp_add_themesphp_notice_styling() { 3138 global $pagenow; 3139 if ( 'themes.php' == $pagenow ) { 3140 echo "<style type='text/css'>.themes-php div.notice { margin: 0 0 20px 0; clear: both; }</style>\n"; 3141 } 3142 } 3143 add_action( 'admin_head', '_wp_add_themesphp_notice_styling' );
Note: See TracChangeset
for help on using the changeset viewer.