From 6f636420db873f99022f8c1885d1c4e02cb107f8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 31 Mar 2024 05:52:15 +0000 Subject: [PATCH] Docs: Fix a few typos in `wp-admin/includes/class-pclzip.php`. Follow-up to [6779], [47123], [55827]. Props nithins53, nithi22, mukesh27. Fixes #60818. Built from https://develop.svn.wordpress.org/trunk@57901 git-svn-id: http://core.svn.wordpress.org/trunk@57402 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-pclzip.php | 12 ++++++------ wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/includes/class-pclzip.php b/wp-admin/includes/class-pclzip.php index 963f31178c..658fda5f22 100644 --- a/wp-admin/includes/class-pclzip.php +++ b/wp-admin/includes/class-pclzip.php @@ -48,7 +48,7 @@ // 0 : PclZip Class integrated error handling // 1 : PclError external library error handling. By enabling this // you must ensure that you have included PclError library. - // [2,...] : reserved for futur use + // [2,...] : reserved for future use if (!defined('PCLZIP_ERROR_EXTERNAL')) { define( 'PCLZIP_ERROR_EXTERNAL', 0 ); } @@ -166,7 +166,7 @@ define( 'PCLZIP_CB_POST_EXTRACT', 78002 ); define( 'PCLZIP_CB_PRE_ADD', 78003 ); define( 'PCLZIP_CB_POST_ADD', 78004 ); - /* For futur use + /* For future use define( 'PCLZIP_CB_PRE_LIST', 78005 ); define( 'PCLZIP_CB_POST_LIST', 78006 ); define( 'PCLZIP_CB_PRE_DELETE', 78007 ); @@ -1364,12 +1364,12 @@ // Function : privCheckFormat() // Description : // This method check that the archive exists and is a valid zip archive. - // Several level of check exists. (futur) + // Several level of check exists. (future) // Parameters : // $p_level : Level of check. Default 0. // 0 : Check the first bytes (magic codes) (default value)) - // 1 : 0 + Check the central directory (futur) - // 2 : 1 + Check each file header (futur) + // 1 : 0 + Check the central directory (future) + // 2 : 1 + Check each file header (future) // Return Values : // true on success, // false on error, the error code is set. @@ -1748,7 +1748,7 @@ case PCLZIP_CB_POST_EXTRACT : case PCLZIP_CB_PRE_ADD : case PCLZIP_CB_POST_ADD : - /* for futur use + /* for future use case PCLZIP_CB_PRE_DELETE : case PCLZIP_CB_POST_DELETE : case PCLZIP_CB_PRE_LIST : diff --git a/wp-includes/version.php b/wp-includes/version.php index 722af9cbdf..f9c42bcbd6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57900'; +$wp_version = '6.6-alpha-57901'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.