[wp-trac] [WordPress Trac] #27838: wp-admin/setup-config.php uses is_writable rather than win_is_writable

WordPress Trac noreply at wordpress.org
Wed Apr 16 20:44:50 UTC 2014


#27838: wp-admin/setup-config.php uses is_writable rather than win_is_writable
-----------------------------+------------------------------
 Reporter:  israelshirk      |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.9
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+------------------------------

Comment (by johnbillion):

 Thanks for the patch israelshirk!

 WordPress has its own handy function we can use instead -
 [https://core.trac.wordpress.org/browser/tags/3.9/src/wp-
 includes/functions.php#L1552 wp_is_writable()]. I'm not sure why it's not
 used everywhere we use `is_writable()`.

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


More information about the wp-trac mailing list