[wp-trac] [WordPress Trac] #49478: get_post_type_object has the wrong type of validator for its parameter

WordPress Trac noreply at wordpress.org
Wed Feb 19 20:02:31 UTC 2020


#49478: get_post_type_object has the wrong type of validator for its parameter
-------------------------------+------------------------------
 Reporter:  kamilkecki         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.3.2
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+------------------------------
Changes (by sebastienserre):

 * Attachment "49748.diff" added.

 Change type of check to be sure params is a string

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49478>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list