[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:21 UTC 2015


#33014: Inline documentation for wp_transition_post_status is unclear as to what it
actually does.
-------------------------------+--------------------
 Reporter:  AramZS             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.3
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+--------------------

Comment (by kraftbj):

 Thanks to the patch! As for SVN best practice, it's best to create the
 patch from the SVN root so it picks up the full path. With post.php.patch,
 it isn't clear what "post.php" file we're needing to patch.

 If `svn diff > ../33014.patch` from the svn root, it'll pick up the full
 `src/wp-admin/includes/whatever-the-path/post.php`. It's helpful to reduce
 confusion and those that use the `grunt patch:33014` method to apply
 patches.

 Thanks again! I'll defer to the Docs maintainers for commenting on the
 patch itself. Without verifying the report, it sounds like an useful
 clarification.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33014#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list