WordPress.org

Make WordPress Core

Ticket #53857: 53857.patch

File 53857.patch, 591 bytes (added by Shital Patel, 2 months ago)

I found this line in js\media\views\attachments\browser.js. let me know if any changes.

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

     
    130130                        mediaFoundHasMoreResultsMessage = __( 'Number of media items displayed: %d. Scroll the page for more results.' );
    131131                }
    132132
    133                 if ( this.collection.mirroring.args.s ) {
     133                if ( this.collection.hasOwnProperty('mirroring') && this.collection.mirroring.args.s ) {
    134134                        count = this.collection.length;
    135135
    136136                        if ( 0 === count ) {