[wp-trac] [WordPress Trac] #24957: Missing argument in wp_publish_post()
WordPress Trac
noreply at wordpress.org
Mon Aug 5 15:50:59 UTC 2013
#24957: Missing argument in wp_publish_post()
--------------------------+-----------------------------
Reporter: wpsmith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
In light of [24823] and #21450, we need to pass a third argument in
wp_publish_post() when calling `save_post` and `wp_insert_post`.
Essentially `wp_publish_post()` is updating, so the third arg would be
`true`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24957>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list