Make WordPress Core

Changeset 59357


Ignore:
Timestamp:
11/05/2024 11:07:44 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use WP_User_Query::get_results() instead of a private property.

This resolves an issue where the private property WP_User_Query::$results is accessed directly in WP_REST_Users_Controller::get_items() instead of via the ::get_results() method.

Follow-up to [38832].

Props justlevine.
See #52217.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.