Make WordPress Core


Ignore:
Timestamp:
09/29/2011 10:57:43 PM (13 years ago)
Author:
ryan
Message:

phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560

File:
1 edited

Legend:

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

    r18826 r18827  
    843843 *
    844844 * The currently implemented checks are "maxlen", "minlen", "maxval", "minval"
    845  * and "valueless" with even more checks to come soon.
     845 * and "valueless".
    846846 *
    847847 * @since 1.0.0
     
    888888
    889889        case 'minval' :
    890             # The minval check checks that the attribute value is a positive integer,
     890            # The minval check makes sure that the attribute value is a positive integer,
    891891            # and that it is not smaller than the given value.
    892892
     
    898898
    899899        case 'valueless' :
    900             # The valueless check checks if the attribute has a value
     900            # The valueless check makes sure if the attribute has a value
    901901            # (like <a href="blah">) or not (<option selected>). If the given value
    902902            # is a "y" or a "Y", the attribute must not have a value.
     
    955955 * Strips slashes from in front of quotes.
    956956 *
    957  * This function changes the character sequence  \"  to just ". It leaves all
     957 * This function changes the character sequence \" to just ". It leaves all
    958958 * other slashes alone. It's really weird, but the quoting from
    959959 * preg_replace(//e) seems to require this.
     
    962962 *
    963963 * @param string $string String to strip slashes
    964  * @return string Fixed strings with quoted slashes
     964 * @return string Fixed string with quoted slashes
    965965 */
    966966function wp_kses_stripslashes($string) {
     
    10431043 *
    10441044 * This function processes URL protocols, checks to see if they're in the
    1045  * white-list or not, and returns different data depending on the answer.
     1045 * whitelist or not, and returns different data depending on the answer.
    10461046 *
    10471047 * @access private
     
    11201120 * Callback for wp_kses_normalize_entities() regular expression.
    11211121 *
    1122  * This function helps wp_kses_normalize_entities() to only accept 16 bit values
     1122 * This function helps wp_kses_normalize_entities() to only accept 16-bit values
    11231123 * and nothing more for &#number; entities.
    11241124 *
     
    11671167 *
    11681168 * @param int $i Unicode value
    1169  * @return bool true if the value was a valid Unicode number
     1169 * @return bool True if the value was a valid Unicode number
    11701170 */
    11711171function valid_unicode($i) {
     
    13431343 *
    13441344 * First removes all of the Kses filters in case the current user does not need
    1345  * to have Kses filter the content. If the user does not have unfiltered html
     1345 * to have Kses filter the content. If the user does not have unfiltered_html
    13461346 * capability, then Kses filters are added.
    13471347 *
Note: See TracChangeset for help on using the changeset viewer.