WordPress.org

Make WordPress Core

Changeset 29778


Ignore:
Timestamp:
09/29/2014 03:11:55 AM (5 years ago)
Author:
wonderboymusic
Message:

Allow bookmarks to be ordered by link_description in get_bookmarks().

Fixes #29763.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/bookmark.php

    r29111 r29778  
    251251        default:
    252252            $orderparams = array();
    253             $keys = array( 'link_id', 'link_name', 'link_url', 'link_visible', 'link_rating', 'link_owner', 'link_updated', 'link_notes' );
     253            $keys = array( 'link_id', 'link_name', 'link_url', 'link_visible', 'link_rating', 'link_owner', 'link_updated', 'link_notes', 'link_description' );
    254254            foreach ( explode( ',', $orderby ) as $ordparam ) {
    255255                $ordparam = trim( $ordparam );
Note: See TracChangeset for help on using the changeset viewer.