changeset 19 | 3d72ae0968f4 |
parent 18 | be944660c56a |
child 21 | 48c4eec2b7e6 |
--- a/wp/wp-includes/bookmark.php Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/bookmark.php Tue Sep 27 16:37:53 2022 +0200 @@ -307,7 +307,7 @@ $query .= " $exclusions $inclusions $search"; $query .= " ORDER BY $orderby $order"; if ( -1 != $parsed_args['limit'] ) { - $query .= ' LIMIT ' . $parsed_args['limit']; + $query .= ' LIMIT ' . absint( $parsed_args['limit'] ); } $results = $wpdb->get_results( $query );