Changeset 21191
- Timestamp:
- 06/30/2012 09:00:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r21071 r21191 1405 1405 wp_die( __( 'Item not updated.' ) ); 1406 1406 } 1407 1408 echo $wp_list_table->single_row( $tag );1409 1407 } else { 1410 1408 if ( is_wp_error($updated) && $updated->get_error_message() ) … … 1412 1410 wp_die( __( 'Item not updated.' ) ); 1413 1411 } 1414 1412 $level = 0; 1413 $parent = $tag->parent; 1414 while ( $parent > 0 ) { 1415 $parent_tag = get_term( $parent, $taxonomy ); 1416 $parent = $parent_tag->parent; 1417 $level++; 1418 } 1419 echo $wp_list_table->single_row( $tag, $level ); 1415 1420 wp_die(); 1416 1421 }
Note: See TracChangeset
for help on using the changeset viewer.