mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Thwart the browser cache by versioning tinyMCE. Props to that Andy guy. fixes #2658
git-svn-id: https://develop.svn.wordpress.org/trunk@3703 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1033,8 +1033,8 @@ function do_all_pings() {
|
||||
* Places two script links in <head>: one to get tinyMCE (big), one to configure and start it (small)
|
||||
*/
|
||||
function tinymce_include() {
|
||||
$src1 = get_settings('siteurl') . '/wp-includes/js/tinymce/tiny_mce_gzip.php';
|
||||
$src2 = get_settings('siteurl') . '/wp-includes/js/tinymce/tiny_mce_config.php';
|
||||
$src1 = get_settings('siteurl') . '/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=04122006';
|
||||
$src2 = get_settings('siteurl') . '/wp-includes/js/tinymce/tiny_mce_config.php?ver=04122006';
|
||||
|
||||
echo "<script type='text/javascript' src='$src1'></script>\n";
|
||||
echo "<script type='text/javascript' src='$src2'></script>\n";
|
||||
|
||||
Reference in New Issue
Block a user