[wp-trac] [WordPress Trac] #36361: check_ajax_referer() lacks a _doing_it_wrong() call when the $action parameter is omitted

WordPress Trac noreply at wordpress.org
Tue Mar 29 02:11:32 UTC 2016


#36361: check_ajax_referer() lacks a _doing_it_wrong() call when the $action
parameter is omitted
-------------------------+----------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Security     |    Version:  3.2
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+----------------------------
 If the `$action` parameter is omitted when calling
 `check_admin_referer()`, a call to `_doing_it_wrong()` is triggered. See
 [18195].

 The same is not true for `check_ajax_referer()`.

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


More information about the wp-trac mailing list