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
This commit is contained in:
parent
e52423e435
commit
05b4e2e094
|
@ -1501,7 +1501,8 @@ class WP_Rewrite {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Refreshes the rewrite rules, saving the fresh value to the database.
|
* 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
|
* @since 6.4.0
|
||||||
*/
|
*/
|
||||||
|
@ -1513,7 +1514,7 @@ class WP_Rewrite {
|
||||||
|
|
||||||
if ( ! did_action( 'wp_loaded' ) ) {
|
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.
|
* Need to give all rules the chance to register.
|
||||||
*/
|
*/
|
||||||
add_action( 'wp_loaded', array( $this, 'flush_rules' ) );
|
add_action( 'wp_loaded', array( $this, 'flush_rules' ) );
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue