Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19897 closed enhancement (fixed)

Improve documentation of WP_Rewrite

Reported by: duck_'s profile duck_ Owned by: duck_'s profile duck_
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: 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 (1)

19897.diff (13.0 KB) - added by duck_ 13 years ago.

Download all attachments as: .zip

Change History (2)

@duck_
13 years ago

#1 @duck_
13 years ago

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

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.