Make WordPress Core


Ignore:
Timestamp:
08/22/2013 03:23:41 PM (11 years ago)
Author:
helen
Message:

Add more descriptive classes to submit meta box sections. props nofearinc. fixes #22333.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r25035 r25083  
    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
     
    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
     
    175175    $revisions_to_keep = wp_revisions_to_keep( $post );
    176176?>
    177 <div class="misc-pub-section num-revisions">
     177<div class="misc-pub-section misc-pub-revisions">
    178178<?php
    179179    if ( $revisions_to_keep > 0 && $revisions_to_keep <= $args['args']['revisions_count'] ) {
     
    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>
     
    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 -->
     
    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>
Note: See TracChangeset for help on using the changeset viewer.