Ticket #8497: 8497-cron.diff
File 8497-cron.diff, 1.0 KB (added by , 16 years ago) |
---|
-
wp-includes/theme.php
162 162 * @return array Theme data. 163 163 */ 164 164 function get_theme_data( $theme_file ) { 165 if( !function_exists( '_cleanup_header_comment' ) ) 166 require_once( ABSPATH . 'wp-admin/includes/misc.php' ); 167 165 168 $themes_allowed_tags = array( 166 169 'a' => array( 167 170 'href' => array(),'title' => array() -
wp-admin/includes/plugin.php
66 66 * @return array See above for description. 67 67 */ 68 68 function get_plugin_data( $plugin_file, $markup = true, $translate = true ) { 69 if( !function_exists( '_cleanup_header_comment' ) ) 70 require_once( ABSPATH . 'wp-admin/includes/misc.php' ); 71 69 72 // We don't need to write to the file, so just open for reading. 70 73 $fp = fopen($plugin_file, 'r'); 71 74