Make WordPress Core

Changeset 48508


Ignore:
Timestamp:
07/18/2020 10:09:57 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock corrections.

See #49572

Location:
trunk/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-plugin-installer-skin.php

    r48455 r48508  
    6363     * @since 5.5.0
    6464     *
    65      * @param $wp_error WP_Error.
     65     * @param WP_Error $wp_error WP_Error.
    6666     * @return bool
    6767     */
  • trunk/src/wp-admin/includes/class-theme-installer-skin.php

    r48455 r48508  
    6363     * @since 5.5.0
    6464     *
    65      * @param $wp_error WP_Error.
     65     * @param WP_Error $wp_error WP_Error.
    6666     * @return bool
    6767     */
  • trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php

    r48234 r48508  
    156156     * @since 4.9.6
    157157     * @access private
     158     *
     159     * @param int $post_id The ID of the updated post.
    158160     */
    159161    public static function _policy_page_updated( $post_id ) {
  • trunk/src/wp-admin/includes/class-wp-screen.php

    r48473 r48508  
    10421042     *
    10431043     * @param array $options {
    1044      *     @type bool $wrap  Whether the screen-options-wrap div will be included. Defaults to true.
     1044     *     Options for the tab.
     1045     *
     1046     *     @type bool $wrap Whether the screen-options-wrap div will be included. Defaults to true.
    10451047     * }
    10461048     */
  • trunk/src/wp-admin/includes/class-wp-upgrader-skin.php

    r48390 r48508  
    212212     * @since 5.5.0
    213213     *
    214      * @param $wp_error WP_Error
     214     * @param WP_Error $wp_error WP_Error
    215215     * @return bool
    216216     */
  • trunk/src/wp-admin/includes/image.php

    r47461 r48508  
    1212 * @since 2.1.0
    1313 *
    14  * @param string|int $src The source file or Attachment ID.
    15  * @param int $src_x The start x position to crop from.
    16  * @param int $src_y The start y position to crop from.
    17  * @param int $src_w The width to crop.
    18  * @param int $src_h The height to crop.
    19  * @param int $dst_w The destination width.
    20  * @param int $dst_h The destination height.
    21  * @param int $src_abs Optional. If the source crop points are absolute.
    22  * @param string $dst_file Optional. The destination file to write to.
     14 * @param string|int $src      The source file or Attachment ID.
     15 * @param int        $src_x    The start x position to crop from.
     16 * @param int        $src_y    The start y position to crop from.
     17 * @param int        $src_w    The width to crop.
     18 * @param int        $src_h    The height to crop.
     19 * @param int        $dst_w    The destination width.
     20 * @param int        $dst_h    The destination height.
     21 * @param bool       $src_abs Optional. If the source crop points are absolute.
     22 * @param string     $dst_file Optional. The destination file to write to.
    2323 * @return string|WP_Error New filepath on success, WP_Error on failure.
    2424 */
  • trunk/src/wp-admin/includes/ms.php

    r48316 r48508  
    10191019 * @since 4.6.0
    10201020 *
    1021  * @param $args {
     1021 * @param array $args {
    10221022 *     Optional. Array or string of Query parameters. Default empty array.
    10231023 *
  • trunk/src/wp-includes/class-wp-recovery-mode-email-service.php

    r48102 r48508  
    134134         * @since 5.2.0
    135135         *
    136          * @param $message string The Message to include in the email.
     136         * @param string $message The Message to include in the email.
    137137         */
    138138        $support = apply_filters( 'recovery_email_support_info', __( 'Please contact your host for assistance with investigating this issue further.' ) );
     
    143143         * @since 5.3.0
    144144         *
    145          * @param $message array An associated array of debug information.
     145         * @param array $message An associative array of debug information.
    146146         */
    147147        $debug = apply_filters( 'recovery_email_debug_info', $this->get_debug( $extension ) );
Note: See TracChangeset for help on using the changeset viewer.