[wp-trac] [WordPress Trac] #42265: get_filesystem_method() isn't unique enough

WordPress Trac noreply at wordpress.org
Thu Oct 26 14:15:56 UTC 2017


#42265: get_filesystem_method() isn't unique enough
----------------------------+------------------------------------------
 Reporter:  bikecrazyy      |       Owner:  dd32
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  2.5
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration, performance
----------------------------+------------------------------------------

Comment (by bikecrazyy):

 Hi dd32,

 I think it's important to note that we have all PHP errors/warnings being
 logged for our DEV and TEST sites. Since our TEST is a copy of PROD we
 decided turn on all errors for our PROD box for a few minutes and saw a
 ton PHP error messages that match what we saw in TEST but amplified. Which
 make sense, there is much more traffic hitting our PROD box versus or DEV
 and TEST.

 I asked myself the same question you asked me, why is this method being
 called so much and why is it clashing. So what I did was zip up the whole
 plugins folder and did a text search with WinRAR to get a list of all the
 plugins calling the function ''get_filesystem_method()''. I found four
 plugins that use the method and one of the plugins uses it five times. See
 screen shot below.

 On the more_entropy, I'm not sure if this is the way to go right now but
 this is why I'm here so thanks for any help you can provide.

 Screen shot of all the plugins with the ''get_filesystem_method()'' useage

 [[Image(https://cdn.pbrd.co/images/GQIAg7c.jpg)]]

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


More information about the wp-trac mailing list