[wp-trac] [WordPress Trac] #37978: Warning: posix_getpwuid() has been disabled for security reasons

WordPress Trac noreply at wordpress.org
Tue Apr 23 01:39:20 UTC 2019


#37978: Warning: posix_getpwuid() has been disabled for security reasons
----------------------------+------------------------------
 Reporter:  AndyDeGroo      |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  4.6.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+------------------------------

Comment (by dd32):

 Replying to [comment:7 desrosj]:
 > do you still feel this is worth tackling?

 I'd like to think that `disable_functions` would stop being used by hosts,
 but it's probably going to stick around..

 I see no harm in doing this, adding extra cover for the various functions
 hosts disable for some strange reason, etc

 But I also see no rush in doing it (as evidenced by the age of these and
 similar tickets, and limited reports of running into disable_function
 warnings)

 Personally I'd `maybelater`/`wontfix` it, encourage hosts to set
 `display_errors` to `false` for production sites unless debugging is
 enabled or something (although I believe most hosts would disagree, as
 otherwise customers would never see the errors)

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


More information about the wp-trac mailing list