Make WordPress Core

Changeset 39639


Ignore:
Timestamp:
12/27/2016 09:27:38 AM (8 years ago)
Author:
johnbillion
Message:

Docs: Misc corrections and additions to inline documentation.

See #39130
Props keesiemeijer

Location:
trunk/src/wp-includes
Files:
12 edited

Legend:

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

    r39638 r39639  
    719719
    720720/**
    721  * Default topic count scaling for tag links
     721 * Default topic count scaling for tag links.
    722722 *
    723723 * @since 2.9.0
  • trunk/src/wp-includes/functions.php

    r39638 r39639  
    53935393     * @since 2.1.0
    53945394     *
    5395      * @param string $medium Path to the file to delete.
     5395     * @param string $file Path to the file to delete.
    53965396     */
    53975397    $delete = apply_filters( 'wp_delete_file', $file );
  • trunk/src/wp-includes/general-template.php

    r39638 r39639  
    35463546     *
    35473547     * @since 2.3.0
    3548      *
    3549      * @param string $file Style handle name or filename (without ".css" extension)
    3550      *                     relative to wp-admin/. Defaults to 'wp-admin'.
     3548     * @param string $stylesheet_link HTML link element for the stylesheet.
     3549     * @param string $file            Style handle name or filename (without ".css" extension)
     3550     *                                relative to wp-admin/. Defaults to 'wp-admin'.
    35513551     */
    35523552    echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . esc_url( wp_admin_css_uri( $file ) ) . "' type='text/css' />\n", $file );
  • trunk/src/wp-includes/link-template.php

    r39589 r39639  
    847847         * @param string $link The taxonomy feed link.
    848848         * @param string $feed Feed type.
    849          * @param string $feed The taxonomy name.
     849         * @param string $taxonomy The taxonomy name.
    850850         */
    851851        $link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy );
     
    35843584     * @since 4.6.0
    35853585     *
    3586      * @param string  $string The post's canonical URL.
    3587      * @param WP_Post $post   Post object.
     3586     * @param string  $canonical_url The post's canonical URL.
     3587     * @param WP_Post $post          Post object.
    35883588     */
    35893589    return apply_filters( 'get_canonical_url', $canonical_url, $post );
  • trunk/src/wp-includes/media-template.php

    r39213 r39639  
    762762                >
    763763                <?php
    764                 // This filter is documented in wp-admin/includes/media.php
     764                /** This filter is documented in wp-admin/includes/media.php */
    765765                $size_names = apply_filters( 'image_size_names_choose', array(
    766766                    'thumbnail' => __( 'Thumbnail' ),
  • trunk/src/wp-includes/ms-functions.php

    r39638 r39639  
    22412241
    22422242/**
    2243  *  Update the network-wide counts for the current network.
     2243 * Update the network-wide counts for the current network.
    22442244 *
    22452245 * @since 3.1.0
  • trunk/src/wp-includes/pluggable.php

    r39326 r39639  
    24132413     *                            user email, WP_User object, WP_Post object, or WP_Comment object.
    24142414     * @param int    $size        Square avatar width and height in pixels to retrieve.
    2415      * @param string $alt         Alternative text to use in the avatar image tag.
    2416      *                                       Default empty.
     2415     * @param string $default     URL for the default image or a default type. Accepts '404', 'retro', 'monsterid',
     2416     *                            'wavatar', 'indenticon','mystery' (or 'mm', or 'mysteryman'), 'blank', or 'gravatar_default'.
     2417     *                            Default is the value of the 'avatar_default' option, with a fallback of 'mystery'.
     2418     * @param string $alt         Alternative text to use in the avatar image tag. Default empty.
    24172419     * @param array  $args        Arguments passed to get_avatar_data(), after processing.
    24182420     */
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php

    r39621 r39639  
    15941594     *
    15951595     * @since 4.7.0
     1596     * @access public
    15961597     *
    15971598     * @param string          $value   Author email value submitted.
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

    r39638 r39639  
    11671167     *
    11681168     * @since 4.7.0
     1169     * @access protected
    11691170     *
    11701171     * @param WP_REST_Request $request The request object with post and terms data.
     
    15201521     *
    15211522     * @since 4.7.0
     1523     * @access public
    15221524     *
    15231525     * @return string Protected title format.
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php

    r39638 r39639  
    307307     *
    308308     * @since 4.7.0
     309     * @access public
    309310     *
    310311     * @param  mixed           $value   The value for the setting.
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    r39621 r39639  
    143143     *
    144144     * @since 4.7.0
     145     * @access public
    145146     *
    146147     * @param int|bool        $value   The value passed to the reassign parameter.
     
    10551056     *
    10561057     * @since 4.7.0
     1058     * @access public
    10571059     *
    10581060     * @param  mixed            $value   The username submitted in the request.
     
    10841086     *
    10851087     * @since 4.7.0
     1088     * @access public
    10861089     *
    10871090     * @param  mixed            $value   The password submitted in the request.
  • trunk/src/wp-includes/taxonomy.php

    r39578 r39639  
    29442944     *
    29452945     * @param array  $object_ids An array of object IDs.
    2946      * @param string $objet_type Object type.
     2946     * @param string $object_type Object type.
    29472947     */
    29482948    do_action( 'clean_object_term_cache', $object_ids, $object_type );
Note: See TracChangeset for help on using the changeset viewer.