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
This commit is contained in:
parent
d1ea7a0723
commit
6f636420db
|
@ -48,7 +48,7 @@
|
||||||
// 0 : PclZip Class integrated error handling
|
// 0 : PclZip Class integrated error handling
|
||||||
// 1 : PclError external library error handling. By enabling this
|
// 1 : PclError external library error handling. By enabling this
|
||||||
// you must ensure that you have included PclError library.
|
// you must ensure that you have included PclError library.
|
||||||
// [2,...] : reserved for futur use
|
// [2,...] : reserved for future use
|
||||||
if (!defined('PCLZIP_ERROR_EXTERNAL')) {
|
if (!defined('PCLZIP_ERROR_EXTERNAL')) {
|
||||||
define( 'PCLZIP_ERROR_EXTERNAL', 0 );
|
define( 'PCLZIP_ERROR_EXTERNAL', 0 );
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
define( 'PCLZIP_CB_POST_EXTRACT', 78002 );
|
define( 'PCLZIP_CB_POST_EXTRACT', 78002 );
|
||||||
define( 'PCLZIP_CB_PRE_ADD', 78003 );
|
define( 'PCLZIP_CB_PRE_ADD', 78003 );
|
||||||
define( 'PCLZIP_CB_POST_ADD', 78004 );
|
define( 'PCLZIP_CB_POST_ADD', 78004 );
|
||||||
/* For futur use
|
/* For future use
|
||||||
define( 'PCLZIP_CB_PRE_LIST', 78005 );
|
define( 'PCLZIP_CB_PRE_LIST', 78005 );
|
||||||
define( 'PCLZIP_CB_POST_LIST', 78006 );
|
define( 'PCLZIP_CB_POST_LIST', 78006 );
|
||||||
define( 'PCLZIP_CB_PRE_DELETE', 78007 );
|
define( 'PCLZIP_CB_PRE_DELETE', 78007 );
|
||||||
|
@ -1364,12 +1364,12 @@
|
||||||
// Function : privCheckFormat()
|
// Function : privCheckFormat()
|
||||||
// Description :
|
// Description :
|
||||||
// This method check that the archive exists and is a valid zip archive.
|
// 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 :
|
// Parameters :
|
||||||
// $p_level : Level of check. Default 0.
|
// $p_level : Level of check. Default 0.
|
||||||
// 0 : Check the first bytes (magic codes) (default value))
|
// 0 : Check the first bytes (magic codes) (default value))
|
||||||
// 1 : 0 + Check the central directory (futur)
|
// 1 : 0 + Check the central directory (future)
|
||||||
// 2 : 1 + Check each file header (futur)
|
// 2 : 1 + Check each file header (future)
|
||||||
// Return Values :
|
// Return Values :
|
||||||
// true on success,
|
// true on success,
|
||||||
// false on error, the error code is set.
|
// false on error, the error code is set.
|
||||||
|
@ -1748,7 +1748,7 @@
|
||||||
case PCLZIP_CB_POST_EXTRACT :
|
case PCLZIP_CB_POST_EXTRACT :
|
||||||
case PCLZIP_CB_PRE_ADD :
|
case PCLZIP_CB_PRE_ADD :
|
||||||
case PCLZIP_CB_POST_ADD :
|
case PCLZIP_CB_POST_ADD :
|
||||||
/* for futur use
|
/* for future use
|
||||||
case PCLZIP_CB_PRE_DELETE :
|
case PCLZIP_CB_PRE_DELETE :
|
||||||
case PCLZIP_CB_POST_DELETE :
|
case PCLZIP_CB_POST_DELETE :
|
||||||
case PCLZIP_CB_PRE_LIST :
|
case PCLZIP_CB_PRE_LIST :
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue