WordPress.org

Make WordPress Core

Changeset 37334


Ignore:
Timestamp:
05/01/2016 10:15:51 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document the @return value of wp_add_trashed_suffix_to_post_name_for_post().

Props Shelob9.
Fixes #36728.

File:
1 edited

Legend:

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

    r37255 r37334  
    61136113
    61146114/**
    6115  * Adds a trashed suffix For a given post.
     6115 * Adds a trashed suffix for a given post.
    61166116 *
    61176117 * Store its desired (i.e. current) slug so it can try to reclaim it
     
    61246124 *
    61256125 * @param WP_Post $post The post.
     6126 * @return string New slug for the post.
    61266127 */
    61276128function wp_add_trashed_suffix_to_post_name_for_post( $post ) {
Note: See TracChangeset for help on using the changeset viewer.