Ticket #34519: 34519.3.patch
File 34519.3.patch, 14.1 KB (added by , 10 years ago) |
---|
-
src/readme.html
13 13 </h1> 14 14 <p style="text-align: center">Semantic Personal Publishing Platform</p> 15 15 16 <h 1>First Things First</h1>16 <h2>First Things First</h2> 17 17 <p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I’m proud to be a part of. Thousands of hours have gone into WordPress, and we’re dedicated to making it better every day. Thank you for making it part of your world.</p> 18 18 <p style="text-align: right">— Matt Mullenweg</p> 19 19 20 <h 1>Installation: Famous 5-minute install</h1>20 <h2>Installation: Famous 5-minute install</h2> 21 21 <ol> 22 22 <li>Unzip the package in an empty directory and upload everything.</li> 23 23 <li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details. … … 32 32 <li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on “Profile” to change the password.</li> 33 33 </ol> 34 34 35 <h 1>Updating</h1>36 <h 2>Using the Automatic Updater</h2>35 <h2>Updating</h2> 36 <h3>Using the Automatic Updater</h3> 37 37 <p>If you are updating from version 2.7 or higher, you can use the automatic updater:</p> 38 38 <ol> 39 39 <li>Open <span class="file"><a href="wp-admin/update-core.php">wp-admin/update-core.php</a></span> in your browser and follow the instructions.</li> 40 40 <li>You wanted more, perhaps? That’s it!</li> 41 41 </ol> 42 42 43 <h 2>Updating Manually</h2>43 <h3>Updating Manually</h3> 44 44 <ol> 45 45 <li>Before you update anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</li> 46 46 <li>Delete your old WordPress files, saving ones you’ve modified.</li> … … 48 48 <li>Point your browser to <span class="file"><a href="wp-admin/upgrade.php">/wp-admin/upgrade.php</a>.</span></li> 49 49 </ol> 50 50 51 <h 1>Migrating from other systems</h1>51 <h2>Migrating from other systems</h2> 52 52 <p>WordPress can <a href="https://codex.wordpress.org/Importing_Content">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php" title="Import to WordPress">our import tools</a>.</p> 53 53 54 <h 1>System Requirements</h1>54 <h2>System Requirements</h2> 55 55 <ul> 56 56 <li><a href="http://php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li> 57 57 <li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li> 58 58 </ul> 59 59 60 <h 2>Recommendations</h2>60 <h3>Recommendations</h3> 61 61 <ul> 62 62 <li><a href="http://php.net/">PHP</a> version <strong>5.6</strong> or higher.</li> 63 63 <li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.5</strong> or higher.</li> … … 65 65 <li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li> 66 66 </ul> 67 67 68 <h 1>Online Resources</h1>68 <h2>Online Resources</h2> 69 69 <p>If you have any questions that aren’t addressed in this document, please take advantage of WordPress’ numerous online resources:</p> 70 70 <dl> 71 71 <dt><a href="https://codex.wordpress.org/">The WordPress Codex</a></dt> … … 80 80 <dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="irc://irc.freenode.net/wordpress">irc.freenode.net #wordpress</a>)</dd> 81 81 </dl> 82 82 83 <h 1>Final Notes</h1>83 <h2>Final Notes</h2> 84 84 <ul> 85 85 <li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="https://wordpress.org/support/">Support Forums</a>.</li> 86 86 <li>WordPress has a robust plugin <abbr title="application programming interface">API</abbr> that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://codex.wordpress.org/Plugin_API" title="WordPress plugin API">plugin documentation in the Codex</a>. You shouldn’t modify any of the core code.</li> 87 87 </ul> 88 88 89 <h 1>Share the Love</h1>89 <h2>Share the Love</h2> 90 90 <p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.</p> 91 91 92 92 <p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/" title="Donate to WordPress">donating</a>.</p> 93 93 94 <h 1>License</h1>94 <h2>License</h2> 95 95 <p>WordPress is free software, and is released under the terms of the <abbr title="GNU General Public License">GPL</abbr> version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p> 96 96 97 97 </body> -
src/wp-admin/css/install.css
38 38 outline: #5b9dd9 solid 1px; 39 39 } 40 40 41 h1 {41 h1, h2 { 42 42 border-bottom: 1px solid #dedede; 43 43 clear: both; 44 44 color: #666; … … 49 49 font-weight: normal; 50 50 } 51 51 52 h 2{52 h3 { 53 53 font-size: 16px; 54 54 } 55 55 … … 87 87 88 88 #logo { 89 89 margin: 6px 0 14px 0; 90 padding: 0 0 7px 0; 90 91 border-bottom: none; 91 92 text-align:center 92 93 } -
src/wp-admin/install.php
16 16 <title>Error: PHP is not running</title> 17 17 </head> 18 18 <body class="wp-core-ui"> 19 < h1 id="logo"><a href="https://wordpress.org/">WordPress</a></h1>20 <h 2>Error: PHP is not running</h2>19 <p id="logo"><a href="https://wordpress.org/">WordPress</a></p> 20 <h1>Error: PHP is not running</h1> 21 21 <p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p> 22 22 </body> 23 23 </html> … … 76 76 ?> 77 77 </head> 78 78 <body class="wp-core-ui<?php echo $body_classes ?>"> 79 < h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>79 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p> 80 80 81 81 <?php 82 82 } // end display_header() … … 106 106 107 107 if ( ! is_null( $error ) ) { 108 108 ?> 109 <h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1> 109 110 <p class="message"><?php echo $error; ?></p> 110 111 <?php } ?> 111 112 <form id="setup" method="post" action="install.php?step=2" novalidate="novalidate"> … … 286 287 <h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1> 287 288 <p><?php _e( 'Welcome to the famous five-minute WordPress installation process! Just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world.' ); ?></p> 288 289 289 <h 1><?php _e( 'Information needed' ); ?></h1>290 <h2><?php _e( 'Information needed' ); ?></h2> 290 291 <p><?php _e( 'Please provide the following information. Don’t worry, you can always change these settings later.' ); ?></p> 291 292 292 293 <?php -
src/wp-admin/maint/repair.php
22 22 ?> 23 23 </head> 24 24 <body class="wp-core-ui"> 25 < h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>25 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p> 26 26 27 27 <?php 28 28 29 29 if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { 30 31 echo '<h1 class="screen-reader-text">' . __( 'Allow automatic repair database' ) . '</h1>'; 32 30 33 echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; 31 34 32 35 $default_key = 'put your unique phrase here'; … … 52 55 $duplicated_keys = array_filter( $duplicated_keys ); 53 56 54 57 if ( $duplicated_keys || $missing_key ) { 58 59 echo '<h2 class="screen-reader-text">' . __( 'Check secret keys' ) . '</h2>'; 60 55 61 // Translators: 1: wp-config.php; 2: Secret key service URL. 56 62 echo '<p>' . sprintf( __( 'While you are editing your %1$s file, take a moment to make sure you have all 8 keys and that they are unique. You can generate these using the <a href="%2$s">WordPress.org secret key service</a>.' ), '<code>wp-config.php</code>', 'https://api.wordpress.org/secret-key/1.1/salt/' ) . '</p>'; 57 63 } 58 64 59 65 } elseif ( isset( $_GET['repair'] ) ) { 66 67 echo '<h1 class="screen-reader-text">' . __( 'Results database repair' ) . '</h1>'; 68 60 69 $optimize = 2 == $_GET['repair']; 61 70 $okay = true; 62 71 $problems = array(); … … 137 146 echo '<p>' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; 138 147 } 139 148 } else { 149 150 echo '<h1 class="screen-reader-text">' . __( 'WordPress database repair' ) . '</h1>'; 151 140 152 if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] ) 141 153 echo '<p>' . __( 'One or more database tables are unavailable. To allow WordPress to attempt to repair these tables, press the “Repair Database” button. Repairing can take a while, so please be patient.' ) . '</p>'; 142 154 else -
src/wp-admin/setup-config.php
88 88 <?php wp_admin_css( 'install', true ); ?> 89 89 </head> 90 90 <body class="<?php echo implode( ' ', $body_classes ); ?>"> 91 < h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>91 <p id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p> 92 92 <?php 93 93 } // end function setup_config_display_header(); 94 94 … … 103 103 case -1: 104 104 if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) { 105 105 setup_config_display_header( 'language-chooser' ); 106 echo '<h1 class="screen-reader-text">Select a default language</h1>'; 106 107 echo '<form id="setup" method="post" action="?step=0">'; 107 108 wp_install_language_form( $languages ); 108 109 echo '</form>'; … … 129 130 $step_1 .= '&language=' . $loaded_language; 130 131 } 131 132 ?> 132 133 <h1 class="screen-reader-text"><?php _e( 'Before getting started' ) ?></h1> 133 134 <p><?php _e( 'Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.' ) ?></p> 134 135 <ol> 135 136 <li><?php _e( 'Database name' ); ?></li> … … 155 156 156 157 setup_config_display_header(); 157 158 ?> 159 <h1 class="screen-reader-text"><?php _e( 'Setup your database connection' ) ?></h1> 158 160 <form method="post" action="setup-config.php?step=2"> 159 161 <p><?php _e( "Below you should enter your database connection details. If you’re not sure about these, contact your host." ); ?></p> 160 162 <table class="form-table"> … … 344 346 chmod( $path_to_wp_config, 0666 ); 345 347 setup_config_display_header(); 346 348 ?> 349 <h1 class="screen-reader-text"><?php _e( 'Successful database connection' ) ?></h1> 347 350 <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> 348 351 349 352 <p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the install' ); ?></a></p> -
src/wp-admin/upgrade.php
67 67 ?> 68 68 </head> 69 69 <body class="wp-core-ui"> 70 < h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>70 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p> 71 71 72 72 <?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?> 73 73 74 <h 2><?php _e( 'No Update Required' ); ?></h2>74 <h1><?php _e( 'No Update Required' ); ?></h1> 75 75 <p><?php _e( 'Your WordPress database is already up-to-date!' ); ?></p> 76 76 <p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p> 77 77 … … 92 92 $goback = urlencode( $goback ); 93 93 } 94 94 ?> 95 <h 2><?php _e( 'Database Update Required' ); ?></h2>95 <h1><?php _e( 'Database Update Required' ); ?></h1> 96 96 <p><?php _e( 'WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.' ); ?></p> 97 97 <p><?php _e( 'The database update process may take a little while, so please be patient.' ); ?></p> 98 98 <p class="step"><a class="button button-large button-primary" href="upgrade.php?step=1&backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p> … … 105 105 $backto = esc_url( $backto ); 106 106 $backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/'); 107 107 ?> 108 <h 2><?php _e( 'Update Complete' ); ?></h2>108 <h1><?php _e( 'Update Complete' ); ?></h1> 109 109 <p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p> 110 110 <p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p> 111 111