rebase code on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:51:46 -04:00
parent b16ad94b69
commit 8f1a2c3a66
2197 changed files with 184921 additions and 35568 deletions

View File

@@ -15,7 +15,7 @@ foreach ( $notices as $type => $type_notices ) {
?>
<div class="<?php echo $type; ?> settings-error notice is-dismissible">
<?php foreach ( $type_notices as $details ) { ?>
<p><strong><?php echo wp_kses( $details['message'], [ 'code' => [] ] ); ?></strong></p>
<p><strong><?php echo $details['message']; ?></strong></p>
<?php } ?>
</div>
<?php

View File

@@ -1,7 +1,4 @@
<?php
use Imagify\User\User;
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
?>
<div class="wrap imagify-settings imagify-bulk">
@@ -89,7 +86,7 @@ defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
<?php
if ( ( ! defined( 'IMAGIFY_HIDDEN_ACCOUNT' ) || ! IMAGIFY_HIDDEN_ACCOUNT ) && Imagify_Requirements::is_api_key_valid() ) {
$user = new User();
$user = new Imagify_User();
?>
<div class="imagify-options-title">
<div class="imagify-th-titles imagify-flex imagify-vcenter">

View File

@@ -1,7 +1,4 @@
<?php
use Imagify\User\User;
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
if ( defined( 'IMAGIFY_HIDDEN_ACCOUNT' ) && IMAGIFY_HIDDEN_ACCOUNT ) {
@@ -33,7 +30,7 @@ if ( Imagify_Requirements::is_api_key_valid() ) {
<div class="imagify-settings-section">
<?php
$imagify_user = new User();
$imagify_user = new Imagify_User();
if (
$imagify_user->is_free()