Changeset 10345 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 01/10/2009 03:10:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r10222 r10345 267 267 $tax_name = substr($box['id'], 8); 268 268 $taxonomy = get_taxonomy($tax_name); 269 if ( isset($taxonomy->helps) ) 270 $helps = attribute_escape($taxonomy->helps); 271 else 272 $helps = ''; 269 $helps = isset($taxonomy->helps) ? attribute_escape($taxonomy->helps) : __('Separate tags with commas.'); 273 270 ?> 274 271 <div class="tagsdiv" id="<?php echo $tax_name; ?>"> … … 277 274 <input type="hidden" name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]" value="<?php echo get_terms_to_edit( $post->ID, $tax_name ); ?>" /> 278 275 279 <span class="ajaxtag" style="display:none;">276 <span class="ajaxtag"> 280 277 <input type="text" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _e('Add new tag'); ?>" /> 281 278 <input type="button" class="button tagadd" value="<?php _e('Add'); ?>" tabindex="3" /> 282 279 </span> 283 < ?php echo $helps ? "<div class='howto'>$helps</div>" : ''; ?>280 <p class="howto"><?php echo $helps; ?></p> 284 281 </p> 285 282 <div class="tagchecklist"></div> … … 465 462 $hidden = get_hidden_meta_boxes('post'); 466 463 if ( ! in_array('commentstatusdiv', $hidden) ) { ?> 467 <script type="text/javascript"> commentsBox.get(<?php echo $total; ?>, 10);</script>464 <script type="text/javascript">jQuery(document).ready(function(){commentsBox.get(<?php echo $total; ?>, 10);});</script> 468 465 <?php 469 466 }
Note: See TracChangeset
for help on using the changeset viewer.