[wp-trac] [WordPress Trac] #37490: Improve capability checks in wp_ajax_update_plugin() and wp_ajax_delete_plugin()

WordPress Trac noreply at wordpress.org
Wed Jul 27 17:40:56 UTC 2016


#37490: Improve capability checks in wp_ajax_update_plugin() and
wp_ajax_delete_plugin()
--------------------------+-------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.6
Component:  Plugins       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-------------------
 Looking at [37714] and noticed that the cap checks for both mentioned
 functions can be slightly improved so they match the other Ajax handlers
 like `wp_ajax_delete_theme()` or `wp_ajax_install_plugin()`.

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


More information about the wp-trac mailing list