WordPress.org

Make WordPress Core

Ticket #40608: titlefix.diff

File titlefix.diff, 1.0 KB (added by grosbouff, 3 years ago)
  • wp-admin/edit-form-advanced.php

    diff --git wp-admin/edit-form-advanced.php wp-admin/edit-form-advanced.php
    index 852b88c..1db095c 100644
    do_action( 'edit_form_top', $post ); ?> 
    545545<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
    546546<div id="post-body-content">
    547547
    548 <?php if ( post_type_supports($post_type, 'title') ) { ?>
    549548<div id="titlediv">
     549<?php if ( post_type_supports($post_type, 'title') ) { ?>
    550550<div id="titlewrap">
    551551        <?php
    552552        /**
    do_action( 'edit_form_top', $post ); ?> 
    563563        <input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off" />
    564564</div>
    565565<?php
     566}
    566567/**
    567568 * Fires before the permalink field in the edit form.
    568569 *
    wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); 
    605606?>
    606607</div><!-- /titlediv -->
    607608<?php
    608 }
     609
    609610/**
    610611 * Fires after the title field.
    611612 *