WordPress.org

Make WordPress Core

Changeset 16571


Ignore:
Timestamp:
11/24/2010 05:27:11 PM (9 years ago)
Author:
ryan
Message:

Press This fixes. Props duck_. see #15561

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r16431 r16571  
    321321addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    322322var userSettings = {'url':'<?php echo SITECOOKIEPATH; ?>','uid':'<?php if ( ! isset($current_user) ) $current_user = wp_get_current_user(); echo $current_user->ID; ?>','time':'<?php echo time() ?>'};
    323 var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'press-this';
     323var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'press-this', isRtl = <?php echo (int) is_rtl(); ?>;
    324324var photostorage = false;
    325325//]]>
     
    331331    do_action('admin_head');
    332332
    333     if ( user_can_richedit() )
     333    if ( user_can_richedit() ) {
    334334        wp_tiny_mce( true, array( 'height' => '370' ) );
     335        wp_tiny_mce_preload_dialogs(); 
     336    }
    335337?>
    336338    <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.