[wp-trac] [WordPress Trac] #33014: Inline documentation for wp_transition_post_status is unclear as to what it actually does.
WordPress Trac
noreply at wordpress.org
Thu Jul 16 14:34:44 UTC 2015
#33014: Inline documentation for wp_transition_post_status is unclear as to what it
actually does.
-------------------------------+---------------------------
Reporter: AramZS | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
-------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"33296"]:
{{{
#!CommitTicketReference repository="" revision="33296"
Improve function description for `wp_transition_post_status()`.
The documentation should make it clear that the function does not modify
the
post object in the database, but only fires hooks related to the
transition.
Props AramZS.
Fixes #33014.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33014#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list