[wp-trac] [WordPress Trac] #10913: optimizations are much needed in the FTP filesystem
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 17 08:13:23 UTC 2010
#10913: optimizations are much needed in the FTP filesystem
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Filesystem | Version: 2.8.4
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
Changes (by dd32):
* status: new => accepted
Comment:
This is on the books to be looked at after #10779, which will reduce some
of the calls.
{{{
if ( preg_match("/\.(php|css|js|txt|html|je?pg|png|gif|po|pot|mo)$/i",
$file )
return true;
}}}
::is_file() is used to determine if its a file, and it exists, i believe,
not just if the path looks like a file.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10913#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list