Make WordPress Core

Opened 18 months ago

Last modified 13 months ago

#57553 new enhancement

Problem in load WordPress.

Reported by: mahbubmr500's profile mahbubmr500 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.1.1
Component: Bootstrap/Load Keywords: has-patch
Focuses: Cc:

Description

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 load.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 ) );)

Attachments (1)

load.php (49.9 KB) - added by mahbubmr500 18 months ago.
Ticket track: https://core.trac.wordpress.org/ticket/57553

Download all attachments as: .zip

Change History (3)

This ticket was mentioned in PR #3919 on WordPress/wordpress-develop by @mahbubmr500.


18 months ago
#1

Track ticket : https://core.trac.wordpress.org/ticket/57553

Trac ticket:

This ticket was mentioned in Slack in #core by mahbubmr500. View the logs.


13 months ago

Note: See TracTickets for help on using tickets.