[wp-trac] [WordPress Trac] #33491: Scrutinizer in 4.4

WordPress Trac noreply at wordpress.org
Fri Aug 21 18:12:58 UTC 2015


#33491: Scrutinizer in 4.4
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.4
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"33697"]:
 {{{
 #!CommitTicketReference repository="" revision="33697"
 In `wp_ajax_add_meta()`, do not juggle the value of `$_POST` and alter it
 directly. This was done so that `edit_post()` could pull `$_POST` out of
 the air by-reference and alter it (equally as bad). `edit_post()` accepts
 a `$post_data` array. Do that instead.

 See #33491.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33491#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list