WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#25732 closed defect (bug) (fixed)

Hooks Docs: wp-admin/includes/theme.php

Reported by: l10n Owned by: kpdesign
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: Inline Docs Keywords: has-patch
Focuses: Cc:
PR Number:

Description

Atached files has docs for themes_api_args, themes_api, themes_api_result in file wp-admin/includes/theme.php

Attachments (3)

theme_doc.diff (1.5 KB) - added by l10n 6 years ago.
25732.diff (2.9 KB) - added by DrewAPicture 6 years ago.
Reworked descriptions + parameters.
25732.2.diff (2.9 KB) - added by DrewAPicture 6 years ago.

Download all attachments as: .zip

Change History (5)

@l10n
6 years ago

@DrewAPicture
6 years ago

Reworked descriptions + parameters.

#1 @DrewAPicture
6 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.8
  • Owner set to kpdesign
  • Status changed from new to reviewing

Reworked theme_doc.diff in 25732.diff.

Notable changes:

  • Added missing parameter descriptions
  • Since $args is cast to an object before the first filter is evaluated, all resulting evaluations of $args as parameters were changed to the type object
  • Reworked the the short descriptions per the suggested language found in the Documenting Tips in the inline docs standards.

@DrewAPicture
6 years ago

#2 @DrewAPicture
6 years ago

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

In 25961:

Inline documentation for hooks in wp-admin/includes/theme.php.

Props l10n for the initial patch.
Fixes #25732.

Note: See TracTickets for help on using tickets.