WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#38382 closed defect (bug) (fixed)

Twenty Seventeen: Filters are not documented

Reported by: ocean90 Owned by: davidakennedy
Milestone: 4.7 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: good-first-bug has-patch
Focuses: docs Cc:

Description

Twenty Fifteen has 5 filters and 4 are documented, Twenty Sixteen has 8 filters and 6 are documented.
Twenty Seventeen has 4 filters and none are documented.

See https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#4-hooks-actions-and-filters

Attachments (1)

38382.diff (4.3 KB) - added by brainstormforce 4 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ocean90
4 years ago

  • Focuses docs added
  • Keywords needs-patch good-first-bug added

#2 @brainstormforce
4 years ago

Patch adds doc blocks for filters in Twenty Fifteen and Twenty Seventeen

#3 @davidakennedy
4 years ago

  • Keywords has-patch added; needs-patch removed

#4 @davidakennedy
4 years ago

  • Owner set to davidakennedy
  • Resolution set to fixed
  • Status changed from new to closed

In 38846:

Twenty Fifteen, Twenty Seventeen: Add documentation to filters in themes.

Documents a missing one Twenty Fifteen and all four missing ones in Twenty Seventeen.

Props brainstormforce.

Fixes #38382.

Note: See TracTickets for help on using tickets.