WordPress.org

Make WordPress Core

Changeset 46610


Ignore:
Timestamp:
10/28/2019 07:46:13 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock corrections.

See #48303

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r45932 r46610  
    128128        if ( is_wp_error( $download ) && $download->get_error_data( 'softfail-filename' ) ) {
    129129            // Outout the failure error as a normal feedback, and not as an error:
     130            /** This filter is documented in wp-admin/includes/update-core.php */
    130131            apply_filters( 'update_feedback', $download->get_error_message() );
    131132
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r46341 r46610  
    502502
    503503    /**
    504      * Generate row actions div
     504     * Generates the required HTML for a list of row action links.
    505505     *
    506506     * @since 3.1.0
     
    508508     * @param string[] $actions        An array of action links.
    509509     * @param bool     $always_visible Whether the actions should be always visible.
    510      * @return string
     510     * @return string The HTML for the row actions.
    511511     */
    512512    protected function row_actions( $actions, $always_visible = false ) {
     
    532532
    533533    /**
    534      * Display a monthly dropdown for filtering items
     534     * Displays a dropdown for filtering items in the list table by month.
    535535     *
    536536     * @since 3.1.0
     
    539539     * @global WP_Locale $wp_locale WordPress date and time locale object.
    540540     *
    541      * @param string $post_type
     541     * @param string $post_type The post type.
    542542     */
    543543    protected function months_dropdown( $post_type ) {
  • trunk/src/wp-includes/functions.php

    r46602 r46610  
    26192619 *     Values for the extension and mime type.
    26202620 *
    2621  *     @type string|false $0 File extension, or false if the file doesn't match a mime type.
    2622  *     @type string|false $1 File mime type, or false if the file doesn't match a mime type.
     2621 *     @type string|false $ext File extension, or false if the file doesn't match a mime type.
     2622 *     @type string|false $type File mime type, or false if the file doesn't match a mime type.
    26232623 * }
    26242624 */
     
    26612661 *     Values for the extension, mime type, and corrected filename.
    26622662 *
    2663  *     @type string|false $0 File extension, or false if the file doesn't match a mime type.
    2664  *     @type string|false $1 File mime type, or false if the file doesn't match a mime type.
    2665  *     @type string|false $2 File name with its correct extension, or false if it cannot be determined.
     2663 *     @type string|false $ext            File extension, or false if the file doesn't match a mime type.
     2664 *     @type string|false $type            File mime type, or false if the file doesn't match a mime type.
     2665 *     @type string|false $proper_filename File name with its correct extension, or false if it cannot be determined.
    26662666 * }
    26672667 */
     
    28232823     *     Values for the extension, mime type, and corrected filename.
    28242824     *
    2825      *     @type string|false $0 File extension, or false if the file doesn't match a mime type.
    2826      *     @type string|false $1 File mime type, or false if the file doesn't match a mime type.
    2827      *     @type string|false $2 File name with its correct extension, or false if it cannot be determined.
     2825     *     @type string|false $ext            File extension, or false if the file doesn't match a mime type.
     2826     *     @type string|false $type            File mime type, or false if the file doesn't match a mime type.
     2827     *     @type string|false $proper_filename File name with its correct extension, or false if it cannot be determined.
    28282828     * }
    28292829     * @param string      $file                      Full path to the file.
  • trunk/src/wp-includes/post-template.php

    r46596 r46610  
    420420     * @since 4.5.0 Introduced the `$post` parameter.
    421421     *
    422      * @param string $post_excerpt The post excerpt.
    423      * @param WP_Post $post Post object.
     422     * @param string  $post_excerpt The post excerpt.
     423     * @param WP_Post $post         Post object.
    424424     */
    425425    return apply_filters( 'get_the_excerpt', $post->post_excerpt, $post );
  • trunk/src/wp-includes/script-loader.php

    r46606 r46610  
    779779    );
    780780
    781     /* This filter is documented in wp-includes/class-wp-editor.php */
     781    /** This filter is documented in wp-includes/class-wp-editor.php */
    782782    $tinymce_plugins = apply_filters( 'tiny_mce_plugins', $tinymce_plugins, 'classic-block' );
    783783    $tinymce_plugins = array_unique( $tinymce_plugins );
     
    808808    );
    809809
    810     /* This filter is documented in wp-includes/class-wp-editor.php */
     810    /** This filter is documented in wp-includes/class-wp-editor.php */
    811811    $toolbar1 = apply_filters( 'mce_buttons', $toolbar1, 'classic-block' );
    812812
     
    825825    );
    826826
    827     /* This filter is documented in wp-includes/class-wp-editor.php */
     827    /** This filter is documented in wp-includes/class-wp-editor.php */
    828828    $toolbar2 = apply_filters( 'mce_buttons_2', $toolbar2, 'classic-block' );
    829     /* This filter is documented in wp-includes/class-wp-editor.php */
     829    /** This filter is documented in wp-includes/class-wp-editor.php */
    830830    $toolbar3 = apply_filters( 'mce_buttons_3', array(), 'classic-block' );
    831     /* This filter is documented in wp-includes/class-wp-editor.php */
     831    /** This filter is documented in wp-includes/class-wp-editor.php */
    832832    $toolbar4 = apply_filters( 'mce_buttons_4', array(), 'classic-block' );
    833     /* This filter is documented in wp-includes/class-wp-editor.php */
     833    /** This filter is documented in wp-includes/class-wp-editor.php */
    834834    $external_plugins = apply_filters( 'mce_external_plugins', array(), 'classic-block' );
    835835
     
    852852    }
    853853
    854     /* This filter is documented in wp-includes/class-wp-editor.php */
     854    /** This filter is documented in wp-includes/class-wp-editor.php */
    855855    $tinymce_settings = apply_filters( 'tiny_mce_before_init', $tinymce_settings, 'classic-block' );
    856856
Note: See TracChangeset for help on using the changeset viewer.