Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#50665 closed defect (bug) (fixed)

register_theme_directory() lacked return value description in DocBlock

Reported by: stevenlinx's profile stevenlinx Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: docs Cc:

Description

The description can be:
True if successfully registered a directory that contains themes; otherwise, false.

DevHub:
https://developer.wordpress.org/reference/functions/register_theme_directory/

Attachments (1)

50665.diff (579 bytes) - added by stevenlinx 4 years ago.

Download all attachments as: .zip

Change History (4)

@stevenlinx
4 years ago

#1 @stevenlinx
4 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
4 years ago

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

In 48491:

Docs: Add return value description for register_theme_directory().

Props stevenlinx.
Fixes #50665.

Note: See TracTickets for help on using tickets.