Ticket #35029: 35029.5.patch
File 35029.5.patch, 1.5 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/common.css
890 890 padding: 6px 10px 8px; 891 891 } 892 892 893 .misc-pub-revisions .howto {894 padding-left: 25px;895 }896 897 893 .misc-pub-filename { 898 894 word-wrap: break-word; 899 895 } -
src/wp-admin/includes/meta-boxes.php
190 190 $date = date_i18n( $datef, strtotime( current_time('mysql') ) ); 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; 204 199