Changeset 13763
- Timestamp:
- 03/19/2010 08:03:52 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r13242 r13763 456 456 foreach ( (array)$api->sections as $section_name => $content ) 457 457 $api->sections[$section_name] = wp_kses($content, $themes_allowedtags); 458 foreach ( array('version', 'author', 'requires', 'tested', 'homepage', 'downloaded', 'slug') as $key ) 459 $api->$key = wp_kses($api->$key, $themes_allowedtags); 458 459 foreach ( array('version', 'author', 'requires', 'tested', 'homepage', 'downloaded', 'slug') as $key ) { 460 if ( isset($api->$key) ) 461 $api->$key = wp_kses($api->$key, $themes_allowedtags); 462 } 460 463 461 464 iframe_header( __('Theme Install') ); -
trunk/wp-admin/update.php
r13733 r13763 206 206 $title = __('Install Themes'); 207 207 $parent_file = 'themes.php'; 208 $submenu_file = 'theme -install.php';208 $submenu_file = 'themes.php'; 209 209 require_once('admin-header.php'); 210 210
Note: See TracChangeset
for help on using the changeset viewer.