WordPress.org

Make WordPress Core

Ticket #38721: 38721.diff

File 38721.diff, 9.9 KB (added by coffee2code, 4 years ago)

Patch referenced in ticket.

  • src/wp-includes/bookmark-template.php

     
    180180 *     @type int|bool $show_description Whether to show the bookmark descriptions. Accepts 1|true or 0|false.
    181181 *                                      Default 0|false.
    182182 *     @type string   $title_li         What to show before the links appear. Default 'Bookmarks'.
    183  *     @type string   $title_before     The HTML or text to prepend to the $title_li string. Default '<h2>'.
    184  *     @type string   $title_after      The HTML or text to append to the $title_li string. Default '</h2>'.
     183 *     @type string   $title_before     The HTML or text to prepend to the $title_li string. Default `<h2>`.
     184 *     @type string   $title_after      The HTML or text to append to the $title_li string. Default `</h2>`.
    185185 *     @type string   $class            The CSS class to use for the $title_li. Default 'linkcat'.
    186186 *     @type string   $category_before  The HTML or text to prepend to $title_before if $categorize is true.
    187187 *                                      String must contain '%id' and '%class' to inherit the category ID and
    188188 *                                      the $class argument used for formatting in themes.
    189  *                                      Default '<li id="%id" class="%class">'.
     189 *                                      Default `<li id="%id" class="%class">`.
    190190 *     @type string   $category_after   The HTML or text to append to $title_after if $categorize is true.
    191  *                                      Default '</li>'.
     191 *                                      Default `</li>`.
    192192 *     @type string   $category_orderby How to order the bookmark category based on term scheme if $categorize
    193193 *                                      is true. Default 'name'.
    194194 *     @type string   $category_order   Whether to order categories in ascending or descending order if
  • src/wp-includes/category-template.php

     
    486486 *     @type string       $order                 Which direction to order categories. Accepts 'ASC' or 'DESC'.
    487487 *                                               Default 'ASC'.
    488488 *     @type string       $orderby               The column to use for ordering categories. Default 'ID'.
    489  *     @type string       $separator             Separator between links. Default '<br />'.
     489 *     @type string       $separator             Separator between links. Default `<br />`.
    490490 *     @type bool|int     $show_count            Whether to show how many posts are in the category. Default 0.
    491491 *     @type string       $show_option_all       Text to display for showing all categories. Default empty string.
    492492 *     @type string       $show_option_none      Text to display for the 'no categories' option.
  • src/wp-includes/comment-template.php

     
    21472147 *     @type string $title_reply_to       The translatable 'reply-to' button label. Default 'Leave a Reply to %s',
    21482148 *                                        where %s is the author of the comment being replied to.
    21492149 *     @type string $title_reply_before   HTML displayed before the comment form title.
    2150  *                                        Default: '<h3 id="reply-title" class="comment-reply-title">'.
     2150 *                                        Default `<h3 id="reply-title" class="comment-reply-title">`.
    21512151 *     @type string $title_reply_after    HTML displayed after the comment form title.
    2152  *                                        Default: '</h3>'.
     2152 *                                        Default `</h3>`.
    21532153 *     @type string $cancel_reply_before  HTML displayed before the cancel reply link.
    21542154 *     @type string $cancel_reply_after   HTML displayed after the cancel reply link.
    21552155 *     @type string $cancel_reply_link    The translatable 'cancel reply' button label. Default 'Cancel reply'.
    21562156 *     @type string $label_submit         The translatable 'submit' button label. Default 'Post a comment'.
    21572157 *     @type string $submit_button        HTML format for the Submit button.
    2158  *                                        Default: '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />'.
     2158 *                                        Default `<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />`.
    21592159 *     @type string $submit_field         HTML format for the markup surrounding the Submit button and comment hidden
    2160  *                                        fields. Default: '<p class="form-submit">%1$s %2$s</a>', where %1$s is the
     2160 *                                        fields. Default `<p class="form-submit">%1$s %2$s</a>`, where %1$s is the
    21612161 *                                        submit button markup and %2$s is the comment hidden fields.
    21622162 *     @type string $format               The comment form format. Default 'xhtml'. Accepts 'xhtml', 'html5'.
    21632163 * }
     
    24412441                                echo apply_filters( 'comment_form_submit_field', $submit_field, $args );
    24422442
    24432443                                /**
    2444                                  * Fires at the bottom of the comment form, inside the closing </form> tag.
     2444                                 * Fires at the bottom of the comment form, inside the closing form tag.
    24452445                                 *
    24462446                                 * @since 1.5.0
    24472447                                 *
  • src/wp-includes/embed.php

     
    313313}
    314314
    315315/**
    316  * Adds oEmbed discovery links in the website <head>.
     316 * Adds oEmbed discovery links in the website head tag.
    317317 *
    318318 * @since 4.4.0
    319319 */
  • src/wp-includes/functions.wp-scripts.php

     
    138138 *                                    as a query string for cache busting purposes. If version is set to false, a version
    139139 *                                    number is automatically added equal to current installed WordPress version.
    140140 *                                    If set to null, no version is added.
    141  * @param bool             $in_footer Optional. Whether to enqueue the script before </body> instead of in the <head>.
    142  *                                    Default 'false'.
     141 * @param bool             $in_footer Optional. Whether to enqueue the script before the closing body tag instead of in the head
     142 *                                    tag. Default 'false'.
    143143 * @return bool Whether the script has been registered. True on success, false on failure.
    144144 */
    145145function wp_register_script( $handle, $src, $deps = array(), $ver = false, $in_footer = false ) {
     
    258258 *                                    as a query string for cache busting purposes. If version is set to false, a version
    259259 *                                    number is automatically added equal to current installed WordPress version.
    260260 *                                    If set to null, no version is added.
    261  * @param bool             $in_footer Optional. Whether to enqueue the script before </body> instead of in the <head>.
    262  *                                    Default 'false'.
     261 * @param bool             $in_footer Optional. Whether to enqueue the script before the closing body tag instead of in the head
     262 *                                    tag. Default 'false'.
    263263 */
    264264function wp_enqueue_script( $handle, $src = '', $deps = array(), $ver = false, $in_footer = false ) {
    265265        $wp_scripts = wp_scripts();
  • src/wp-includes/post-template.php

     
    12771277 *                                         you'd like shown for the home link. 1|true defaults to 'Home'.
    12781278 *     @type string          $link_before  The HTML or text to prepend to $show_home text. Default empty.
    12791279 *     @type string          $link_after   The HTML or text to append to $show_home text. Default empty.
    1280  *     @type string          $before       The HTML or text to prepend to the menu. Default is '<ul>'.
    1281  *     @type string          $after        The HTML or text to append to the menu. Default is '</ul>'.
     1280 *     @type string          $before       The HTML or text to prepend to the menu. Default `<ul>`.
     1281 *     @type string          $after        The HTML or text to append to the menu. Default `</ul>`.
    12821282 *     @type string          $item_spacing Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'discard'.
    12831283 *     @type Walker          $walker       Walker instance to use for listing pages. Default empty (Walker_Page).
    12841284 * }
  • src/wp-includes/theme-compat/header-embed.php

     
    2222        <meta http-equiv="X-UA-Compatible" content="IE=edge">
    2323        <?php
    2424        /**
    25          * Prints scripts or data in the embed template <head> tag.
     25         * Prints scripts or data in the embed template head tag.
    2626         *
    2727         * @since 4.4.0
    2828         */
  • src/wp-includes/theme.php

     
    16291629        }
    16301630
    16311631        /**
    1632          * Modify the Custom CSS Output into the <head>.
     1632         * Modify the Custom CSS Output into the head tag.
    16331633         *
    16341634         * @since 4.7.0
    16351635         *