Skip to content

Commit 5f76eee

Browse files
committed
Fix bug intentionally re-introduced for testing purposes.
1 parent 76feef1 commit 5f76eee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/js/media/views/attachments/browser.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.pro
242242

243243
// DateFilter is a <select>, a label element needs to be rendered before.
244244
// Re-introduce the bug fixed in https://core.trac.wordpress.org/changeset/62851 for axe-core testing purposes.
245-
this.toolbar.set( 'dateFilter', new wp.media.view.Label({
245+
this.toolbar.set( 'dateFilterLabel', new wp.media.view.Label({
246246
value: l10n.filterByDate,
247247
attributes: {
248248
'for': 'media-attachment-date-filters'

0 commit comments

Comments
 (0)