Make WordPress Core


Ignore:
Timestamp:
05/22/2006 05:16:05 PM (20 years ago)
Author:
ryan
Message:

Script loader from mdawaffe. #2701

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-post.php

    r3787 r3788  
    10411041
    10421042/**
    1043  * Places two script links in <head>: one to get tinyMCE (big), one to configure and start it (small)
    1044  */
    1045 function tinymce_include() {
    1046     $ver = '04162006';
    1047     $src1 = get_settings('siteurl') . "/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=$ver";
    1048     $src2 = get_settings('siteurl') . "/wp-includes/js/tinymce/tiny_mce_config.php?ver=$ver";
    1049 
    1050     echo "<script type='text/javascript' src='$src1'></script>\n";
    1051     echo "<script type='text/javascript' src='$src2'></script>\n";
    1052 }
    1053 
    1054 /**
    10551043 * Places a textarea according to the current user's preferences, filled with $content.
    10561044 * Also places a script block that enables tabbing between Title and Content.
Note: See TracChangeset for help on using the changeset viewer.