[wp-trac] [WordPress Trac] #41934: Update load.php with wp_is_bad_request function

WordPress Trac noreply at wordpress.org
Tue Sep 17 18:56:50 UTC 2024


#41934: Update load.php with wp_is_bad_request function
----------------------------+------------------------------
 Reporter:  rpayne7264      |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bootstrap/Load  |     Version:  4.9
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------
Changes (by rpayne7264):

 * keywords:  close =>


Comment:

 The benefits of this proposed function is so that there is a core function
 that everyone can use to check if the WordPress site is being loaded due
 to a missing script file or missing image file or missing css file.
 WordPress re-loads the webpage for each occurrence of a missing script
 file or missing image file or missing css file. That needs to be
 addressed. The proposed function is akin to already-existing functions
 like wp_doing_ajax and wp_is_json_request.

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


More information about the wp-trac mailing list