Docs: Switch more docs over to typed array notation, plus some fixes.
See #48303, #41756 Built from https://develop.svn.wordpress.org/trunk@46596 git-svn-id: http://core.svn.wordpress.org/trunk@46393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -175,11 +175,11 @@ class WP_Upgrader {
|
||||
*
|
||||
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
|
||||
*
|
||||
* @param array $directories Optional. A list of directories. If any of these do
|
||||
* not exist, a WP_Error object will be returned.
|
||||
* Default empty array.
|
||||
* @param bool $allow_relaxed_file_ownership Whether to allow relaxed file ownership.
|
||||
* Default false.
|
||||
* @param string[] $directories Optional. Array of directories. If any of these do
|
||||
* not exist, a WP_Error object will be returned.
|
||||
* Default empty array.
|
||||
* @param bool $allow_relaxed_file_ownership Whether to allow relaxed file ownership.
|
||||
* Default false.
|
||||
* @return bool|WP_Error True if able to connect, false or a WP_Error otherwise.
|
||||
*/
|
||||
public function fs_connect( $directories = array(), $allow_relaxed_file_ownership = false ) {
|
||||
|
||||
Reference in New Issue
Block a user