[wp-trac] [WordPress Trac] #48199: Check for whether the themes directory writable is incorrect when the current theme is symlinked into the theme directory

WordPress Trac noreply at wordpress.org
Mon Apr 27 16:34:49 UTC 2020


#48199: Check for whether the themes directory writable is incorrect when the
current theme is symlinked into the theme directory
--------------------------+---------------------
 Reporter:  pbiron        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.5
Component:  Site Health   |     Version:  5.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by pbiron):

 [https://core.trac.wordpress.org/attachment/ticket/48199/48199.diff
 48199.diff] corrects the immediate problem:

 * the check is done on a sub-directory within `WP_CONTENT_DIR`
 * the temp file is correctly deleted even when the theme's directory is
 symlink'd (on Windows)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48199#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list