mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- new member directory;
This commit is contained in:
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
* @param string $replacement
|
||||
*/
|
||||
function um_deprecated_function( $function, $version, $replacement = null ) {
|
||||
if ( is_ajax() ) {
|
||||
if ( UM()->is_ajax() ) {
|
||||
do_action( 'deprecated_function_run', $function, $replacement, $version );
|
||||
$log_string = "The {$function} function is deprecated since version {$version}.";
|
||||
$log_string .= $replacement ? " Replace with {$replacement}." : '';
|
||||
|
||||
Reference in New Issue
Block a user