mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Docs: Update spelling for inline comments in a few files.
Per the [https://make.wordpress.org/core/handbook/best-practices/spelling/ spelling] and [https://make.wordpress.org/docs/style-guide/language-grammar/word-choice/ word choice] documentation guidelines, American (US) spelling should be preferred. Props mohadeseghasemi, subrataemfluence, rehanali, SergeyBiryukov. Fixes #46837. git-svn-id: https://develop.svn.wordpress.org/trunk@52640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
* Restart Apache!
|
||||
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
|
||||
*
|
||||
* Note: As of WordPress 2.8, this utilises the PHP5+ function `stream_get_contents()`.
|
||||
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
|
||||
@@ -1395,7 +1395,10 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
|
||||
// Allow for an old version of Sodium_Compat being loaded before the bundled WordPress one.
|
||||
if ( method_exists( 'ParagonIE_Sodium_Compat', 'runtime_speed_test' ) ) {
|
||||
// Run `ParagonIE_Sodium_Compat::runtime_speed_test()` in optimized integer mode, as that's what WordPress utilises during signing verifications.
|
||||
/*
|
||||
* Run `ParagonIE_Sodium_Compat::runtime_speed_test()` in optimized integer mode,
|
||||
* as that's what WordPress utilizes during signing verifications.
|
||||
*/
|
||||
// phpcs:disable WordPress.NamingConventions.ValidVariableName
|
||||
$old_fastMult = ParagonIE_Sodium_Compat::$fastMult;
|
||||
ParagonIE_Sodium_Compat::$fastMult = true;
|
||||
|
||||
@@ -983,7 +983,7 @@ function update_core( $from, $to ) {
|
||||
|
||||
/*
|
||||
* Import $wp_version, $required_php_version, and $required_mysql_version from the new version.
|
||||
* DO NOT globalise any variables imported from `version-current.php` in this function.
|
||||
* DO NOT globalize any variables imported from `version-current.php` in this function.
|
||||
*
|
||||
* BC Note: $wp_filesystem->wp_content_dir() returned unslashed pre-2.8.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user