Changeset 60143
- Timestamp:
- 04/08/2025 01:54:41 PM (6 weeks ago)
- Location:
- branches/6.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.8
-
branches/6.8/tests/phpunit/tests/rest-api/rest-users-controller.php
r59970 r60143 3301 3301 global $wpdb; 3302 3302 $users_table = preg_quote( $wpdb->users, '/' ); 3303 $pattern = '/ SELECT SQL_CALC_FOUND_ROWS wptests_users.ID\n\s+FROM\s+' . $users_table . '/is';3303 $pattern = '/^SELECT\s+SQL_CALC_FOUND_ROWS\s+' . $users_table . '\.ID\n\s+FROM\s+' . $users_table . '/is'; 3304 3304 3305 3305 // Assert that the SQL query only fetches the id column.
Note: See TracChangeset
for help on using the changeset viewer.