Make WordPress Core


Ignore:
Timestamp:
12/29/2013 08:05:50 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Always show Background Image section heading and the opening table tag on Custom Background screen, to make in consistent with Custom Header and avoid broken markup.

props obenland.
fixes #26731.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-header.php

    r26868 r26878  
    451451
    452452<div class="wrap">
    453 <h2><?php _e('Custom Header'); ?></h2>
     453<h2><?php _e( 'Custom Header' ); ?></h2>
    454454
    455455<?php if ( ! empty( $this->updated ) ) { ?>
     
    468468<th scope="row"><?php _e( 'Preview' ); ?></th>
    469469<td>
    470     <?php if ( $this->admin_image_div_callback ) {
    471       call_user_func( $this->admin_image_div_callback );
     470    <?php
     471    if ( $this->admin_image_div_callback ) {
     472        call_user_func( $this->admin_image_div_callback );
    472473    } else {
    473474        $custom_header = get_custom_header();
Note: See TracChangeset for help on using the changeset viewer.