[wp-trac] [WordPress Trac] #60787: get_registered_meta_keys() should allow for late registration to improve performance

WordPress Trac noreply at wordpress.org
Sun Mar 17 16:56:53 UTC 2024


#60787: get_registered_meta_keys() should allow for late registration to improve
performance
--------------------------------+------------------------------
 Reporter:  sc0ttkclark         |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  performance
--------------------------------+------------------------------

Comment (by sc0ttkclark):

 I should note that the developer will probably need more than just
 changing the action name, they will want to also include logic to check if
 their action has already been run to prevent it being called again when
 multiple blocks have post meta binding on and in other use-cases which
 have `get_registered_meta_keys()` called on the same page load.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60787#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list