WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#39503 closed defect (bug) (fixed)

Add @since tags to methods in class WP_Theme

Reported by: keesiemeijer Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: docs Cc:

Description

The @since tags are missing for the following methods:

  • __construct()
  • __toString()
  • __isset()
  • __get()
  • offsetSet()
  • offsetUnset()
  • offsetExists()
  • offsetGet()
  • get_core_default_theme()

All were introduced in 3.4.0 except get_core_default_theme() which was introduced in 4.4.0

Attachments (1)

39503.patch (2.2 KB) - added by keesiemeijer 7 months ago.
Add @since tags

Download all attachments as: .zip

Change History (4)

@keesiemeijer
7 months ago

Add @since tags

#1 @keesiemeijer
7 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
7 months ago

  • Milestone changed from Awaiting Review to 4.8

#3 @SergeyBiryukov
7 months ago

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

In 39736:

Docs: Add missing @since entries for WP_Theme class methods.

Props keesiemeijer.
Fixes #39503.

Note: See TracTickets for help on using tickets.