Changeset 12907
- Timestamp:
- 09/22/2023 10:52:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r12905 r12907 701 701 } 702 702 703 $result = array(); 704 703 705 foreach ( $wporg_webs as $server ) { 704 wp_remote_post( "http://$server/", array(706 $response = wp_remote_post( "http://$server/", array( 705 707 'body' => array( 706 708 'theme_update' => $theme_slug, … … 713 715 ), 714 716 ) ); 715 } 717 718 $result[ $server ] = array( 719 'error' => is_wp_error( $response ) ? $response->get_error_message() : 'no', 720 'code' => wp_remote_retrieve_response_code( $response ), 721 'body' => wp_remote_retrieve_body( $response ), 722 ); 723 } 724 725 $message = __FUNCTION__ . " results:\n\n" . print_r( $result, true ); 726 notify_slack( 'C03AKLN7P9U', $message ); // iandunn-testing 716 727 } 717 728 … … 794 805 */ 795 806 if ( str_contains( $theme_file, '://' ) ) { 796 $request = wp_remote_get( 807 $request = wp_remote_get( 797 808 $theme_file, 798 809 [
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)