[wp-trac] [WordPress Trac] #33118: Don't assume the $post is an array in sanitize_post().
WordPress Trac
noreply at wordpress.org
Sat Sep 12 17:05:37 UTC 2015
#33118: Don't assume the $post is an array in sanitize_post().
-----------------------------------+-----------------------------
Reporter: morganestes | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version: 2.5
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------------
Changes (by kitchin):
* keywords: has-patch => has-patch 2nd-opinion
Comment:
Seems to me there should be an `else $post = null` if this is a
sanitization function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33118#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list