Make WordPress Core

Changeset 21241


Ignore:
Timestamp:
07/09/2012 05:03:53 AM (12 years ago)
Author:
markjaquith
Message:

Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149

Location:
trunk/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark-template.php

    r19712 r21241  
    4343 * @since 2.1.0
    4444 * @access private
    45  * @usedby wp_list_bookmarks()
    4645 *
    4746 * @param array $bookmarks List of bookmarks to traverse
     
    190189 *
    191190 * @since 2.1.0
    192  * @uses _list_bookmarks() Used to iterate over all of the bookmarks and return
     191 * @uses _walk_bookmarks() Used to iterate over all of the bookmarks and return
    193192 *      the html
    194193 * @uses get_terms() Gets all of the categories that are for links.
  • trunk/wp-includes/class-http.php

    r21231 r21241  
    201201     * @param string $url URL to Request
    202202     *
    203      * @return string|false Class name for the first transport that claims to support the request. False if no transport claims to support the request.
     203     * @return string|bool Class name for the first transport that claims to support the request. False if no transport claims to support the request.
    204204     */
    205205    public function _get_first_available_transport( $args, $url = null ) {
  • trunk/wp-includes/formatting.php

    r20944 r21241  
    101101
    102102    // Transform into regexp sub-expression used in _wptexturize_pushpop_element
    103     // Must do this everytime in case plugins use these filters in a context sensitive manner
     103    // Must do this every time in case plugins use these filters in a context sensitive manner
    104104    $no_texturize_tags = '(' . implode('|', apply_filters('no_texturize_tags', $default_no_texturize_tags) ) . ')';
    105105    $no_texturize_shortcodes = '(' . implode('|', apply_filters('no_texturize_shortcodes', $default_no_texturize_shortcodes) ) . ')';
     
    142142 * @param string $disabled_elements Tags to match against formatted as regexp sub-expression
    143143 * @param string $opening Tag opening character, assumed to be 1 character long
    144  * @param string $opening Tag closing  character
    145  * @return object
     144 * @param string $closing Tag closing character
    146145 */
    147146function _wptexturize_pushpop_element($text, &$stack, $disabled_elements, $opening = '<', $closing = '>') {
     
    265264 * @access private
    266265 * @param array $matches preg_replace_callback matches array
    267  * @returns string
     266 * @return string
    268267 */
    269268function _autop_newline_preservation_helper( $matches ) {
     
    10101009 *
    10111010 * @param string $orderby Order by string to be checked.
    1012  * @return string|false Returns the order by clause if it is a match, false otherwise.
     1011 * @return string|bool Returns the order by clause if it is a match, false otherwise.
    10131012 */
    10141013function sanitize_sql_orderby( $orderby ){
     
    16241623 * @access private
    16251624 *
    1626  * @param string $string The string to split
    1627  * @param    int $goal  The desired chunk length.
     1625 * @param string $string The string to split.
     1626 * @param int $goal The desired chunk length.
    16281627 * @return array Numeric array of chunks.
    16291628 */
     
    18231822 *
    18241823 * @since 1.2.0
    1825  * @usedby wp_mail() handles charsets in email subjects
    18261824 *
    18271825 * @param string $string Subject line
     
    18401838
    18411839/**
    1842  * Helper function to convert hex encoded chars to ascii
     1840 * Helper function to convert hex encoded chars to ASCII
    18431841 *
    18441842 * @since 3.1.0
    18451843 * @access private
    1846  * @param array $match the preg_replace_callback matches array
     1844 * @param array $match The preg_replace_callback matches array
     1845 * @return array Converted chars
    18471846 */
    18481847function _wp_iso_convert( $match ) {
  • trunk/wp-includes/general-template.php

    r21218 r21241  
    10511051 *
    10521052 * @since 1.5.0
    1053  * @usedby get_calendar()
    10541053 *
    10551054 * @param int $num Number of day.
     
    10681067 *
    10691068 * @since 1.0.0
     1069 * @uses calendar_week_mod()
    10701070 *
    10711071 * @param bool $initial Optional, default is true. Use initial calendar names.
Note: See TracChangeset for help on using the changeset viewer.