Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#60246 closed defect (bug) (fixed)

Docs: incorrect coment in delete_theme() function

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

Description

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

Download all attachments as: .zip

Change History (4)

#1 @shailu25
3 years ago

  • Keywords has-patch added

#2 @audrasjb
3 years ago

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

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

#3 @audrasjb
3 years ago

  • Resolution → fixed
  • Status accepted → 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.