WordPress.org

Make WordPress Core

Ticket #19346: 19346-example.diff

File 19346-example.diff, 1.1 KB (added by nacin, 4 years ago)

Example implementation for 3.3.1 and 3.3.2.

  • wp-admin/about.php

     
    3333        </a> 
    3434</h2> 
    3535 
     36<div class="changelog point-releases"> 
     37        <h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 2 ); ?></h3> 
     38        <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', 
     39                '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', 6 ), '3.3.2', number_format_i18n( 6 ) ); ?> 
     40                <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://wordpress.org/' ); ?> 
     41        </p> 
     42        <p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bugs.', 
     43                '<strong>Version %1$s</strong> addressed %2$s bugs.', 54 ), '3.3.1', number_format_i18n( 54 ) ); ?> 
     44                <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://wordpress.org/' ); ?> 
     45        </p> 
     46</div> 
     47 
    3648<div class="changelog"> 
    3749        <h3><?php _e( 'Easier Uploading' ); ?></h3> 
    3850