Changeset 46596 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 10/26/2019 09:07:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r46400 r46596 1062 1062 if ( $signature_verification ) { 1063 1063 /** 1064 * Filters the list of hosts which should have Signature Verification attempted son.1064 * Filters the list of hosts which should have Signature Verification attempted on. 1065 1065 * 1066 1066 * @since 5.2.0 1067 1067 * 1068 * @param arrayList of hostnames.1068 * @param string[] $hostnames List of hostnames. 1069 1069 */ 1070 1070 $signed_hostnames = apply_filters( 'wp_signature_hosts', array( 'wordpress.org', 'downloads.wordpress.org', 's.w.org' ) ); … … 1342 1342 * @since 5.2.0 1343 1343 * 1344 * @return array List of base64-encoded Signing keys.1344 * @return string[] Array of base64-encoded signing keys. 1345 1345 */ 1346 1346 function wp_trusted_keys() { … … 1355 1355 1356 1356 /** 1357 * Filter the valid Signing keys used to verify the contents of files.1357 * Filter the valid signing keys used to verify the contents of files. 1358 1358 * 1359 1359 * @since 5.2.0 1360 1360 * 1361 * @param array$trusted_keys The trusted keys that may sign packages.1361 * @param string[] $trusted_keys The trusted keys that may sign packages. 1362 1362 */ 1363 1363 return apply_filters( 'wp_trusted_keys', $trusted_keys ); … … 1450 1450 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 1451 1451 * 1452 * @param string $fileFull path and filename of ZIP archive.1453 * @param string $toFull path on the filesystem to extract archive to.1454 * @param array$needed_dirs A partial list of required folders needed to be created.1452 * @param string $file Full path and filename of ZIP archive. 1453 * @param string $to Full path on the filesystem to extract archive to. 1454 * @param string[] $needed_dirs A partial list of required folders needed to be created. 1455 1455 * @return true|WP_Error True on success, WP_Error on failure. 1456 1456 */ … … 1581 1581 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 1582 1582 * 1583 * @param string $fileFull path and filename of ZIP archive.1584 * @param string $toFull path on the filesystem to extract archive to.1585 * @param array$needed_dirs A partial list of required folders needed to be created.1583 * @param string $file Full path and filename of ZIP archive. 1584 * @param string $to Full path on the filesystem to extract archive to. 1585 * @param string[] $needed_dirs A partial list of required folders needed to be created. 1586 1586 * @return true|WP_Error True on success, WP_Error on failure. 1587 1587 */ … … 1692 1692 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 1693 1693 * 1694 * @param string $fromSource directory.1695 * @param string $toDestination directory.1696 * @param array $skip_list A listof files/folders to skip copying.1694 * @param string $from Source directory. 1695 * @param string $to Destination directory. 1696 * @param string[] $skip_list An array of files/folders to skip copying. 1697 1697 * @return true|WP_Error True on success, WP_Error on failure. 1698 1698 */
Note: See TracChangeset
for help on using the changeset viewer.