Filesystem API: Update WP_Filesystem_FTPext::$link phpdoc type.

This accounts for when `ftp_ssl_connect()`/`ftp_connect()` returns `false` as well as for when `FTP\Connection` is returned instead of `resource` as of PHP 8.1. 

Props SirLouen, kalpeshh, audrasjb.
Fixes #63201.

Built from https://develop.svn.wordpress.org/trunk@61116


git-svn-id: http://core.svn.wordpress.org/trunk@60452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2025-11-03 21:38:34 +00:00
parent 5e3455d88b
commit 71dab9f7cf
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
/**
* @since 2.5.0
* @var resource
* @var FTP\Connection|resource|false
*/
public $link;

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-beta2-61115';
$wp_version = '6.9-beta2-61116';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.