[wp-trac] [WordPress Trac] #46418: Use wp_die() instead of die() function in wordpress
WordPress Trac
noreply at wordpress.org
Sun Apr 5 19:16:12 UTC 2020
#46418: Use wp_die() instead of die() function in wordpress
------------------------------+-----------------------------
Reporter: immeet94 | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Comment (by garrett-eclipse):
Thanks @immeet94 taking a look one thing to be cautious about is when
wp_die the function becomes available which is in wp-
includes/functions.php. In index.php the wp-includes/load.php is required
before the functions one so the changes there may fail so I would ensure
especially the changes in wp-includes/load.php are tested thoroughly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46418#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list