WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/15/2012 07:49:21 PM (7 years ago)
Author:
nacin
Message:

Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r21716 r21856  
    8686 * @subpackage Installer_WP_Config
    8787 */
    88 function display_header() {
     88function setup_config_display_header() {
    8989    global $wp_version;
    9090
     
    102102<h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png?ver=20120216" /></h1>
    103103<?php
    104 }//end function display_header();
     104} // end function setup_config_display_header();
    105105
    106106switch($step) {
    107107    case 0:
    108         display_header();
     108        setup_config_display_header();
    109109?>
    110110
     
    125125
    126126    case 1:
    127         display_header();
     127        setup_config_display_header();
    128128    ?>
    129129<form method="post" action="setup-config.php?step=2">
     
    255255
    256256    if ( ! is_writable(ABSPATH) ) :
    257         display_header();
     257        setup_config_display_header();
    258258?>
    259259<p><?php _e( "Sorry, but I can't write the <code>wp-config.php</code> file." ); ?></p>
     
    274274        fclose($handle);
    275275        chmod(ABSPATH . 'wp-config.php', 0666);
    276         display_header();
     276        setup_config_display_header();
    277277?>
    278278<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&hellip;" ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.