Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#60246 closed defect (bug) (fixed)

Docs: incorrect coment in delete_theme() function

Reported by: wildworks's profile wildworks Owned by: audrasjb's profile audrasjb
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch commit
Focuses: docs Cc:


This comment:

// Get the base plugin folder.
$themes_dir = $wp_filesystem->wp_themes_dir();

should be like this:

// Get the base theme folder.
$themes_dir = $wp_filesystem->wp_themes_dir();

Attachments (1)

patch.diff (604 bytes) - added by wildworks 3 months ago.

Download all attachments as: .zip

Change History (4)

3 months ago

#1 @shailu25
3 months ago

  • Keywords has-patch added

#2 @audrasjb
3 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.5
  • Owner set to audrasjb
  • Status changed from new to accepted

Thanks for the ticket and patch!
Self assigning for commit consideration.

#3 @audrasjb
3 months ago

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

In 57280:

Docs: Fix wrong inline comment in delete_theme().

Props wildworks.
Fixes #60246.
See #59651.

Note: See TracTickets for help on using tickets.