Make WordPress Core

Ticket #22333: 22333.2.patch

File 22333.2.patch, 2.3 KB (added by nofearinc, 11 years ago)

adding classes to all misc boxes

  • wp-admin/includes/meta-boxes.php

     
    5555
    5656<div id="misc-publishing-actions">
    5757
    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>
    5959<span id="post-status-display">
    6060<?php
    6161switch ( $post->post_status ) {
     
    105105<?php } ?>
    106106</div><!-- .misc-pub-section -->
    107107
    108 <div class="misc-pub-section" id="visibility">
     108<div class="misc-pub-section misc-pub-visibility" id="visibility">
    109109<?php _e('Visibility:'); ?> <span id="post-visibility-display"><?php
    110110
    111111if ( 'private' == $post->post_status ) {
     
    174174if ( ! empty( $args['args']['revisions_count'] ) ) :
    175175        $revisions_to_keep = wp_revisions_to_keep( $post );
    176176?>
    177 <div class="misc-pub-section num-revisions">
     177<div class="misc-pub-section num-revisions misc-pub-revisions">
    178178<?php
    179179        if ( $revisions_to_keep > 0 && $revisions_to_keep <= $args['args']['revisions_count'] ) {
    180180                echo '<span title="' . esc_attr( sprintf( __( 'Your site is configured to keep only the last %s revisions.' ),
     
    190190<?php endif;
    191191
    192192if ( $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">
    194194        <span id="timestamp">
    195195        <?php printf($stamp, $date); ?></span>
    196196        <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a>
     
    278278        $stamp = __('Uploaded on: <b>%1$s</b>');
    279279        $date = date_i18n( $datef, strtotime( $post->post_date ) );
    280280        ?>
    281         <div class="misc-pub-section curtime">
     281        <div class="misc-pub-section curtime misc-pub-curtime">
    282282                <span id="timestamp"><?php printf($stamp, $date); ?></span>
    283283        </div><!-- .misc-pub-section -->
    284284
     
    702702</div>
    703703
    704704<div id="misc-publishing-actions">
    705 <div class="misc-pub-section">
     705<div class="misc-pub-section misc-pub-private">
    706706        <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>
    707707</div>
    708708</div>