Code of Conduct
Submission validity
Summary
Hi, this get_all_options filter has apparently been deprecated and does not allow getting all options anymore. And as far as I can figure, there is no alternative wrapper function available...
Motivation
For effective persistant options caching, plugins like APC Cache and YAPCache depended on the get_all_options filter. This filter has apparently been deprecated and does not allow getting all options anymore. This is needed to populate the cache.
Describe the solution
On includes/Database/Options.php line 78 there is currently yourls_apply_filter('get_all_options', 'deprecated');
What if that was replaced with yourls_do_action('get_all_options', $options); then a cache plugin could hook there and fetch all options at that time to populate the persistant cache.
Code of Conduct
Submission validity
Summary
Hi, this get_all_options filter has apparently been deprecated and does not allow getting all options anymore. And as far as I can figure, there is no alternative wrapper function available...
Motivation
For effective persistant options caching, plugins like APC Cache and YAPCache depended on the get_all_options filter. This filter has apparently been deprecated and does not allow getting all options anymore. This is needed to populate the cache.
Describe the solution
On includes/Database/Options.php line 78 there is currently
yourls_apply_filter('get_all_options', 'deprecated');What if that was replaced with
yourls_do_action('get_all_options', $options);then a cache plugin could hook there and fetch all options at that time to populate the persistant cache.