Ticket #22333: 22333.3.patch
File 22333.3.patch, 6.4 KB (added by , 11 years ago) |
---|
-
wp-admin/includes/meta-boxes.php
55 55 56 56 <div id="misc-publishing-actions"> 57 57 58 <div class="misc-pub-section "><label for="post_status"><?php _e('Status:') ?></label>58 <div class="misc-pub-section misc-pub-post-status"><label for="post_status"><?php _e('Status:') ?></label> 59 59 <span id="post-status-display"> 60 60 <?php 61 61 switch ( $post->post_status ) { … … 105 105 <?php } ?> 106 106 </div><!-- .misc-pub-section --> 107 107 108 <div class="misc-pub-section " id="visibility">108 <div class="misc-pub-section misc-pub-visibility" id="visibility"> 109 109 <?php _e('Visibility:'); ?> <span id="post-visibility-display"><?php 110 110 111 111 if ( 'private' == $post->post_status ) { … … 174 174 if ( ! empty( $args['args']['revisions_count'] ) ) : 175 175 $revisions_to_keep = wp_revisions_to_keep( $post ); 176 176 ?> 177 <div class="misc-pub-section num-revisions">177 <div class="misc-pub-section misc-pub-revisions"> 178 178 <?php 179 179 if ( $revisions_to_keep > 0 && $revisions_to_keep <= $args['args']['revisions_count'] ) { 180 180 echo '<span title="' . esc_attr( sprintf( __( 'Your site is configured to keep only the last %s revisions.' ), … … 190 190 <?php endif; 191 191 192 192 if ( $can_publish ) : // Contributors don't get to choose the date of publish ?> 193 <div class="misc-pub-section curtime ">193 <div class="misc-pub-section curtime misc-pub-curtime"> 194 194 <span id="timestamp"> 195 195 <?php printf($stamp, $date); ?></span> 196 196 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a> … … 278 278 $stamp = __('Uploaded on: <b>%1$s</b>'); 279 279 $date = date_i18n( $datef, strtotime( $post->post_date ) ); 280 280 ?> 281 <div class="misc-pub-section curtime ">281 <div class="misc-pub-section curtime misc-pub-curtime"> 282 282 <span id="timestamp"><?php printf($stamp, $date); ?></span> 283 283 </div><!-- .misc-pub-section --> 284 284 … … 702 702 </div> 703 703 704 704 <div id="misc-publishing-actions"> 705 <div class="misc-pub-section ">705 <div class="misc-pub-section misc-pub-private"> 706 706 <label for="link_private" class="selectit"><input id="link_private" name="link_visible" type="checkbox" value="N" <?php checked($link->link_visible, 'N'); ?> /> <?php _e('Keep this link private') ?></label> 707 707 </div> 708 708 </div> -
wp-admin/includes/media.php
2432 2432 2433 2433 $att_url = wp_get_attachment_url( $post->ID ); 2434 2434 ?> 2435 <div class="misc-pub-section ">2435 <div class="misc-pub-section misc-pub-attachment"> 2436 2436 <label for="attachment_url"><?php _e( 'File URL:' ); ?></label> 2437 2437 <input type="text" class="widefat urlfield" readonly="readonly" name="attachment_url" value="<?php echo esc_attr($att_url); ?>" /> 2438 2438 </div> 2439 <div class="misc-pub-section ">2439 <div class="misc-pub-section misc-pub-filename"> 2440 2440 <?php _e( 'File name:' ); ?> <strong><?php echo $filename; ?></strong> 2441 2441 </div> 2442 <div class="misc-pub-section ">2442 <div class="misc-pub-section misc-pub-filetype"> 2443 2443 <?php _e( 'File type:' ); ?> <strong><?php 2444 2444 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) 2445 2445 echo esc_html( strtoupper( $matches[1] ) ); … … 2460 2460 2461 2461 foreach ( $fields as $key => $label ): 2462 2462 if ( ! empty( $meta[$key] ) ) : ?> 2463 <div class="misc-pub-section ">2463 <div class="misc-pub-section misc-pub-mime-meta"> 2464 2464 <?php echo $label ?> <strong><?php echo esc_html( $meta[$key] ); ?></strong> 2465 2465 </div> 2466 2466 <?php … … 2468 2468 endforeach; 2469 2469 2470 2470 if ( ! empty( $meta['bitrate'] ) ) : ?> 2471 <div class="misc-pub-section ">2471 <div class="misc-pub-section misc-pub-bitrate"> 2472 2472 <?php _e( 'Bitrate:' ); ?> <strong><?php 2473 2473 echo round( $meta['bitrate'] / 1000 ), 'kb/s'; 2474 2474 … … 2487 2487 2488 2488 foreach ( $audio_fields as $key => $label ): 2489 2489 if ( ! empty( $meta['audio'][$key] ) ) : ?> 2490 <div class="misc-pub-section ">2490 <div class="misc-pub-section misc-pub-audio"> 2491 2491 <?php echo $label; ?> <strong><?php echo esc_html( $meta['audio'][$key] ); ?></strong> 2492 2492 </div> 2493 2493 <?php … … 2497 2497 endif; 2498 2498 2499 2499 if ( $media_dims ) : ?> 2500 <div class="misc-pub-section ">2500 <div class="misc-pub-section misc-pub-dimensions"> 2501 2501 <?php _e( 'Dimensions:' ); ?> <strong><?php echo $media_dims; ?></strong> 2502 2502 </div> 2503 2503 <?php -
wp-admin/edit-form-comment.php
85 85 86 86 <div id="misc-publishing-actions"> 87 87 88 <div class="misc-pub-section " id="comment-status-radio">88 <div class="misc-pub-section misc-pub-comment-status" id="comment-status-radio"> 89 89 <label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php /* translators: comment type radio button */ _ex('Approved', 'adjective') ?></label><br /> 90 90 <label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php /* translators: comment type radio button */ _ex('Pending', 'adjective') ?></label><br /> 91 91 <label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php /* translators: comment type radio button */ _ex('Spam', 'adjective'); ?></label> 92 92 </div> 93 93 94 <div class="misc-pub-section curtime ">94 <div class="misc-pub-section curtime misc-pub-curtime"> 95 95 <?php 96 96 // translators: Publish box date format, see http://php.net/date 97 97 $datef = __( 'M j, Y @ G:i' ); -
wp-admin/includes/template.php
1909 1909 $content = '<h3>' . __( 'Compare Revisions' ) . '</h3>'; 1910 1910 $content .= '<p>' . __( 'View, compare, and restore other versions of this content on the improved revisions screen.' ) . '</p>'; 1911 1911 1912 self::print_js( 'wp360_revisions', '.misc-pub-section. num-revisions', array(1912 self::print_js( 'wp360_revisions', '.misc-pub-section.misc-pub-revisions', array( 1913 1913 'content' => $content, 1914 1914 'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => 'center', 'my' => is_rtl() ? 'left' : 'right-14px' ), 1915 1915 ) );