EDD-License-handler
EDD-License-handler copied to clipboard
Plugins update conflict due to "last_checked = current_time( 'timestamp' );"
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,