Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#36728 closed defect (bug) (fixed)

wp_add_trashed_suffix_to_post_name_for_post does not document return

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


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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @Shelob9
7 years ago

  • Keywords has-patch added

#2 @netweb
7 years ago

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

#3 @SergeyBiryukov
7 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.