Changeset 45602 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 07/05/2019 05:20:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r45583 r45602 526 526 527 527 /* 528 529 530 528 * Flush rules with the hard option to force refresh of the web-server's 529 * rewrite config file (e.g. .htaccess or web.config). 530 */ 531 531 $wp_rewrite->flush_rules( true ); 532 532 … … 540 540 541 541 /* 542 543 544 545 546 547 542 * Send a request to the site, and check whether 543 * the 'x-pingback' header is returned as expected. 544 * 545 * Uses wp_remote_get() instead of wp_remote_head() because web servers 546 * can block head requests. 547 */ 548 548 $response = wp_remote_get( $test_url, array( 'timeout' => 5 ) ); 549 549 $x_pingback_header = wp_remote_retrieve_header( $response, 'x-pingback' );
Note: See TracChangeset
for help on using the changeset viewer.