Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19897 closed enhancement (fixed)

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: Focuses:

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_ 15 years ago.

Download all attachments as: .zip

Change History (2)

@duck_
15 years ago

#1 @duck_
15 years ago

  • Owner set to duck_
  • Resolution → fixed
  • Status new → 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.