Make WordPress Core


Ignore:
Timestamp:
12/01/2014 01:33:34 AM (11 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-includes/*.

See #30224.

File:
1 edited

Legend:

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

    r30575 r30681  
    578578 *
    579579 * @param string $string The text which is to be encoded.
    580  * @param mixed $quote_style Optional. Converts double quotes if set to ENT_COMPAT, both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES. Also compatible with old values; converting single quotes if set to 'single', double if set to 'double' or both if otherwise set. Default is ENT_NOQUOTES.
     580 * @param int $quote_style Optional. Converts double quotes if set to ENT_COMPAT, both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES. Also compatible with old values; converting single quotes if set to 'single', double if set to 'double' or both if otherwise set. Default is ENT_NOQUOTES.
    581581 * @param string $charset Optional. The character encoding of the string. Default is false.
    582582 * @param boolean $double_encode Optional. Whether to encode existing html entities. Default is false.
     
    13181318 *
    13191319 * @param string $orderby Order by string to be checked.
    1320  * @return string|bool Returns the order by clause if it is a match, false otherwise.
     1320 * @return false|string Returns the order by clause if it is a match, false otherwise.
    13211321 */
    13221322function sanitize_sql_orderby( $orderby ){
     
    22202220 *
    22212221 * @param array $match The preg_replace_callback matches array
    2222  * @return array Converted chars
     2222 * @return string Converted chars
    22232223 */
    22242224function _wp_iso_convert( $match ) {
Note: See TracChangeset for help on using the changeset viewer.