mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
In WP_Filesystem_Base::chdir|chgrp|chmod()
(all mock abstract
methods), modify @return
to include string
so that subclass @return
s match.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32962 git-svn-id: http://core.svn.wordpress.org/trunk@32933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
40325262ef
commit
60b8e86b36
@ -492,7 +492,7 @@ class WP_Filesystem_Base {
|
||||
* @since 2.5.0
|
||||
* @abstract
|
||||
* @param string $dir The new current directory.
|
||||
* @return bool Returns true on success or false on failure.
|
||||
* @return bool|string
|
||||
*/
|
||||
public function chdir( $dir ) {
|
||||
return false;
|
||||
@ -506,7 +506,7 @@ class WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param mixed $group A group name or number.
|
||||
* @param bool $recursive Optional. If set True changes file group recursively. Defaults to False.
|
||||
* @return bool Returns true on success or false on failure.
|
||||
* @return bool|string
|
||||
*/
|
||||
public function chgrp( $file, $group, $recursive = false ) {
|
||||
return false;
|
||||
@ -520,7 +520,7 @@ class WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param int $mode Optional. The permissions as octal number, usually 0644 for files, 0755 for dirs.
|
||||
* @param bool $recursive Optional. If set True changes file group recursively. Defaults to False.
|
||||
* @return bool Returns true on success or false on failure.
|
||||
* @return bool|string
|
||||
*/
|
||||
public function chmod( $file, $mode = false, $recursive = false ) {
|
||||
return false;
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32961';
|
||||
$wp_version = '4.3-alpha-32962';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user