Changeset 31363 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 02/07/2015 06:20:42 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r31217 r31363 360 360 $url = set_url_scheme( $url, 'https' ); 361 361 362 $ args = array(362 $http_args = array( 363 363 'body' => array( 364 364 'action' => $action, … … 366 366 ) 367 367 ); 368 $request = wp_remote_post( $url, $ args );368 $request = wp_remote_post( $url, $http_args ); 369 369 370 370 if ( $ssl && is_wp_error( $request ) ) { … … 372 372 trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); 373 373 } 374 $request = wp_remote_post( $http_url, $ args );374 $request = wp_remote_post( $http_url, $http_args ); 375 375 } 376 376
Note: See TracChangeset
for help on using the changeset viewer.