CoreFiles by mySites.guru
load-scripts.php17 lines, 601 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
db8b33137e01c903f07e05ef69570995
sha1
3a998670f9bc3c31be03eea35d3a1c015a643edb
sha256
c1cda21c4dddeb2ff82de2a3bbdf3686603fa0e6b4c1515a36fbf7530a3e70eb
<?php
/**
 * Formerly concatenated the core scripts named in the `load` query parameter.
 *
 * Scripts are no longer concatenated, so this file now only responds with 410 Gone, for code
 * that still links to it directly. WordPress is not loaded, so that requests from bots and stale
 * links cost next to nothing and do not trigger deprecation notices.
 *
 * @package WordPress
 * @subpackage Administration
 * @deprecated 7.2.0 Scripts are no longer concatenated.
 */

http_response_code( 410 );
header( 'Content-Type: text/plain; charset=UTF-8' );
echo 'Scripts are no longer concatenated.';
exit;

The same content is in 5 releases, WordPress 7.2-beta1 to 7.2-beta5. See them all, or every version of this file.