Changeset 21856
- Timestamp:
- 09/15/2012 07:49:21 PM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/export.php
r21749 r21856 17 17 $title = __('Export'); 18 18 19 function add_js() {19 function export_add_js() { 20 20 ?> 21 21 <script type="text/javascript"> … … 37 37 <?php 38 38 } 39 add_action( 'admin_head', ' add_js' );39 add_action( 'admin_head', 'export_add_js' ); 40 40 41 41 get_current_screen()->add_help_tab( array( -
trunk/wp-admin/options-general.php
r20605 r21856 24 24 * @subpackage General_Settings_Screen 25 25 */ 26 function add_js() {26 function options_general_add_js() { 27 27 ?> 28 28 <script type="text/javascript"> … … 57 57 <?php 58 58 } 59 add_action('admin_head', ' add_js');59 add_action('admin_head', 'options_general_add_js'); 60 60 61 61 $options_help = '<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' . -
trunk/wp-admin/options-permalink.php
r20023 r21856 53 53 * @subpackage Permalink_Settings_Screen 54 54 */ 55 function add_js() {55 function options_permalink_add_js() { 56 56 ?> 57 57 <script type="text/javascript"> … … 71 71 <?php 72 72 } 73 add_filter('admin_head', ' add_js');73 add_filter('admin_head', 'options_permalink_add_js'); 74 74 75 75 include('./admin-header.php'); -
trunk/wp-admin/options-reading.php
r21851 r21856 22 22 * @subpackage Reading_Settings_Screen 23 23 */ 24 function add_js() {24 function options_reading_add_js() { 25 25 ?> 26 26 <script type="text/javascript"> … … 40 40 <?php 41 41 } 42 add_action('admin_head', ' add_js');42 add_action('admin_head', 'options_reading_add_js'); 43 43 44 44 get_current_screen()->add_help_tab( array( -
trunk/wp-admin/setup-config.php
r21716 r21856 86 86 * @subpackage Installer_WP_Config 87 87 */ 88 function display_header() {88 function setup_config_display_header() { 89 89 global $wp_version; 90 90 … … 102 102 <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png?ver=20120216" /></h1> 103 103 <?php 104 } //end functiondisplay_header();104 } // end function setup_config_display_header(); 105 105 106 106 switch($step) { 107 107 case 0: 108 display_header();108 setup_config_display_header(); 109 109 ?> 110 110 … … 125 125 126 126 case 1: 127 display_header();127 setup_config_display_header(); 128 128 ?> 129 129 <form method="post" action="setup-config.php?step=2"> … … 255 255 256 256 if ( ! is_writable(ABSPATH) ) : 257 display_header();257 setup_config_display_header(); 258 258 ?> 259 259 <p><?php _e( "Sorry, but I can't write the <code>wp-config.php</code> file." ); ?></p> … … 274 274 fclose($handle); 275 275 chmod(ABSPATH . 'wp-config.php', 0666); 276 display_header();276 setup_config_display_header(); 277 277 ?> 278 278 <p><?php _e( "All right sparky! You've made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to…" ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.