Make WordPress Core

Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#56862 closed defect (bug) (fixed)

Docs: Default parameter value is missing for themes_api function

Reported by: rezakhan995's profile rezakhan995 Owned by: audrasjb's profile audrasjb
Milestone: 6.2 Priority: normal
Severity: normal Version: 2.8
Component: General Keywords: has-patch commit
Focuses: docs Cc:

Description

In wp-admin/includes/theme.php file, themes_api() function inline document does not mention default @param value. $args @param should have the default value mentioned.

Change History (9)

#1 @costdev
21 months ago

  • Version changed from 6.1 to 2.8

This ticket was mentioned in PR #3500 on WordPress/wordpress-develop by rezakhan995.


21 months ago
#2

  • Keywords has-patch added; needs-patch removed

In wp-admin/includes/theme.php file, themes_api() function inline document dose not mentioned default @param value. $args @param should have the default value mentioned.

Trac ticket:

#3 @costdev
21 months ago

  • Milestone changed from Awaiting Review to 6.2

The PR looks good to me! Adding for commit consideration.

#4 @costdev
21 months ago

  • Keywords commit added

#5 @audrasjb
21 months ago

  • Owner set to audrasjb
  • Status changed from new to accepted

Self assigning for commit.

#6 @audrasjb
21 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 54655:

Docs: Add missing default parameter value in themes_api() docblock.

Props rezakhan995, costdev.
Fixes #56862.
See #56792.

#8 @jorbin
21 months ago

In 54657:

Revert accidental 5.9 branch commits [54655] and [54656]

Unprops audrasjb.
See #56867, #56792, #56862, #56792.

#9 @jorbin
21 months ago

In 54659:

Docs: Add missing default parameter value in themes_api() docblock.

Previously: [54655] [54657]

Props rezakhan995, costdev.
Fixes #56862.
See #56792.

Note: See TracTickets for help on using tickets.