WordPress.org

Make WordPress Core

Changeset 16247


Ignore:
Timestamp:
11/09/10 00:49:19 (6 years ago)
Author:
nacin
Message:

enter_title_here filter. fixes #13386.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r15746 r16247  
    238238<div id="titlediv"> 
    239239<div id="titlewrap"> 
    240     <label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?php _e('Enter title here') ?></label> 
     240    <label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label> 
    241241    <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 
    242242</div> 
Note: See TracChangeset for help on using the changeset viewer.