Changeset 13250
- Timestamp:
- 02/20/2010 12:28:10 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update.php
r12753 r13250 131 131 132 132 if ( current_user_can('update_core') ) 133 $msg = sprintf( __(' WordPress %1$sis available! <a href="%2$s">Please update now</a>.'), $cur->current, 'update-core.php' );133 $msg = sprintf( __('<a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! <a href="%2$s">Please update now</a>.'), $cur->current, 'update-core.php' ); 134 134 else 135 $msg = sprintf( __(' WordPress %1$sis available! Please notify the site administrator.'), $cur->current );135 $msg = sprintf( __('<a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! Please notify the site administrator.'), $cur->current ); 136 136 137 137 echo "<div id='update-nag'>$msg</div>"; -
trunk/wp-admin/install.php
r13136 r13250 128 128 129 129 if ( !$mysql_compat && !$php_compat ) 130 $compat = sprintf( __('You cannot install because WordPress %1$srequires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );130 $compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); 131 131 elseif ( !$php_compat ) 132 $compat = sprintf( __('You cannot install because WordPress %1$srequires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );132 $compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ); 133 133 elseif ( !$mysql_compat ) 134 $compat = sprintf( __('You cannot install because WordPress %1$srequires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version );134 $compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ); 135 135 136 136 if ( !$mysql_compat || !$php_compat ) { -
trunk/wp-admin/update-core.php
r12832 r13250 37 37 $mysql_compat = version_compare( $mysql_version, $update->mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); 38 38 if ( !$mysql_compat && !$php_compat ) 39 $message = sprintf( __('You cannot upgrade because WordPress %1$srequires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );39 $message = sprintf( __('You cannot upgrade because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version ); 40 40 elseif ( !$php_compat ) 41 $message = sprintf( __('You cannot upgrade because WordPress %1$srequires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version );41 $message = sprintf( __('You cannot upgrade because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version ); 42 42 elseif ( !$mysql_compat ) 43 $message = sprintf( __('You cannot upgrade because WordPress %1$srequires MySQL version %2$s or higher. You are running version %3$s.'), $update->current, $update->mysql_version, $mysql_version );43 $message = sprintf( __('You cannot upgrade because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.'), $update->current, $update->mysql_version, $mysql_version ); 44 44 else 45 $message = sprintf(__('You can upgrade to version %sautomatically or download the package and install it manually:'), $version_string);45 $message = sprintf(__('You can upgrade to <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> automatically or download the package and install it manually:'), $version_string); 46 46 if ( !$mysql_compat || !$php_compat ) 47 47 $show_buttons = false; -
trunk/wp-admin/upgrade.php
r12753 r13250 61 61 <?php elseif ( !$php_compat || !$mysql_compat ) : 62 62 if ( !$mysql_compat && !$php_compat ) 63 printf( __('You cannot upgrade because WordPress %1$srequires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );63 printf( __('You cannot upgrade because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); 64 64 elseif ( !$php_compat ) 65 printf( __('You cannot upgrade because WordPress %1$srequires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );65 printf( __('You cannot upgrade because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ); 66 66 elseif ( !$mysql_compat ) 67 printf( __('You cannot upgrade because WordPress %1$srequires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version );67 printf( __('You cannot upgrade because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ); 68 68 ?> 69 69 <?php else :
Note: See TracChangeset
for help on using the changeset viewer.