[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/ -> load-scripts.php (source)

   1  <?php
   2  /**
   3   * Formerly concatenated the core scripts named in the `load` query parameter.
   4   *
   5   * Scripts are no longer concatenated, so this file now only responds with 410 Gone, for code
   6   * that still links to it directly. WordPress is not loaded, so that requests from bots and stale
   7   * links cost next to nothing and do not trigger deprecation notices.
   8   *
   9   * @package WordPress
  10   * @subpackage Administration
  11   * @deprecated 7.2.0 Scripts are no longer concatenated.
  12   */
  13  
  14  http_response_code( 410 );
  15  header( 'Content-Type: text/plain; charset=UTF-8' );
  16  echo 'Scripts are no longer concatenated.';
  17  exit;


Generated : Thu Oct 29 08:20:35 2026 Cross-referenced by PHPXref