Allow bookmarks to be ordered by link_description
in get_bookmarks()
.
Fixes #29763. git-svn-id: https://develop.svn.wordpress.org/trunk@29778 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d1fe8a8152
commit
0fe756a461
@ -250,7 +250,7 @@ function get_bookmarks( $args = '' ) {
|
||||
break;
|
||||
default:
|
||||
$orderparams = array();
|
||||
$keys = array( 'link_id', 'link_name', 'link_url', 'link_visible', 'link_rating', 'link_owner', 'link_updated', 'link_notes' );
|
||||
$keys = array( 'link_id', 'link_name', 'link_url', 'link_visible', 'link_rating', 'link_owner', 'link_updated', 'link_notes', 'link_description' );
|
||||
foreach ( explode( ',', $orderby ) as $ordparam ) {
|
||||
$ordparam = trim( $ordparam );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user