[wp-trac] [WordPress Trac] #21963: Consolidate post insertion APIs
WordPress Trac
noreply at wordpress.org
Fri May 23 16:39:57 UTC 2014
#21963: Consolidate post insertion APIs
-------------------------------------------------+-------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version:
Keywords: has-patch needs-unit-tests | Resolution:
3.6-early | Focuses:
-------------------------------------------------+-------------------------
Comment (by wonderboymusic):
[attachment:21963.3.diff 21963.3.diff] makes `wp_insert_attachment()` a
wrapper for `wp_insert_post()`. I am fairly confident all is good, plus I
messed with them both a lot last week during #22400, but I will wait for
someone else to chime in.
All unit tests pass.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21963#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list