Skip to content

Instantly share code, notes, and snippets.

@nacin
Forked from rlerdorf/gist:5530518
Last active December 17, 2015 02:08
Show Gist options
  • Save nacin/5533549 to your computer and use it in GitHub Desktop.
Save nacin/5533549 to your computer and use it in GitHub Desktop.
PemFTP
--------------------------------
File : wp-admin/includes/class-ftp.php:508
Reason : UseUndeclaredVariable
Snippet : $arg
Line : return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
--------------------------------
File : wp-admin/includes/class-ftp.php:508
Reason : UseUndeclaredVariable
Snippet : $arg
Line : return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
--------------------------------
File : wp-admin/includes/class-ftp.php:587
Reason : UseUndeclaredVariable
Snippet : $rest
Line : if($this->_can_restore and $rest!=0) fseek($fp, $rest);
--------------------------------
File : wp-admin/includes/class-ftp.php:587
Reason : UseUndeclaredVariable
Snippet : $rest
Line : if($this->_can_restore and $rest!=0) fseek($fp, $rest);
--------------------------------
File : wp-admin/includes/class-ftp.php:594
Reason : UseUndeclaredVariable
Snippet : $rest
Line : if($this->_can_restore and $rest!=0) $this->restore($rest);
--------------------------------
File : wp-admin/includes/class-ftp.php:594
Reason : UseUndeclaredVariable
Snippet : $rest
Line : if($this->_can_restore and $rest!=0) $this->restore($rest);
--------------------------------
File : wp-admin/includes/class-ftp.php:813
Reason : UnknownObjectMethod
Snippet : $this->my_regexp('^' . $tester . '$', $string)
Line : if($this->my_regexp("^$tester$",$string)) return true;
--------------------------------
File : wp-admin/includes/class-ftp.php:763
Reason : TooManyArgument
Snippet : $this->mkdir($dir, $mode)
Line : $r=$this->mkdir($dir, $mode);
PclZip
--------------------------------
File : wp-admin/includes/class-pclzip.php:2737
Reason : UseUndeclaredVariable
Snippet : $v_file
Line : @fclose($v_file);
--------------------------------
File : wp-admin/includes/class-pclzip.php:3969
Reason : UseUndeclaredVariable
Snippet : $v_file
Line : fclose($v_file);
WordPress core #24277
--------------------------------
File : wp-admin/includes/class-wp-filesystem-ssh2.php:187
Reason : UseUndeclaredVariable
Snippet : $mode
Line : return $this->run_command(sprintf('chgrp %o %s', $mode, escapeshellarg($file)), true);
--------------------------------
File : wp-admin/includes/class-wp-filesystem-ssh2.php:188
Reason : UseUndeclaredVariable
Snippet : $mode
Line : return $this->run_command(sprintf('chgrp -R %o %s', $mode, escapeshellarg($file)), true);
--------------------------------
File : wp-admin/includes/class-wp-filesystem-ssh2.php:213
Reason : UseUndeclaredVariable
Snippet : $mode
Line : return $this->run_command(sprintf('chown %o %s', $mode, escapeshellarg($file)), true);
--------------------------------
File : wp-admin/includes/class-wp-filesystem-ssh2.php:214
Reason : UseUndeclaredVariable
Snippet : $mode
Line : return $this->run_command(sprintf('chown -R %o %s', $mode, escapeshellarg($file)), true);
ID3
--------------------------------
File : wp-includes/ID3/module.tag.id3v2.php:1888
Reason : UseUndeclaredVariable
Snippet : $frame_indexpoints
Line : for ($i = 0; $i < $frame_indexpoints; $i++) {
--------------------------------
File : wp-includes/ID3/module.tag.id3v2.php:433
Reason : TooFewArgument
Snippet : substr($footer[5])
Line : $id3_flags = ord(substr($footer{5}));
--------------------------------
File : wp-includes/ID3/module.tag.id3v2.php:1586
Reason : StatementHasNoEffect
Snippet : $frame_ownerid == '';
Line : $frame_ownerid == '';
--------------------------------
File : wp-includes/ID3/module.audio.mp3.php:37
Reason : TooManyArgument
Snippet : $this->getOnlyMPEGaudioInfoBruteForce($this->getid3->fp, $info)
Line : $this->getOnlyMPEGaudioInfoBruteForce($this->getid3->fp, $info);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment