Changeset 49154 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 10/15/2020 01:58:28 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r49122 r49154 5143 5143 * 5144 5144 * @since 5.2.0 5145 * @deprecated 5.6.0 Use WP_REST_Site_Health_Controller::test_dotorg_communication() 5146 * @see WP_REST_Site_Health_Controller::test_dotorg_communication() 5145 5147 */ 5146 5148 function wp_ajax_health_check_dotorg_communication() { 5149 _doing_it_wrong( 5150 'wp_ajax_health_check_dotorg_communication', 5151 sprintf( 5152 // translators: 1: The Site Health action that is no longer used by core. 2: The new function that replaces it. 5153 __( 'The Site Health check for %1$s has been replaced with %2$s.' ), 5154 'wp_ajax_health_check_dotorg_communication', 5155 'WP_REST_Site_Health_Controller::test_dotorg_communication' 5156 ), 5157 '5.6.0' 5158 ); 5159 5147 5160 check_ajax_referer( 'health-check-site-status' ); 5148 5161 … … 5163 5176 * 5164 5177 * @since 5.2.0 5178 * @deprecated 5.6.0 Use WP_REST_Site_Health_Controller::test_background_updates() 5179 * @see WP_REST_Site_Health_Controller::test_background_updates() 5165 5180 */ 5166 5181 function wp_ajax_health_check_background_updates() { 5182 _doing_it_wrong( 5183 'wp_ajax_health_check_background_updates', 5184 sprintf( 5185 // translators: 1: The Site Health action that is no longer used by core. 2: The new function that replaces it. 5186 __( 'The Site Health check for %1$s has been replaced with %2$s.' ), 5187 'wp_ajax_health_check_background_updates', 5188 'WP_REST_Site_Health_Controller::test_background_updates' 5189 ), 5190 '5.6.0' 5191 ); 5192 5167 5193 check_ajax_referer( 'health-check-site-status' ); 5168 5194 … … 5183 5209 * 5184 5210 * @since 5.2.0 5211 * @deprecated 5.6.0 Use WP_REST_Site_Health_Controller::test_loopback_requests() 5212 * @see WP_REST_Site_Health_Controller::test_loopback_requests() 5185 5213 */ 5186 5214 function wp_ajax_health_check_loopback_requests() { 5215 _doing_it_wrong( 5216 'wp_ajax_health_check_loopback_requests', 5217 sprintf( 5218 // translators: 1: The Site Health action that is no longer used by core. 2: The new function that replaces it. 5219 __( 'The Site Health check for %1$s has been replaced with %2$s.' ), 5220 'wp_ajax_health_check_loopback_requests', 5221 'WP_REST_Site_Health_Controller::test_loopback_requests' 5222 ), 5223 '5.6.0' 5224 ); 5225 5187 5226 check_ajax_referer( 'health-check-site-status' ); 5188 5227 … … 5220 5259 * 5221 5260 * @since 5.2.0 5261 * @deprecated 5.6.0 Use WP_REST_Site_Health_Controller::get_directory_sizes() 5262 * @see WP_REST_Site_Health_Controller::get_directory_sizes() 5222 5263 */ 5223 5264 function wp_ajax_health_check_get_sizes() { 5265 _doing_it_wrong( 5266 'wp_ajax_health_check_get_sizes', 5267 sprintf( 5268 // translators: 1: The Site Health action that is no longer used by core. 2: The new function that replaces it. 5269 __( 'The Site Health check for %1$s has been replaced with %2$s.' ), 5270 'wp_ajax_health_check_get_sizes', 5271 'WP_REST_Site_Health_Controller::get_directory_sizes' 5272 ), 5273 '5.6.0' 5274 ); 5275 5224 5276 check_ajax_referer( 'health-check-site-status-result' ); 5225 5277
Note: See TracChangeset
for help on using the changeset viewer.