WordPress.org

Make WordPress Core

Ticket #9501: unnessesary.bold.tag.remove.patch

File unnessesary.bold.tag.remove.patch, 1.8 KB (added by simek, 9 years ago)

now we don't need "bold" HTML tag here

  • edit-form-advanced.php

     
    104104<div id="misc-publishing-actions">
    105105
    106106<div class="misc-pub-section<?php if ( !$can_publish ) { echo '  misc-pub-section-last'; } ?>"><label for="post_status"><?php _e('Status:') ?></label>
    107 <b><span id="post-status-display">
     107<span id="post-status-display">
    108108<?php
    109109switch ( $post->post_status ) {
    110110        case 'private':
     
    124124                break;
    125125}
    126126?>
    127 </span></b>
     127</span>
    128128<?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?>
    129129<a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    130130
     
    149149</div><?php // /misc-pub-section ?>
    150150
    151151<div class="misc-pub-section " id="visibility">
    152 <?php _e('Visibility:'); ?> <b><span id="post-visibility-display"><?php
     152<?php _e('Visibility:'); ?> <span id="post-visibility-display"><?php
    153153
    154154if ( 'private' == $post->post_status ) {
    155155        $post->post_password = '';
     
    166166        $visibility_trans = __('Public');
    167167}
    168168
    169 ?><?php echo wp_specialchars( $visibility_trans ); ?></span></b> <?php if ( $can_publish ) { ?> <a href="#visibility" class="edit-visibility hide-if-no-js"><?php _e('Edit'); ?></a>
     169?><?php echo wp_specialchars( $visibility_trans ); ?></span> <?php if ( $can_publish ) { ?> <a href="#visibility" class="edit-visibility hide-if-no-js"><?php _e('Edit'); ?></a>
    170170
    171171<div id="post-visibility-select" class="hide-if-js">
    172172<input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo attribute_escape($post->post_password); ?>" />