[wp-trac] [WordPress Trac] #54861: cache_javascript_headers() is not call by core

WordPress Trac noreply at wordpress.org
Thu Jan 20 01:11:39 UTC 2022


#54861: cache_javascript_headers() is not call by core
-------------------------------------+------------------------------
 Reporter:  pbearne                  |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+------------------------------

Comment (by dd32):

 Historical uses, unused since WP 2.5 (This is a grep over
 https://core.svn.wordpress.org/branches/)

 {{{
 ./2.3/wp-includes/js/tinymce/tiny_mce_config.php:
 cache_javascript_headers();

 ./2.2/wp-includes/js/tinymce/tiny_mce_config.php:
 cache_javascript_headers();

 ./2.1/wp-includes/js/list-manipulation-js.php:<?php @require_once
 ('../../wp-config.php'); cache_javascript_headers(); ?>
 ./2.1/wp-includes/js/wp-ajax-js.php:<?php @require_once('../../wp-
 config.php'); cache_javascript_headers(); ?>
 ./2.1/wp-includes/js/autosave-js.php:cache_javascript_headers();
 ./2.1/wp-includes/js/tinymce/tiny_mce_config.php:
 cache_javascript_headers();
 ./2.1/wp-admin/cat-js.php:cache_javascript_headers();
 ./2.1/wp-admin/dbx-admin-key-js.php:cache_javascript_headers();
 ./2.1/wp-admin/upload-js.php:<?php require_once('admin.php');
 cache_javascript_headers(); ?>
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54861#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list