mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -592,7 +592,7 @@ function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit
|
||||
function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) {
|
||||
_deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
|
||||
|
||||
$links = get_bookmarks("category=$category&orderby=$orderby&limit=$limit");
|
||||
$links = get_bookmarks( array( 'category' => $category, 'orderby' => $orderby, 'limit' => $limit ) ) ;
|
||||
|
||||
$links_array = array();
|
||||
foreach ($links as $link)
|
||||
|
||||
Reference in New Issue
Block a user