[wp-trac] [WordPress Trac] #60246: Docs: incorrect coment in delete_theme() function

WordPress Trac noreply at wordpress.org
Sun Jan 14 08:01:18 UTC 2024


#60246: Docs: incorrect coment in delete_theme() function
--------------------------+-----------------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 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();
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60246>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list