mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Deprecate get_alloptions(). Fixes #4915 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1899,4 +1899,19 @@ function _nc( $single, $plural, $number, $domain = 'default' ) {
|
||||
_deprecated_function(__FUNCTION__, '2.9', '_nx' );
|
||||
return before_last_bar( _n( $single, $plural, $number, $domain ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve all autoload options, or all options if no autoloaded ones exist.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @deprecated 3.0.0
|
||||
* @deprecated Use wp_load_alloptions())
|
||||
* @see wp_load_alloptions()
|
||||
*
|
||||
* @return array List of all options.
|
||||
*/
|
||||
function get_alloptions() {
|
||||
_deprecated_function( __FUNCTION__, '3.0', 'wp_load_alloptions()' );
|
||||
return wp_load_alloptions();
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user