WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#36728 closed defect (bug) (fixed)

wp_add_trashed_suffix_to_post_name_for_post does not document return

Reported by: Shelob9 Owned by: SergeyBiryukov
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.5
Component: Posts, Post Types Keywords: has-patch commit
Focuses: docs Cc:

Description

This function returns the new slug, but that is not documented.

Attachments (1)

36728.diff (422 bytes) - added by Shelob9 4 years ago.

Download all attachments as: .zip

Change History (4)

@Shelob9
4 years ago

#1 @Shelob9
4 years ago

  • Keywords has-patch added

#2 @netweb
4 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 4.6

#3 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 37334:

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

Props Shelob9.
Fixes #36728.

Note: See TracTickets for help on using tickets.