Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#54861 new enhancement

cache_javascript_headers() is not call by core

Reported by: pbearne's profile pbearne Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9
Component: General Keywords: needs-patch 2nd-opinion
Focuses: Cc:

Description

I can't where this function is used in core should we move it to depicted if its not being used?

Change History (1)

#1 @dd32
2 years ago

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(); ?>
Version 0, edited 2 years ago by dd32 (next)
Note: See TracTickets for help on using tickets.