[wp-trac] [WordPress Trac] #41329: Undefined constants in class WP_Filesystem_Direct

WordPress Trac noreply at wordpress.org
Wed Sep 27 08:33:38 UTC 2017


#41329: Undefined constants in class WP_Filesystem_Direct
----------------------------+-----------------------------
 Reporter:  nabil_kadimi    |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Filesystem API  |     Version:  trunk
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------

Comment (by nabil_kadimi):

 Thanks for your feedback @dd32, I had to use `WP_Filesystem` instead of
 `file_get_contents()` in order to have my theme pass Theme Checker
 validations.

 Thanks for the advice about not using `WP_Filesystem_Direct`.

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


More information about the wp-trac mailing list