[wp-trac] [WordPress Trac] #57553: Problem in load WordPress.
WordPress Trac
noreply at wordpress.org
Wed Jan 25 15:53:44 UTC 2023
#57553: Problem in load WordPress.
----------------------------+-----------------------------
Reporter: mahbubmr500 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 6.1.1
Severity: normal | Keywords: has-patch
Focuses: |
----------------------------+-----------------------------
When i define('WP_DEBUG_DISPLAY', true); in config.wp. it will not effect
in load.php in wp-includes folder. When any ajax error in face it will
return me 500 Internal Server Error but not show detain in my Network.
After that when i change **488** line in l**oad.php**, (
'**display_errors', 0** ) to ( **'display_errors', 1** ) in 0 to 1 than i
got my error point. I hope most of the Developer face problem in this line
here we can add a filter hook that any one can change if any one, may be
the hook looks like, ( **ini_set( 'display_errors', apply_filters(
'wp_display_ajax_errors', 0 )** );)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57553>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list