Changeset 36612 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 02/22/2016 04:22:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r36232 r36612 191 191 } 192 192 193 if ( ! empty( $args['args']['revisions_count'] ) ) : 194 $revisions_to_keep = wp_revisions_to_keep( $post ); 195 ?> 193 if ( ! empty( $args['args']['revisions_count'] ) ) : ?> 196 194 <div class="misc-pub-section misc-pub-revisions"> 197 195 <?php printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); ?> 198 196 <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; ?>202 197 </div> 203 198 <?php endif;
Note: See TracChangeset
for help on using the changeset viewer.