CoreFiles by mySites.guru
load-styles.php17 lines, 597 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
bc301135cfd0053af8fdc4c8c87868ee
sha1
c654716fc165d31c92d87ef5b5c053951dda0574
sha256
bc8ede7da73e46cb47fa81e52a4da72857ec853f33ea6f28918957a96e0f9ca0
<?php
/**
 * Formerly concatenated the core styles named in the `load` query parameter.
 *
 * Styles 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 Styles are no longer concatenated.
 */

http_response_code( 410 );
header( 'Content-Type: text/plain; charset=UTF-8' );
echo 'Styles 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.