Remove trailing whites

git-svn-id: http://svn.automattic.com/wordpress/trunk@15259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-06-14 23:39:35 +00:00
parent 6423bfd5db
commit 15bbb301b4
3 changed files with 9 additions and 9 deletions

View File

@ -1282,9 +1282,9 @@ case 'inline-save-tax':
die( $tag->get_error_message() ); die( $tag->get_error_message() );
die( __('Item not updated.') ); die( __('Item not updated.') );
} }
set_current_screen( 'edit-' . $taxonomy ); set_current_screen( 'edit-' . $taxonomy );
echo _tag_row($tag, 0, $taxonomy); echo _tag_row($tag, 0, $taxonomy);
} else { } else {
if ( is_wp_error($updated) && $updated->get_error_message() ) if ( is_wp_error($updated) && $updated->get_error_message() )

View File

@ -330,9 +330,9 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
$classes[] = 'current-menu-item'; $classes[] = 'current-menu-item';
$_anc_id = (int) $menu_item->db_id; $_anc_id = (int) $menu_item->db_id;
while( while(
( $_anc_id = get_post_meta( $_anc_id, '_menu_item_menu_item_parent', true ) ) && ( $_anc_id = get_post_meta( $_anc_id, '_menu_item_menu_item_parent', true ) ) &&
! in_array( $_anc_id, $active_ancestor_item_ids ) ! in_array( $_anc_id, $active_ancestor_item_ids )
) { ) {
$active_ancestor_item_ids[] = $_anc_id; $active_ancestor_item_ids[] = $_anc_id;
} }
@ -355,9 +355,9 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
$classes[] = 'current-menu-item'; $classes[] = 'current-menu-item';
$_anc_id = (int) $menu_item->db_id; $_anc_id = (int) $menu_item->db_id;
while( while(
( $_anc_id = get_post_meta( $_anc_id, '_menu_item_menu_item_parent', true ) ) && ( $_anc_id = get_post_meta( $_anc_id, '_menu_item_menu_item_parent', true ) ) &&
! in_array( $_anc_id, $active_ancestor_item_ids ) ! in_array( $_anc_id, $active_ancestor_item_ids )
) { ) {
$active_ancestor_item_ids[] = $_anc_id; $active_ancestor_item_ids[] = $_anc_id;
} }

View File

@ -254,7 +254,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
else else
$orig_line = ''; $orig_line = '';
if ( isset( $final_diffs[$final_rows[$row]] ) ) if ( isset( $final_diffs[$final_rows[$row]] ) )
$final_line = $final_diffs[$final_rows[$row]]; $final_line = $final_diffs[$final_rows[$row]];
elseif ( isset( $final[$final_rows[$row]] ) ) elseif ( isset( $final[$final_rows[$row]] ) )
$final_line = htmlspecialchars($final[$final_rows[$row]]); $final_line = htmlspecialchars($final[$final_rows[$row]]);