Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#45120 closed enhancement (fixed)

the wp_list_authors function has bugs between code and document

Reported by: haruharuharuby Owned by: pento
Priority: normal Milestone: 5.1
Component: Users Version: 5.1
Severity: normal Keywords: has-patch commit
Cc: Focuses: docs

Description

I found a rug between a document and current code.

In the wp_list_authors function

In the code, the default value of exlucde_admin parameter is true. But In the document is false.

https://codex.wordpress.org/Template_Tags/wp_list_authors

Attachments (1)

author_ducument.diff (1.1 KB ) - added by haruharuharuby 8 years ago.
this is the patch file of wp-includes/author-template.php

Download all attachments as: .zip

Change History (8)

@haruharuharuby
8 years ago

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

#1 @SergeyBiryukov
8 years ago

  • Component GeneralUsers
  • Focuses docs added
  • Keywords has-patch commit added
  • Milestone Awaiting Review5.0.1

#2 @mukesh27
8 years ago

  • Summary the wp_list_authors function has rugs between code and documentthe wp_list_authors function has bugs between code and document

#3 @pento
8 years ago

  • Milestone 5.0.15.0.2

#4 @pento
8 years ago

  • Milestone 5.0.25.0.3

#5 @audrasjb
8 years ago

  • Milestone 5.0.35.1

Hi,

Per today's bug scrub, we are going to address Docs enhancements in 5.1, coming next month.

#6 @pento
8 years ago

  • Owner set to pento
  • Status newassigned

#7 @pento
8 years ago

  • Resolutionfixed
  • Status assignedclosed

In 44503:

Docs: Correct the documentation for wp_list_authors().

The exclude_admin argument defaults to true, not false.

Props haruharuharuby.
Fixes #45120.

Note: See TracTickets for help on using tickets.