EDD-License-handler icon indicating copy to clipboard operation
EDD-License-handler copied to clipboard

Plugins update conflict due to "last_checked = current_time( 'timestamp' );"

Open hiddenpearls opened this issue 7 years ago • 2 comments

Hi @pippinsplugins

I am using EDD_SL_Plugin_Updater class in my plugins but It is being conflicted with Elegant Themes and Plugins.

After a deep debugging with EDD and Elegant themes, I found this code below

$_transient_data->last_checked = current_time( 'timestamp' );

works if I change the current_time( 'timestamp' ); to time();

time() is being used in wp_update_plugins() as well.

So, I think time() should be used instead of current_time( 'timestamp' ); at all places.

Looking forward,

hiddenpearls avatar Dec 16 '17 11:12 hiddenpearls