Changeset 36053 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 12/21/2015 02:38:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r35983 r36053 195 195 ?> 196 196 <div class="misc-pub-section misc-pub-revisions"> 197 <?php 198 if ( $revisions_to_keep > 0 && $revisions_to_keep <= $args['args']['revisions_count'] ) { 199 echo '<span title="' . esc_attr( sprintf( __( 'Your site is configured to keep only the last %s revisions.' ), 200 number_format_i18n( $revisions_to_keep ) ) ) . '">'; 201 printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '+</b>' ); 202 echo '</span>'; 203 } else { 204 printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); 205 } 206 ?> 197 <?php printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); ?> 207 198 <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php _e( 'Browse revisions' ); ?></span></a> 199 <?php if ( $revisions_to_keep > 0 ) : ?> 200 <span class="howto"><?php printf( __( 'Your site is configured to keep only the last %s revisions' ), number_format_i18n( $revisions_to_keep ) ) ?></span> 201 <?php endif; ?> 208 202 </div> 209 203 <?php endif;
Note: See TracChangeset
for help on using the changeset viewer.