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:
Ryan Boren
2006-04-13 02:57:25 +00:00
parent 97a795b914
commit 2aece33f8b
4 changed files with 59 additions and 16 deletions
+2 -2
View File
@@ -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";