Changeset 47219 for trunk/src/wp-includes/bookmark.php
- Timestamp:
- 02/09/2020 04:52:28 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/bookmark.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/bookmark.php
r47122 r47219 53 53 $_bookmark = sanitize_bookmark( $_bookmark, $filter ); 54 54 55 if ( $output == OBJECT) {55 if ( OBJECT == $output ) { 56 56 return $_bookmark; 57 } elseif ( $output == ARRAY_A) {57 } elseif ( ARRAY_A == $output ) { 58 58 return get_object_vars( $_bookmark ); 59 } elseif ( $output == ARRAY_N) {59 } elseif ( ARRAY_N == $output ) { 60 60 return array_values( get_object_vars( $_bookmark ) ); 61 61 } else { … … 306 306 $query .= " $exclusions $inclusions $search"; 307 307 $query .= " ORDER BY $orderby $order"; 308 if ( $parsed_args['limit'] != -1) {308 if ( -1 != $parsed_args['limit'] ) { 309 309 $query .= ' LIMIT ' . $parsed_args['limit']; 310 310 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)