[wp-trac] [WordPress Trac] #45122: Creating/Updating posts via REST API should be handled the same way as done via /wp-admin screen
WordPress Trac
noreply at wordpress.org
Thu Oct 18 16:10:21 UTC 2018
#45122: Creating/Updating posts via REST API should be handled the same way as done
via /wp-admin screen
----------------------------+------------------------------
Reporter: manzoorwani.jk | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.9.8
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
----------------------------+------------------------------
Comment (by manzoorwani.jk):
Why ca't we prepare the post data array before calling `wp_insert_post`
and then let it handle everything?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45122#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list