Changeset 42680
- Timestamp:
- 02/09/2018 05:47:19 PM (7 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-curl.php
r42343 r42680 113 113 $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify']; 114 114 if ( $is_local ) { 115 /** This filter is documented in wp-includes/class- wp-http-streams.php */115 /** This filter is documented in wp-includes/class-http.php */ 116 116 $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify ); 117 117 } elseif ( ! $is_local ) { 118 /** This filter is documented in wp-includes/class- wp-http-streams.php */118 /** This filter is documented in wp-includes/class-http.php */ 119 119 $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify ); 120 120 } -
trunk/src/wp-includes/class-wp-http-streams.php
r42343 r42680 94 94 $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify']; 95 95 if ( $is_local ) { 96 /** 97 * Filters whether SSL should be verified for local requests. 98 * 99 * @since 2.8.0 100 * 101 * @param bool $ssl_verify Whether to verify the SSL connection. Default true. 102 */ 96 /** This filter is documented in wp-includes/class-http.php */ 103 97 $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify ); 104 98 } elseif ( ! $is_local ) { 105 /** 106 * Filters whether SSL should be verified for non-local requests. 107 * 108 * @since 2.8.0 109 * 110 * @param bool $ssl_verify Whether to verify the SSL connection. Default true. 111 */ 99 /** This filter is documented in wp-includes/class-http.php */ 112 100 $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify ); 113 101 }
Note: See TracChangeset
for help on using the changeset viewer.