[wp-trac] [WordPress Trac] #57502: Add object cache to wp_get_global_settings()

WordPress Trac noreply at wordpress.org
Thu Jan 26 15:31:38 UTC 2023


#57502: Add object cache to wp_get_global_settings()
-------------------------------------------------+-------------------------
 Reporter:  oandregal                            |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests gutenberg-  |     Focuses:
  merge                                          |  performance
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 Replying to [comment:10 oandregal]:
 > I didn't know that existed, though it is focused on stylesheet and SVG
 filters? Either using this one or consolidating works for me.

 > 3712 is for the wp_get_global_stylesheet and 3789 is for the
 wp_get_global_settings function, so they touch different functions.
 However, they both need to add back the theme_json group to the non-
 persistent groups. Whatever lands first, we can remove the changes from
 the other PR. Does that help?

 Imagine me doing :facepalm: right now. I completely read it wrong. These 2
 tickets and their PRs are for different functions and backports. Sorry for
 the confusion.

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


More information about the wp-trac mailing list