Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:21:46 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

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

    r46235 r46660  
    949949
    950950/**
    951  * Helper function listing HTML attributes containing a URL.
     951 * Returns an array of HTML attribute names whose value contains a URL.
    952952 *
    953953 * This function returns a list of all HTML attributes that must contain
     
    960960 * @since 5.0.1
    961961 *
    962  * @return array HTML attributes that must include a URL.
     962 * @return string[] HTML attribute names whose value contains a URL.
    963963 */
    964964function wp_kses_uri_attributes() {
     
    991991     * @since 5.0.1
    992992     *
    993      * @param array $uri_attributes HTML attributes requiring validation as a URL.
     993     * @param string[] $uri_attributes HTML attribute names whose value contains a URL.
    994994     */
    995995    $uri_attributes = apply_filters( 'wp_kses_uri_attributes', $uri_attributes );
Note: See TracChangeset for help on using the changeset viewer.