From 05b4e2e094f7bd0b84c2ba65c90b532767ee2c75 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 19 Oct 2024 23:54:18 +0000 Subject: [PATCH] Docs: Fix typo in a comment in `WP_Rewrite::refresh_rewrite_rules()`. Includes adjusting the method DocBlock per the documentation standards. Follow-up to [56448]. See #61608. Built from https://develop.svn.wordpress.org/trunk@59258 git-svn-id: http://core.svn.wordpress.org/trunk@58650 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-rewrite.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-rewrite.php b/wp-includes/class-wp-rewrite.php index 0d081ada91..c081559872 100644 --- a/wp-includes/class-wp-rewrite.php +++ b/wp-includes/class-wp-rewrite.php @@ -1501,7 +1501,8 @@ class WP_Rewrite { /** * Refreshes the rewrite rules, saving the fresh value to the database. - * If the `wp_loaded` action has not occurred yet, will postpone saving to the database. + * + * If the {@see 'wp_loaded'} action has not occurred yet, will postpone saving to the database. * * @since 6.4.0 */ @@ -1513,7 +1514,7 @@ class WP_Rewrite { if ( ! did_action( 'wp_loaded' ) ) { /* - * Is not safe to save the results right now, as the rules may be partial. + * It is not safe to save the results right now, as the rules may be partial. * Need to give all rules the chance to register. */ add_action( 'wp_loaded', array( $this, 'flush_rules' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 22ce0efb45..0c2d3e52bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta3-59257'; +$wp_version = '6.7-beta3-59258'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.