WordPress.org

Make WordPress Core

Ticket #9427: qcop-r00-admin-dashboard.patch

File qcop-r00-admin-dashboard.patch, 1.0 KB (added by hakre, 5 years ago)

dashboard errors

  • wp-admin/includes/dashboard.php

     
    368368        $post = get_default_post_to_edit(); 
    369369?> 
    370370 
    371         <form name="post" action="<?php echo clean_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press"> 
    372                 <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4> 
     371        <form name="quick-press" action="<?php echo clean_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press"> 
     372                <h4 id="quick-post-title"><label for="post_title"><?php _e('Title') ?></label></h4> 
    373373                <div class="input-text-wrap"> 
    374                         <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attribute_escape( $post->post_title ); ?>" /> 
     374                        <input type="text" name="post_title" id="post_title" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" /> 
    375375                </div> 
    376376 
    377377                <?php if ( current_user_can( 'upload_files' ) ) : ?>