Changeset 14054
- Timestamp:
- 04/10/2010 11:54:33 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r14039 r14054 64 64 <p class="inline-edit-save submit"> 65 65 <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a> 66 <?php $update_text = ( 'post_tag' == $taxonomy ) ? __( 'Update Tag' ) : __( 'Update Category'); ?>66 <?php $update_text = sprintf( __('Update %s'), $tax->singular_label ); ?> 67 67 <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> 68 68 <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> -
trunk/wp-includes/post.php
r14053 r14054 675 675 if ( is_string($post) && $is_post_type = get_post_type_object($post) ) 676 676 return $is_post_type->hierarchical; 677 677 678 678 $ptype = get_post( $post ); 679 679 if ( $ptype && $is_post_type = get_post_type_object($ptype->post_type) ) 680 680 return $is_post_type->hierarchical; 681 681 682 682 return false; 683 683 }
Note: See TracChangeset
for help on using the changeset viewer.