WordPress.org

Make WordPress Core

#49660 new defect (bug)

Update the flush_rewrite_rules doc block to use "option" instead of "transient"

Reported by: david.binda Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 2.9
Component: Rewrite Rules Keywords:
Focuses: Cc:

Description

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.

Attachments (1)

49660.diff (605 bytes) - added by david.binda 81 minutes ago.

Download all attachments as: .zip

Change History (1)

@david.binda
81 minutes ago

Note: See TracTickets for help on using tickets.