Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#37224 closed defect (bug) (fixed)

term_exist PHPDoc does not state clearly what string argument allows

Reported by: kenshino's profile Kenshino Owned by: boonebgorges's profile boonebgorges
Milestone: 4.7 Priority: normal
Severity: normal Version: 3.0
Component: Taxonomy Keywords: has-patch commit good-first-bug
Focuses: docs Cc:

Description

For

<?php
term_exists(); // Line 1381
?>


PHPDoc does not state clearly what the string option within the int|string argument allows

Attachments (2)

37224.patch (774 bytes) - added by Kenshino 7 years ago.
Patch to fix PHPDoc
37224.2.patch (767 bytes) - added by Kenshino 7 years ago.
Updated patch with doc description altered as discussed on Slack

Download all attachments as: .zip

Change History (8)

@Kenshino
7 years ago

Patch to fix PHPDoc

#1 @Kenshino
7 years ago

  • Keywords needs-docs has-patch added

#2 @DrewAPicture
7 years ago

  • Focuses docs added
  • Keywords needs-docs removed
  • Type changed from enhancement to defect (bug)
  • Version changed from trunk to 3.0

@Kenshino
7 years ago

Updated patch with doc description altered as discussed on Slack

This ticket was mentioned in Slack in #docs by morganestes. View the logs.


7 years ago

#4 @morganestes
7 years ago

  • Keywords commit good-first-bug added

This looks good and applies cleanly.

#5 @swissspidy
7 years ago

  • Milestone changed from Awaiting Review to 4.7

#6 @boonebgorges
7 years ago

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

In 38716:

Docs: Improve description for term_exists() $term param.

Props Kenshino.
Fixes #37224.

Note: See TracTickets for help on using tickets.