[wp-trac] [WordPress Trac] #38151: die() instead of wp_die() ?

WordPress Trac noreply at wordpress.org
Tue Sep 27 15:28:16 UTC 2016


#38151: die() instead of wp_die() ?
------------------------------+----------------------------------------
 Reporter:  imath             |       Owner:  jeremyfelt
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Users             |     Version:  3.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration, multisite
------------------------------+----------------------------------------
Changes (by jeremyfelt):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Commit [38656] missed the ticket because I missed the `#`:

 Multisite: Replace `die()` with `wp_die()` in site users list table.

 `wp_die()` is available and appropriate when checking capabilities while
 processing list table actions.

 Props imath.

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


More information about the wp-trac mailing list