Docs: Correct the description of $hard parameter in flush_rewrite_rules().
Props david.binda. Fixes #49660. Built from https://develop.svn.wordpress.org/trunk@47468 git-svn-id: http://core.svn.wordpress.org/trunk@47255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -269,7 +269,7 @@ function add_feed( $feedname, $function ) {
|
||||
* @global WP_Rewrite $wp_rewrite WordPress rewrite component.
|
||||
*
|
||||
* @param bool $hard Whether to update .htaccess (hard flush) or just update
|
||||
* rewrite_rules transient (soft flush). Default is true (hard).
|
||||
* rewrite_rules option (soft flush). Default is true (hard).
|
||||
*/
|
||||
function flush_rewrite_rules( $hard = true ) {
|
||||
global $wp_rewrite;
|
||||
|
||||
Reference in New Issue
Block a user