diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 800823d8bd..9c8e536f8f 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -250,6 +250,17 @@ function install_plugin_information() { 'div' => array(), 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(), 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(), 'img' => array('src' => array(), 'class' => array(), 'alt' => array())); + + $plugins_section_titles = array( + 'description' => _x('Description', 'Plugin installer section title'), + 'installation' => _x('Installation', 'Plugin installer section title'), + 'faq' => _x('FAQ', 'Plugin installer section title'), + 'screenshots' => _x('Screenshots', 'Plugin installer section title'), + 'changelog' => _x('Changelog', 'Plugin installer section title'), + 'other_notes' => _x('Other Notes', 'Plugin installer section title') + ); + + //Sanitize HTML foreach ( (array)$api->sections as $section_name => $content ) $api->sections[$section_name] = wp_kses($content, $plugins_allowedtags); @@ -267,14 +278,16 @@ function install_plugin_information() { echo "
\n"; echo "\n"; @@ -346,18 +359,20 @@ function install_plugin_information() { echo '' . __('Warning: This plugin has not been marked as compatible with your version of WordPress.') . '