Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#11853 closed defect (bug) (fixed)

Fixes for default arguments in general_template.php

Reported by: sirzooro's profile sirzooro Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Inline Docs Keywords: has-patch
Focuses: Cc:


  • updated Inline Docs - added information that arguments are optional where necessary;
  • added array() as default value for feed_links() and feed_links_extra() (current description for them is "Optional arguments". If someone will call them directly from theme without passing argument, php will generate warning).

Attachments (1)

general_template.php.diff (4.9 KB) - added by sirzooro 13 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
13 years ago

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

(In [12687]) phpdoc updates. Props sirzooro. fixes #11853

Note: See TracTickets for help on using tickets.