mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +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:
@@ -983,7 +983,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
|
||||
if ( !empty( $css_class ) ) {
|
||||
echo ' class="'.$css_class.'" ';
|
||||
}
|
||||
$title = the_title_attribute( 'echo=0' );
|
||||
$title = the_title_attribute( array('echo' => 0 ) );
|
||||
|
||||
echo apply_filters( 'comments_popup_link_attributes', '' );
|
||||
|
||||
|
||||
@@ -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