Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11921 closed defect (bug) (fixed)

Typo on wp-db.php: @war instead of @var

Reported by: mentel_br's profile mentel_br Owned by:
Milestone: 3.0 Priority: low
Severity: trivial Version: 2.9.1
Component: Inline Docs Keywords: has-patch commit
Focuses: Cc:

Description

A typo on the comments for the declaration of $field_types on "wp-includes/wp-db.php", line 286 on the release 2.9.1 (file revision 12574), line 294 on trunk, file revision 12733.

This typo may prevent the documentation to be generated accordingly.

The line currently reads:

	 * @war array

It should be:

	 * @var array

A patch is attached.

Attachments (1)

wp-db.php.diff (339 bytes) - added by mentel_br 15 years ago.
The patch for wp-includes/wp-db.php

Download all attachments as: .zip

Change History (4)

@mentel_br
15 years ago

The patch for wp-includes/wp-db.php

#1 @nacin
15 years ago

  • Component changed from General to Inline Docs
  • Keywords commit added
  • Milestone changed from Unassigned to 3.0

Could probably use a description, though so could all of the wp-db vars.

#2 @hakre
15 years ago

In #11799 a patch contains valuable information regarding the docblock comments incl. missing var definitions and @since values.

#3 @ryan
15 years ago

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

(In [12763]) Typo fix. Props mentel_br. fixes #11921

Note: See TracTickets for help on using tickets.