WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#11853 closed defect (bug) (fixed)

Fixes for default arguments in general_template.php

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

Description

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

Download all attachments as: .zip

Change History (2)

comment:1 ryan4 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.