Make WordPress Core

Changeset 42680


Ignore:
Timestamp:
02/09/2018 05:47:19 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Correct some secondary documentation for the https_local_ssl_verify and https_ssl_verify filters.

See #42505

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-http-curl.php

    r42343 r42680  
    113113        $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify'];
    114114        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 */
    116116            $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify );
    117117        } 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 */
    119119            $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify );
    120120        }
  • trunk/src/wp-includes/class-wp-http-streams.php

    r42343 r42680  
    9494        $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify'];
    9595        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 */
    10397            $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify );
    10498        } 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 */
    112100            $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify );
    113101        }
Note: See TracChangeset for help on using the changeset viewer.