Make WordPress Core


Ignore:
Timestamp:
12/06/2014 09:31:41 PM (11 years ago)
Author:
johnbillion
Message:

Improve various hook and filter docs so they are correctly parsed for the code reference.

Fixes #30558
Props DrewAPicture

File:
1 edited

Legend:

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

    r30705 r30754  
    465465     * @param WP_Post $post Post object.
    466466     */
     467    $title_placeholder = apply_filters( 'enter_title_here', __( 'Enter title here' ), $post );
    467468    ?>
    468     <label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
     469    <label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo $title_placeholder; ?></label>
    469470    <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" spellcheck="true" autocomplete="off" />
    470471</div>
Note: See TracChangeset for help on using the changeset viewer.