Make WordPress Core

Ticket #29065: 29065.diff

File 29065.diff, 1.9 KB (added by wonderboymusic, 11 years ago)
  • src/wp-includes/js/media-views.js

     
    56065606                                                order:   'ASC'
    56075607                                        },
    56085608                                        priority: 20
     5609                                },
     5610
     5611                                unattached: {
     5612                                        text:  l10n.unattached,
     5613                                        props: {
     5614                                                uploadedTo: 0,
     5615                                                type:       null,
     5616                                                orderby:    'menuOrder',
     5617                                                order:      'ASC'
     5618                                        },
     5619                                        priority: 20
    56095620                                }
    56105621                        };
    56115622                }
     
    56565667                                        order:   'ASC'
    56575668                                },
    56585669                                priority: 20
     5670                        },
     5671
     5672                        filters.unattached = {
     5673                                text:  l10n.unattached,
     5674                                props: {
     5675                                        uploadedTo: 0,
     5676                                        type:       null,
     5677                                        orderby:    'menuOrder',
     5678                                        order:      'ASC'
     5679                                },
     5680                                priority: 20
    56595681                        };
    56605682
    56615683                        this.filters = filters;
     
    56955717                                        order:   'DESC'
    56965718                                },
    56975719                                priority: 10
     5720                        },
     5721
     5722                        filters.unattached = {
     5723                                text:  l10n.unattached,
     5724                                props: {
     5725                                        uploadedTo: 0,
     5726                                        type:       null,
     5727                                        orderby:    'menuOrder',
     5728                                        order:      'ASC'
     5729                                },
     5730                                priority: 20
    56985731                        };
    56995732
    57005733                        this.filters = filters;
  • src/wp-includes/media.php

     
    29232923                'allDates'               => __( 'All dates' ),
    29242924                'noItemsFound'           => __( 'No items found.' ),
    29252925                'insertIntoPost'         => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ),
     2926                'unattached'             => __( 'Unattached' ),
    29262927                'uploadedToThisPost'     => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),
    29272928                'warnDelete'             => __( "You are about to permanently delete this item.\n  'Cancel' to stop, 'OK' to delete." ),
    29282929                'warnBulkDelete'         => __( "You are about to permanently delete these items.\n  'Cancel' to stop, 'OK' to delete." ),