diff --git src/wp-includes/functions.php src/wp-includes/functions.php
index 6fdd49d..030d1f5 100644
|
|
|
function absint( $maybeint ) { |
| 3158 | 3158 | } |
| 3159 | 3159 | |
| 3160 | 3160 | /** |
| 3161 | | * Mark a function as deprecated and informs when it has been used. |
| | 3161 | * Mark a function as deprecated and inform when it has been used. |
| 3162 | 3162 | * |
| 3163 | 3163 | * There is a hook deprecated_function_run that will be called that can be used |
| 3164 | 3164 | * to get the backtrace up to what file and function called the deprecated |
| … |
… |
function _deprecated_function( $function, $version, $replacement = null ) { |
| 3211 | 3211 | } |
| 3212 | 3212 | |
| 3213 | 3213 | /** |
| 3214 | | * Marks a file as deprecated and inform when it has been used. |
| | 3214 | * Mark a file as deprecated and inform when it has been used. |
| 3215 | 3215 | * |
| 3216 | 3216 | * There is a hook deprecated_file_included that will be called that can be used |
| 3217 | 3217 | * to get the backtrace up to what file and function included the deprecated |
| … |
… |
function _deprecated_file( $file, $version, $replacement = null, $message = '' ) |
| 3274 | 3274 | * used by comparing it to its default value or evaluating whether it is empty. |
| 3275 | 3275 | * For example: |
| 3276 | 3276 | * <code> |
| 3277 | | * if ( !empty($deprecated) ) |
| | 3277 | * if ( ! empty( $deprecated ) ) { |
| 3278 | 3278 | * _deprecated_argument( __FUNCTION__, '3.0' ); |
| | 3279 | * } |
| 3279 | 3280 | * </code> |
| 3280 | 3281 | * |
| 3281 | 3282 | * There is a hook deprecated_argument_run that will be called that can be used |