- Timestamp:
- 08/18/2023 05:44:29 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r55951 r56415 119 119 * 120 120 * @param WP_REST_Request $request Full details about the request. 121 * @return bool|WP_Error True if the request has read access for the item, otherwise WP_Error object.121 * @return true|WP_Error True if the request has read access for the item, otherwise WP_Error object. 122 122 */ 123 123 public function get_item_permissions_check( $request ) { … … 145 145 * @since 5.7.0 146 146 * 147 * @return bool|WP_Error Whether the theme can be read.147 * @return true|WP_Error True if the theme can be read, WP_Error object otherwise. 148 148 */ 149 149 protected function check_read_active_theme_permission() {
Note: See TracChangeset
for help on using the changeset viewer.