Make WordPress Core


Ignore:
Timestamp:
05/10/2013 02:53:34 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Update _post_formats_fix_empty_title() description. Make it clear that 'wp_insert_post_data' is a filter, not an action. props DrewAPicture. fixes #24303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-formats.php

    r24226 r24233  
    980980
    981981/**
    982  * Runs during save_post, fixes empty titles for asides and statuses.
     982 * Fixes empty titles for aside and status formats.
     983 *
     984 * Passes a generated post title to the 'wp_insert_post_data' filter.
    983985 *
    984986 * @since 3.6.0
    985987 * @access private
     988 *
     989 * @uses _post_formats_generate_title()
    986990 */
    987991function _post_formats_fix_empty_title( $data, $postarr ) {
Note: See TracChangeset for help on using the changeset viewer.