[wp-trac] [WordPress Trac] #25714: Notices with translation upgrade

WordPress Trac noreply at wordpress.org
Sun Oct 27 21:23:17 UTC 2013


#25714: Notices with translation upgrade
------------------------------+------------------------------
 Reporter:  GregLone          |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  3.7
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+------------------------------

Comment (by GregLone):

 Replying to [comment:9 azaozz]:
 > Can we check if `defined('FS_METHOD') && FS_METHOD === 'direct'` and
 throw another warning when a file fails to copy? Including a link to
 http://codex.wordpress.org/Editing_wp-
 config.php#WordPress_Upgrade_Constants would be good.
 The filter `'filesystem_method'` can also interfere.
 I don't know if it's the best way, but personally, I check the filesystem
 method like this:
 {{{
 $credentials = request_filesystem_credentials( wp_nonce_url('update-
 core.php?action=do-core-upgrade', 'upgrade-core'), '', false, ABSPATH );
 $fs_method   = get_filesystem_method( $credentials, ABSPATH );
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25714#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list