diff options
Diffstat (limited to '')
-rw-r--r-- | wp-admin/js/common.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 3de9447..af6cedc 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -354,6 +354,21 @@ window.setPostThumbnailL10n = window.setPostThumbnailL10n || { window.setPostThumbnailL10n = deprecateL10nObject( 'setPostThumbnailL10n', window.setPostThumbnailL10n, '5.5.0' ); /** + * Removed in 6.5.0, needed for back-compatibility. + * + * @since 4.5.0 + * @deprecated 6.5.0 + */ +window.uiAutocompleteL10n = window.uiAutocompleteL10n || { + noResults: '', + oneResult: '', + manyResults: '', + itemSelected: '' +}; + +window.uiAutocompleteL10n = deprecateL10nObject( 'uiAutocompleteL10n', window.uiAutocompleteL10n, '6.5.0' ); + +/** * Removed in 3.3.0, needed for back-compatibility. * * @since 2.7.0 @@ -1154,7 +1169,7 @@ $( function() { lastClicked = this; // Toggle the "Select all" checkboxes depending if the other ones are all checked or not. - var unchecked = $(this).closest('tbody').find(':checkbox').filter(':visible:enabled').not(':checked'); + var unchecked = $(this).closest('tbody').find('tr.iedit').find(':checkbox').filter(':visible:enabled').not(':checked'); /** * Determines if all checkboxes are checked. |