Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#49660 closed defect (bug) (fixed)

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

Reported by: davidbinda's profile david.binda Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.5 Priority: normal
Severity: trivial Version: 2.9
Component: Rewrite Rules Keywords: has-patch
Focuses: Cc:


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 4 years ago.

Download all attachments as: .zip

Change History (3)

4 years ago

#1 @SergeyBiryukov
4 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 5.5
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @SergeyBiryukov
4 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 47468:

Docs: Correct the description of $hard parameter in flush_rewrite_rules().

Props david.binda.
Fixes #49660.

Note: See TracTickets for help on using tickets.