Changeset 1083
- Timestamp:
- 01/03/2015 12:16:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php
r495 r1083 201 201 protected function remote_get( $url, $args = array() ) { 202 202 $response = $error = false; 203 203 204 204 if ( $url ) { 205 205 $transient_key = 'owe_' . wp_hash( $url . print_r( $args, true ) ); … … 230 230 231 231 if ( $error ) { 232 $error = preg_replace( '/&key=[a-z0-9]+/i', '&key=[redacted]', $error ); 232 233 trigger_error( sprintf( '%s error for %s: %s', __METHOD__, parse_url( site_url(), PHP_URL_HOST ), sanitize_text_field( $error ) ), E_USER_WARNING ); 233 234
Note: See TracChangeset
for help on using the changeset viewer.