Make WordPress Core

Opened 5 years ago

Closed 5 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 5 years ago.

Download all attachments as: .zip

Change History (4)

@stevenlinx
5 years ago

#1 @stevenlinx
5 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
5 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.