[wp-trac] [WordPress Trac] #49660: Update the flush_rewrite_rules doc block to use "option" instead of "transient"
WordPress Trac
noreply at wordpress.org
Tue Mar 17 16:19:48 UTC 2020
#49660: Update the flush_rewrite_rules doc block to use "option" instead of
"transient"
---------------------------+-----------------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 2.9
Severity: trivial | Keywords:
Focuses: |
---------------------------+-----------------------------
In r12061 the temporary usage of transient for storing rewrite rules (
introduced in r10512 ) has been reverted back to option, but the
documentation still says:
> @param bool $hard Whether to update .htaccess (hard flush) or just
update
> rewrite_rules transient (soft flush). Default is true (hard).
It should be updated to `rewrite_rules option` to reflect the method
WordPress is using for storing the rewrite rules.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49660>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list