Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#43507 closed defect (bug) (fixed)

Update hook docs in wp-admin/edit-tag-form.php to use `WP_Term` instead of generic `object` type

Reported by: ocean90 Owned by: xhezairi
Priority: normal Milestone: 5.1
Component: Taxonomy Version:
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

wp-admin/edit-tag-form.php still uses object for all $tag parameters although we now have a specific WP_Term object, see [34997].

https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-admin/term.php?marks=23,67#L21

Attachments (1)

0001-Update-docs.patch (4.9 KB ) - added by xhezairi 9 years ago.
Update hook docs to use WP_Term instead of object.

Download all attachments as: .zip

Change History (6)

@xhezairi
9 years ago

Update hook docs to use WP_Term instead of object.

#1 @xhezairi
9 years ago

  • Keywords has-patch added; needs-patch removed

#2 @netweb
9 years ago

  • Keywords good-first-bug removed
  • Owner set to xhezairi
  • Status newassigned

#3 @SergeyBiryukov
9 years ago

  • Milestone Future Release5.0

#4 @SergeyBiryukov
9 years ago

  • Resolutionfixed
  • Status assignedclosed

In 42822:

Docs: Use WP_Term instead of generic object type for the $tag parameter in wp-admin/edit-tag-form.php hook docs.

Props xhezairi, ocean90.
Fixes #43507.

#5 @johnbillion
8 years ago

  • Milestone 5.05.1
Note: See TracTickets for help on using tickets.