[wp-trac] [WordPress Trac] #46418: Use wp_die() instead of die() function in wordpress

WordPress Trac noreply at wordpress.org
Sat Nov 16 23:14:54 UTC 2019


#46418: Use wp_die() instead of die() function in wordpress
------------------------------+-----------------------------
 Reporter:  immeet94          |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  reviewing
 Priority:  normal            |   Milestone:  5.4
Component:  Administration    |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by garrett-eclipse):

 * keywords:  has-patch needs-testing => has-patch commit


Comment:

 Thanks for testing @sncoker I uploaded
 [https://core.trac.wordpress.org/attachment/ticket/46418/46418.3.diff
 46418.3.diff] just because the offset was starting to get larger.

 Marking for committer review, @SergeyBiryukov I see you were just looking
 at this as well, will leave in your hands.

 Sidenote - In the affected lines I noticed the use of sub-class and over-
 ridden which are incorrect and should be subclass and overridden. To
 address this I've setup #48676 as those strings are seen in several other
 files as well so best to address seperately.

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


More information about the wp-trac mailing list