[wp-trac] [WordPress Trac] #16287: get_option() - store retrieved option in a global array?

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 18 15:52:28 UTC 2011

#16287: get_option() - store retrieved option in a global array?
 Reporter:  digitalnature         |       Owner:
     Type:  enhancement           |      Status:  closed
 Priority:  normal                |   Milestone:
Component:  Database              |     Version:  3.1
 Severity:  normal                |  Resolution:  invalid
 Keywords:  get_option, database  |

Comment (by digitalnature):

 @scribu: did you test it?

 try for example the recent comments widget, comment out this line in
 add_action( 'comment_post', array(&$this, 'flush_widget_cache') );

 then post a new comment. theoretically you shouldn't see it in the widget.

 I don't think the default cache system works. I tested this both on
 localhost and on a shared host, same behaviour. But it does work when
 activating plugins mentioned here -

Ticket URL: <http://core.trac.wordpress.org/ticket/16287#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list