Make WordPress Core


Ignore:
Timestamp:
10/14/2009 07:30:10 AM (16 years ago)
Author:
azaozz
Message:

Fix tags and categories postboxes in PressThis

File:
1 edited

Legend:

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

    r11994 r12030  
    339339addLoadEvent = 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();}}};
    340340var 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() ?>'};
    341 var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
     341var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'press-this';
    342342//]]>
    343343</script>
     
    506506                            <label class="screen-reader-text" for="newtag"><?php _e('Post Tags'); ?></label>
    507507                            <input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" />
    508                             <span class="ajaxtag" style="display:none;">
    509                                 <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" />
     508                            <div class="ajaxtag">
     509                                <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    510510                                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" />
    511                             </span>
     511                                <div class="taghint"><?php _e('Add new tag'); ?></div>
     512                            </div>
    512513                        </p>
    513514                        <div class="tagchecklist"></div>
Note: See TracChangeset for help on using the changeset viewer.