Opened 3 years ago

Closed 3 years ago

#11921 closed defect (bug) (fixed)

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

Reported by: mentel_br Owned by:
Priority: low Milestone: 3.0
Component: Inline Docs Version: 2.9.1
Severity: trivial Keywords: has-patch commit
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 3 years ago.
The patch for wp-includes/wp-db.php

Download all attachments as: .zip

Change History (4)

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

  • 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.

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

comment:3   ryan3 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.