remove unneccessary dependencies
This commit is contained in:
@ -40,7 +40,7 @@ class Core_Installer extends Base_Installer {
|
||||
if (!(defined('SUNRISE') && SUNRISE)) {
|
||||
|
||||
// translators: %s is a URL to a documentation link.
|
||||
$closte_message = sprintf(__('You are using Closte and they prevent the wp-config.php file from being written to. <a href="%s" target="_blank">Follow these instructions to do it manually</a>.'), wu_get_documentation_url('wp-ultimo-closte-config'));
|
||||
$closte_message = sprintf(__('You are using Closte and they prevent the wp-config.php file from being written to. <a href="%s" target="_blank">Follow these instructions to do it manually</a>.', 'wp-ultimo' ), wu_get_documentation_url('wp-ultimo-closte-config'));
|
||||
|
||||
throw new \Exception($closte_message);
|
||||
|
||||
|
@ -1851,7 +1851,7 @@ class Migrator extends Base_Installer {
|
||||
*/
|
||||
$subscription_creation_date = wu_date($subscription->created_at);
|
||||
|
||||
$trial_end_date = $subscription_creation_date->addDays($subscription->trial)->endOfDay();
|
||||
$trial_end_date = $subscription_creation_date->add( new \DateInterval( 'P' . $subscription->trial . 'D' ) )->setTime( 23, 59, 59 );
|
||||
|
||||
$date_trial_end = $trial_end_date->format('Y-m-d 23:59:59');
|
||||
|
||||
|
Reference in New Issue
Block a user