Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years 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
2 years ago

  • Version changed from 6.1 to 2.8

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


2 years 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
2 years ago

  • Milestone changed from Awaiting Review to 6.2

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

#4 @costdev
2 years ago

  • Keywords commit added

#5 @audrasjb
2 years ago

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

Self assigning for commit.

#6 @audrasjb
2 years 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
2 years ago

In 54657:

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

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

#9 @jorbin
2 years 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.