[wp-trac] [WordPress Trac] #55877: wp_insert_post() should check that a post type exists before using it
WordPress Trac
noreply at wordpress.org
Mon May 30 16:26:50 UTC 2022
#55877: wp_insert_post() should check that a post type exists before using it
-------------------------------+------------------------------
Reporter: Chouby | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+------------------------------
Changes (by Chouby):
* keywords: => has-patch
Comment:
The proposed patch fixes the PHP error still maintaining the possibility
to insert post of invalid post types.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55877#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list