Ticket #19897 (closed enhancement: fixed)

Opened 4 weeks ago

Last modified 4 weeks ago

Improve documentation of WP_Rewrite

Reported by: duck_ Owned by: duck_
Priority: normal Milestone: 3.4
Component: Inline Docs Version:
Severity: normal Keywords: has-patch
Cc:

Description

The WP_Rewrite class has several documentation issues in need of fixing. The larger changes in the attached patch are:

  • Corrections for WP_Rewrite::$front and WP_Rewrite::$root
  • Improvement for WP_Rewrite::$use_verbose_page_rules
  • Improvements to WP_Rewrite::generate_rewrite_rules() parameters
  • Indentation fixes in code

Related: #16303

Attachments

19897.diff Download (13.0 KB) - added by duck_ 4 weeks ago.

Change History

duck_4 weeks ago

  • Owner set to duck_
  • Status changed from new to closed
  • Resolution set to fixed

In [19752]:

Improve documentation of WP_Rewrite. Fixes #19897.

In particular WP_Rewrite::$front, WP_Rewrite::$root, WP_Rewrite::$use_verbose_page_rules and WP_Rewrite::generate_rewrite_rules(). As well as some code indentation prettification.

Note: See TracTickets for help on using tickets.