Changeset 11356
- Timestamp:
- 12/06/2021 05:56:05 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/locale.php
r10880 r11356 40 40 $gp_api = 'https://translate.wordpress.org'; 41 41 $gp_project = 'meta/learn-wordpress'; 42 $set_response = wp_remote_get( "$gp_api/api/projects/$gp_project" ); 42 $set_response = wp_remote_get( 43 "$gp_api/api/projects/$gp_project", 44 array( 45 'timeout' => 30, 46 ) 47 ); 43 48 $body = json_decode( wp_remote_retrieve_body( $set_response ) ); 44 49 $translation_sets = isset( $body->translation_sets ) ? $body->translation_sets : false;
Note: See TracChangeset
for help on using the changeset viewer.