Changeset 29435
- Timestamp:
- 08/07/2014 08:24:25 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r29434 r29435 5717 5717 template: media.template( 'media-library-view-switcher') 5718 5718 }); 5719 5719 5720 this.toolbar.set( 'libraryViewSwitcher', new LibraryViewSwitcher({ 5720 5721 controller: this.controller, … … 5722 5723 }).render() ); 5723 5724 5725 // BulkSelection is a <div> with subviews, including screen reader text 5724 5726 this.toolbar.set( 'bulkSelection', new media.view.BulkSelection({ 5725 5727 controller: this.controller, 5726 5728 priority: -70 5729 }).render() ); 5730 5731 // DateFilter is a <select>, screen reader text needs to be rendered before 5732 this.toolbar.set( 'dateFilterLabel', new media.view.Label({ 5733 value: l10n.filterByDate, 5734 attributes: { 5735 'for': 'media-attachment-date-filters' 5736 }, 5737 priority: -75 5727 5738 }).render() ); 5728 5739 this.toolbar.set( 'dateFilter', new media.view.DateFilter({ … … 6584 6595 render: function() { 6585 6596 this.$el.html( this.value ); 6597 6598 return this; 6586 6599 } 6587 6600 }); -
trunk/src/wp-includes/media.php
r29434 r29435 2941 2941 'deletePermanently' => __( 'Delete Permanently' ), 2942 2942 'apply' => __( 'Apply' ), 2943 'filterByDate' => __( 'Filter by date' ), 2943 2944 2944 2945 // Library Details
Note: See TracChangeset
for help on using the changeset viewer.