Ticket #59420: 59420.patch
| File 59420.patch, 1.0 KB (added by , 2 years ago) |
|---|
-
wp-includes/ms-settings.php
97 97 $wpdb->set_prefix( $table_prefix, false ); // $table_prefix can be set in sunrise.php. 98 98 $wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id ); 99 99 $table_prefix = $wpdb->get_blog_prefix(); 100 $_wp_switched_stack = array();101 $switched = false;102 100 103 101 // Need to init cache again after blog_id is set. 104 102 wp_start_object_cache(); -
wp-includes/rest-api/class-wp-rest-server.php
1079 1079 1080 1080 foreach ( $handlers as $handler ) { 1081 1081 $callback = $handler['callback']; 1082 $response = null;1083 1082 1084 1083 // Fallback to GET method if no HEAD method is registered. 1085 1084 $checked_method = $method;