WordPress.org

Make WordPress Core

Changeset 36026


Ignore:
Timestamp:
12/19/2015 08:57:49 AM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing parameter and return notations to the DocBlock for the deprecated wp_specialchars() function.

See #32246.

File:
1 edited

Legend:

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

    r36025 r36026  
    20492049
    20502050/**
    2051  * Escaping for HTML blocks.
     2051 * Legacy escaping for HTML blocks.
    20522052 *
    20532053 * @deprecated 2.8.0 Use esc_html()
    20542054 * @see esc_html()
     2055 *
     2056 * @param string       $string        String to escape.
     2057 * @param string       $quote_style   Unused.
     2058 * @param false|string $charset       Unused.
     2059 * @param false        $double_encode Whether to double encode. Unused.
     2060 * @return string Escaped `$string`.
    20552061 */
    20562062function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) {
Note: See TracChangeset for help on using the changeset viewer.