Make WordPress Core


Ignore:
Timestamp:
11/30/2014 11:23:37 PM (11 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs.

See #30224.

File:
1 edited

Legend:

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

    r30443 r30674  
    382382 * @since 3.4.0
    383383 *
    384  * @param string Origin URL. If not provided, the value of get_http_origin() is used.
    385  * @return bool True if the origin is allowed. False otherwise.
     384 * @param null|string $origin Origin URL. If not provided, the value of get_http_origin() is used.
     385 * @return bool|null True if the origin is allowed. False otherwise.
    386386 */
    387387function is_allowed_http_origin( $origin = null ) {
     
    442442 * @since 3.5.2
    443443 *
    444  * @return mixed URL or false on failure.
     444 * @param string $url
     445 * @return false|string URL or false on failure.
    445446 */
    446447function wp_http_validate_url( $url ) {
Note: See TracChangeset for help on using the changeset viewer.