wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

short-circuit WordPress processing for requests of missing files

Open RobertP3469 opened this issue 7 months ago • 2 comments

  1. Added new function 'wp_is_file_request()' to wp-includes/functions.php
  2. Added check at top of wp-includes/template-loader.php to prevent unnecessary processing when a missing file is being requested.

Trac ticket: https://core.trac.wordpress.org/ticket/63111


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

RobertP3469 avatar Mar 16 '25 06:03 RobertP3469