Add 'Unattached' filter for galleries.
props pento. fixes #29329. git-svn-id: https://develop.svn.wordpress.org/trunk@29722 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8cfdbf1167
commit
eb20eeaa60
|
@ -5618,6 +5618,16 @@
|
||||||
order: 'ASC'
|
order: 'ASC'
|
||||||
},
|
},
|
||||||
priority: 20
|
priority: 20
|
||||||
|
},
|
||||||
|
|
||||||
|
unattached: {
|
||||||
|
text: l10n.unattached,
|
||||||
|
props: {
|
||||||
|
uploadedTo: 0,
|
||||||
|
orderby: 'menuOrder',
|
||||||
|
order: 'ASC'
|
||||||
|
},
|
||||||
|
priority: 50
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue