More phpdoc fixes. Depreceated version numbers for _deprecated_file() calls in wp-includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@12535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5f07ebb275
commit
b13e2ac938
@ -2993,7 +2993,7 @@ function _deprecated_function($function, $version, $replacement=null) {
|
|||||||
* @uses apply_filters() Calls 'deprecated_file_trigger_error' and expects boolean value of true to do trigger or false to not trigger error.
|
* @uses apply_filters() Calls 'deprecated_file_trigger_error' and expects boolean value of true to do trigger or false to not trigger error.
|
||||||
*
|
*
|
||||||
* @param string $file The file that was included
|
* @param string $file The file that was included
|
||||||
* @param string $version The version of WordPress that deprecated the function
|
* @param string $version The version of WordPress that deprecated the file
|
||||||
* @param string $replacement Optional. The file that should have been included based on ABSPATH
|
* @param string $replacement Optional. The file that should have been included based on ABSPATH
|
||||||
*/
|
*/
|
||||||
function _deprecated_file($file, $version, $replacement=null) {
|
function _deprecated_file($file, $version, $replacement=null) {
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
_deprecated_file( basename(__FILE__), '0.0', WPINC . '/registration.php' );
|
_deprecated_file( basename(__FILE__), '2.1', WPINC . '/registration.php' );
|
||||||
require_once(ABSPATH . WPINC . '/registration.php');
|
require_once(ABSPATH . WPINC . '/registration.php');
|
||||||
?>
|
?>
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
|
|
||||||
_deprecated_file( basename(__FILE__), '0.0', WPINC . '/rss.php' );
|
_deprecated_file( basename(__FILE__), '2.1', WPINC . '/rss.php' );
|
||||||
require_once (ABSPATH . WPINC . '/rss.php');
|
require_once (ABSPATH . WPINC . '/rss.php');
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user