Skip to content

Commit 8b5d99c

Browse files
committed
fix typo and docs standards
1 parent 11895a7 commit 8b5d99c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ Once you've decided to commit the time to seeing your pull request through, [ple
903903

904904
## Support
905905

906-
Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
906+
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
907907

908908

909909
*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*

src/DB_Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public function export( $args, $assoc_args ) {
505505
} else {
506506
// phpcs:ignore WordPress.WP.AlternativeFunctions.rand_mt_rand -- WordPress is not loaded.
507507
$hash = substr( md5( mt_rand() ), 0, 7 );
508-
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
508+
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date.
509509

510510
}
511511
$stdout = ( '-' === $result_file );
@@ -852,7 +852,7 @@ public function size( $args, $assoc_args ) {
852852

853853
if ( $tables || $all_tables || $all_tables_with_prefix ) {
854854

855-
// Add all of the table sizes
855+
// Add all of the table sizes.
856856
foreach ( Utils\wp_get_table_names( $args, $assoc_args ) as $table_name ) {
857857

858858
// Get the table size.
@@ -902,7 +902,7 @@ public function size( $args, $assoc_args ) {
902902
if ( ! defined( 'TB_IN_BYTES' ) ) {
903903
define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES );
904904
}
905-
// phpcs:enable
905+
// phpcs:enable.
906906

907907
if ( $human_readable ) {
908908
$size_key = floor( log( $row['Size'] ) / log( 1000 ) );

0 commit comments

Comments
 (0)