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:
Peter Westwood
2010-01-08 08:29:55 +00:00
parent f3a95270ad
commit 6422cc2d63
2 changed files with 16 additions and 38 deletions
+15
View File
@@ -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();
}
?>