Make WordPress Core


Ignore:
Timestamp:
09/03/2012 09:57:53 PM (12 years ago)
Author:
nacin
Message:

Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update-core.php

    r21702 r21703  
    838838
    839839    // self_admin_url() won't exist when upgrading from <= 3.0, so relative URLs are intentional.
    840     show_message( '<span class="hide-if-no-js">' . sprintf( __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click <a href="%s">here</a>.' ), $new_version, 'about.php?updated' ) . '</span>' );
     840    show_message( '<span class="hide-if-no-js">' . sprintf( __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click <a href="%2$s">here</a>.' ), $new_version, 'about.php?updated' ) . '</span>' );
    841841    show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $new_version, 'about.php?updated' ) . '</span>' );
    842842    echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.