Make WordPress Core

Opened 14 months ago

Closed 12 months ago

Last modified 12 months ago

#59906 closed enhancement (invalid)

Navigation link block variations - Maybe backport into core

Reported by: gaambo's profile gaambo Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

In Gutenberg PR 54801 some functions were added to the navigation link blocks php file to register variations for all post types/taxonomies.

@andraganescu asked me to open a ticket here, to check if those changes would need to be manually backported and moved somewhere else in core?
As I understand, if those should just stay in the blocks index.php file, they will get merged into core with the gutenberg packages update. But since those are a few functions and the blocks php file is getting longer, it may make sense to put them somewhere else?

Also there's another PR which fixes some things in this functionality and also a PR for the post-terms block which handles the same thing.
So there are two blocks which hook into registered_post_type/registered_taxonoomy. A point could be made, to combine those two. But I think, having them in the blocks directly, is more clear.

Change History (2)

#1 @gaambo
12 months ago

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

#2 @swissspidy
12 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.