WordPress.org

Make WordPress Core

Ticket #45120: author_ducument.diff

File author_ducument.diff, 1.1 KB (added by haruharuharuby, 8 months ago)

this is the patch file of wp-includes/author-template.php

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

    diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php
    index 43945cde8a..edaf353efc 100644
    a b function get_author_posts_url( $author_id, $author_nicename = '' ) { 
    389389 *     @type string       $order         Sorting direction for $orderby. Accepts 'ASC', 'DESC'. Default 'ASC'.
    390390 *     @type int          $number        Maximum authors to return or display. Default empty (all authors).
    391391 *     @type bool         $optioncount   Show the count in parenthesis next to the author's name. Default false.
    392  *     @type bool         $exclude_admin Whether to exclude the 'admin' account, if it exists. Default false.
     392 *     @type bool         $exclude_admin Whether to exclude the 'admin' account, if it exists. Default true.
    393393 *     @type bool         $show_fullname Whether to show the author's full name. Default false.
    394394 *     @type bool         $hide_empty    Whether to hide any authors with no posts. Default true.
    395395 *     @type string       $feed          If not empty, show a link to the author's feed and use this text as the alt