WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33480, comment 17


Ignore:
Timestamp:
08/24/2015 06:30:09 AM (6 years ago)
Author:
jobst
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33480, comment 17

    initial v1  
    1818It should really do below to get the required (username) info:
    1919{{{
    20  $username = $this->run_command(sprintf('stat -c %U %s', escapeshellarg($file)), true);
     20 $username = $this->run_command(sprintf('stat -c \'%U\' %s', escapeshellarg($file)), true);
    2121 return $username;
    2222}}}