Make WordPress Core


Ignore:
Timestamp:
02/16/2024 09:45:18 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Various improvements and corrections to inline documentation.

See #59651

File:
1 edited

Legend:

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

    r57170 r57644  
    13201320 *                            Default '»'.
    13211321 * @param bool   $display     Optional. Whether to display or retrieve title. Default true.
    1322  * @param string $seplocation Optional. Location of the separator ('left' or 'right').
     1322 * @param string $seplocation Optional. Location of the separator (either 'left' or 'right').
    13231323 * @return string|void String when `$display` is false, nothing otherwise.
    13241324 */
     
    14401440     * @param string $title       Page title.
    14411441     * @param string $sep         Title separator.
    1442      * @param string $seplocation Location of the separator ('left' or 'right').
     1442     * @param string $seplocation Location of the separator (either 'left' or 'right').
    14431443     */
    14441444    $title = apply_filters( 'wp_title', $title, $sep, $seplocation );
     
    34643464
    34653465        /**
    3466          * Filters domains and URLs for resource hints of relation type.
     3466         * Filters domains and URLs for resource hints of the given relation type.
    34673467         *
    34683468         * @since 4.6.0
     
    34843484         *     }
    34853485         * }
    3486          * @param string $relation_type The relation type the URLs are printed for,
    3487          *                              e.g. 'preconnect' or 'prerender'.
     3486         * @param string $relation_type The relation type the URLs are printed for. One of
     3487         *                              'dns-prefetch', 'preconnect', 'prefetch', or 'prerender'.
    34883488         */
    34893489        $urls = apply_filters( 'wp_resource_hints', $urls, $relation_type );
     
    37583758 * Finds out which editor should be displayed by default.
    37593759 *
    3760  * Works out which of the two editors to display as the current editor for a
     3760 * Works out which of the editors to display as the current editor for a
    37613761 * user. The 'html' setting is for the "Text" editor tab.
    37623762 *
    37633763 * @since 2.5.0
    37643764 *
    3765  * @return string Either 'tinymce', or 'html', or 'test'
     3765 * @return string Either 'tinymce', 'html', or 'test'
    37663766 */
    37673767function wp_default_editor() {
Note: See TracChangeset for help on using the changeset viewer.