[wp-trac] [WordPress Trac] #62693: check if chmod is available to prevent Fatal Errors

WordPress Trac noreply at wordpress.org
Sat Dec 14 20:07:59 UTC 2024


#62693: check if chmod is available to prevent Fatal Errors
--------------------------+------------------------------
 Reporter:  maltfield     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Security      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by maltfield):

 As a workaround, upload capabilities can be restored by adding this to the
 top of your `wp-config.php` until this bug is fixed

 {{{
 if( ! function_exists('chmod') ){
         function chmod(){
                 return;
         }
 }
 }}}

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


More information about the wp-trac mailing list