WordPress.org

Make WordPress Core

Opened 12 months ago

Closed 7 months ago

#44733 closed enhancement (fixed)

Add `un|registered_taxonomy_for_object_type` action

Reported by: soulseekah Owned by: boonebgorges
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: needs-patch
Focuses: Cc:

Description

To go along with registered_taxonomy and unregistered_taxonomy.

Attachments (1)

44733.diff (1.1 KB) - added by soulseekah 12 months ago.

Download all attachments as: .zip

Change History (13)

@soulseekah
12 months ago

#1 @swissspidy
12 months ago

  • Milestone changed from Awaiting Review to 5.0

#2 @boonebgorges
11 months ago

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

In 43558:

Taxonomy: Introduce new hooks when registering/unregistering taxonomies for object types.

Props soulseekah.
Fixes #44733.

#3 @mihdan
11 months ago

Thanks, @soulseekah, this hook was not enough for us

#4 @SergeyBiryukov
11 months ago

  • Keywords fixed-major added
  • Milestone changed from 5.0 to 4.9.9
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening for 4.9.9 consideration.

#5 @SergeyBiryukov
11 months ago

In 43631:

Docs: Update @since version for (un)registered_taxonomy_for_object_type actions introduced in [43558].

See #44733.

#6 @SergeyBiryukov
11 months ago

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

In 43632:

Taxonomy: Introduce new hooks when registering/unregistering taxonomies for object types.

Props soulseekah.
Merges [43558] and [43631] to the 4.9 branch.
Fixes #44733.

#7 @pento
9 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

[43632] needs to be reverted from the 4.9 branch, after which this ticket can be moved to the 5.0.1 milestone.

trunk will need to be updated to reflect the new version.

#8 @boonebgorges
9 months ago

In 43690:

Revert [43632] from the 4.9 branch.

These new hooks are not part of the 4.9.x scope, and will be reintroduced
as part of 5.0.x.

See #44733.

#9 @boonebgorges
9 months ago

  • Milestone changed from 4.9.9 to 5.0.1

I've reverted [43632] from the 4.9 branch. See [43690].

trunk will need to be updated to reflect the new version.

To avoid having to make the change more than once, I'll leave this ticket open, and the since param can be updated once the 5.0.1 scope is locked in.

#10 @pento
7 months ago

  • Milestone changed from 5.0.1 to 5.0.2

#11 @pento
7 months ago

  • Keywords needs-patch added; has-patch fixed-major removed
  • Milestone changed from 5.0.2 to 5.1

With 5.1 only a couple of months away, let's just do it there. The docs need updating.

#12 @boonebgorges
7 months ago

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

In 44321:

Update @since tag on taxonomy hooks to be introduced in 5.1.0.

The hooks were added in [43558] but pulled from the 4.9.x and 5.0.x series.

Fixes #44733.

Note: See TracTickets for help on using tickets.