Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#44407 new enhancement

Please add page_attributes_meta_box_parent action to meta-boxes.php

Reported by: garrett-eclipse's profile garrett-eclipse Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: General Keywords:
Focuses: Cc:



Can we add a new action after the 'Parent' label to match the one that follows after the 'Template' label.

Placement for new action -

Existing action for 'Template' -

Thank you

Change History (2)

#1 @swissspidy
6 years ago

What‘s a use case for that?

#2 @garrett-eclipse
6 years ago

I wanted to inject a grandparent selector in that position, I relied heavily on ajax for the logic so simply injected it via jQuery instead. With that though there was slim pickings for targetting so ended up having to traverse up from $('[for="parent_id"]) and created #44408 to address that and make it easier to target/manipulate the individual attributes via css/js.
So I'm able to jQuery what I needed for this specific ticket can be minor if anything
Thank you

Version 0, edited 6 years ago by garrett-eclipse (next)
Note: See TracTickets for help on using tickets.