WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41934


Ignore:
Timestamp:
09/20/2017 06:09:57 PM (19 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41934 – Description

    initial v1  
    1 I propose adding a wp_is_bad_request function to load.php, as a way to allow plugin developers to short circuit code execution if the HTTP request that started the WordPress load process is considered a junk request. See: https://core.trac.wordpress.org/ticket/17246
     1I propose adding a wp_is_bad_request function to load.php, as a way to allow plugin developers to short circuit code execution if the HTTP request that started the WordPress load process is considered a junk request. See: #17246
    22
    33The existing wp_favicon_request (renamed to wp_favicon_request_x in test file) is re-written to use the proposed wp_is_bad_request function.