Make WordPress Core


Ignore:
Timestamp:
01/08/2010 08:34:39 AM (15 years ago)
Author:
westi
Message:

Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r12656 r12657  
    593593    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    594594
    595     $links = get_bookmarks("category=$category&orderby=$orderby&limit=$limit");
     595    $links = get_bookmarks( array( 'category' => $category, 'orderby' => $orderby, 'limit' => $limit ) ) ;
    596596
    597597    $links_array = array();
Note: See TracChangeset for help on using the changeset viewer.