From e859050b34a7fdea160b3e84378a25a6916c650e Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 28 Jan 2017 17:00:39 +0000 Subject: [PATCH] Plugins: Remove trailing pipe symbol in sub navigation after updating the last plugin. Props sagarprajapati. Fixes #39655. git-svn-id: https://develop.svn.wordpress.org/trunk@40025 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/updates.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/js/updates.js b/src/wp-admin/js/updates.js index 0a09e41600..028a852eae 100644 --- a/src/wp-admin/js/updates.js +++ b/src/wp-admin/js/updates.js @@ -319,6 +319,7 @@ $( '.subsubsub .upgrade .count' ).text( '(' + itemCount + ')' ); } else { $( '.subsubsub .upgrade' ).remove(); + $( '.subsubsub li:last' ).html( function() { return $( this ).children(); } ); } };