[wp-trac] [WordPress Trac] #50687: Consider Banning use of wp_options by Plugins

WordPress Trac noreply at wordpress.org
Fri Jul 17 12:25:42 UTC 2020


#50687: Consider Banning use of wp_options by Plugins
-----------------------------+------------------------------
 Reporter:  thegulshankumar  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:  5.4.2
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:  performance
-----------------------------+------------------------------

Comment (by williampatton):

 Replying to [comment:4 thegulshankumar]:
 > Which Cache layer are you talking about? Please elaborate little more
 detail.

 The Options_API makes use of caching via it's various caller functions.
 You can see some of it in action if you look at the code of
 `get_option()`.
 https://developer.wordpress.org/reference/functions/get_option/

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


More information about the wp-trac mailing list