WordPress.org

Make WordPress Core

Ticket #4835: updater.diff

File updater.diff, 2.2 KB (added by nbachiyski, 11 years ago)
  • wp-admin/includes/update.php

     
    1010
    1111        switch ( $cur->response ) {
    1212        case 'development' :
    13                 return sprintf( __( '| You are using a development version (%s). Cool! Please <a href="%s">stay updated</a>.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' );
     13                return sprintf( '| '.__( 'You are using a development version (%s). Cool! Please <a href="%s">stay updated</a>.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' );
    1414        break;
    1515
    1616        case 'upgrade' :
    17                 return sprintf( __( '| <strong>Your WordPress %s is out of date. <a href="%s">Please update</a>.</strong>' ), $GLOBALS['wp_version'], $cur->url );
     17                return sprintf( '| <strong>'.__( 'Your WordPress %s is out of date. <a href="%s">Please update</a>.' ).'</strong>', $GLOBALS['wp_version'], $cur->url );
    1818        break;
    1919
    2020
    2121        case 'latest' :
    22                 return sprintf( __( '| Version %s' ), $GLOBALS['wp_version'] );
     22                return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] );
    2323        break;
    2424        }
    2525}
     
    112112}
    113113add_action( 'after_plugin_row', 'wp_plugin_update_row' );
    114114
    115 ?>
    116  No newline at end of file
     115?>
  • wp-admin/admin-footer.php

     
    33<p><?php
    44
    55$upgrade = apply_filters( 'update_footer', '' );
    6 printf( __( 'Thank you for creating with <a href="%s">WordPress</a> | <a href="%s">Documentation</a> | <a href="%s">Feedback</a> %s' ), 'http://wordpress.org/', 'http://codex.wordpress.org/', 'http://wordpress.org/support/forum/4', $upgrade )
     6echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;
    77
    88?></p>
    99</div>
    1010<?php do_action('admin_footer', ''); ?>
    1111<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    1212</body>
    13 </html>
    14  No newline at end of file
     13</html>