- prepared to release;

This commit is contained in:
Mykyta Synelnikov
2024-05-20 13:56:59 +03:00
parent abed1095b8
commit 9803f840ab
6 changed files with 38 additions and 8 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class Site_Health {
}
$first_activation_date = get_option( 'um_first_activation_date', false );
if ( ! empty( $first_activation_date ) && $first_activation_date < 1713342395 ) {
if ( ! empty( $first_activation_date ) && $first_activation_date < 1716336000 ) {
$tests['direct']['um_outdated_icons'] = array(
'label' => esc_html__( 'Are the icons in Ultimate Member Forms and Settings out of date?', 'ultimate-member' ),
'test' => array( $this, 'outdated_icons_test' ),
+1 -1
View File
@@ -559,7 +559,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Forms' ) ) {
$first_activation_date = get_option( 'um_first_activation_date', false );
// @todo new version
if ( empty( $first_activation_date ) || $first_activation_date >= 1713342395 || empty( $value ) || array_key_exists( $value, $um_icons_list ) ) {
if ( empty( $first_activation_date ) || $first_activation_date >= 1716336000 || empty( $value ) || array_key_exists( $value, $um_icons_list ) ) {
$html .= '<select ' . $name_attr . ' ' . $id_attr . ' class="um-icon-select-field" data-placeholder="' . esc_attr__( 'Select Icon', 'ultimate-member' ) . '" ><option value="">' . esc_html__( 'Select Icon', 'ultimate-member' ) . '</option>';
if ( ! empty( $value ) && array_key_exists( $value, $um_icons_list ) ) {
$html .= '<option ' . $value_attr . ' selected>' . esc_html( $um_icons_list[ $value ]['label'] ) . '</option>';
+1 -1
View File
@@ -1569,7 +1569,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
$wrapper_classes = implode( ' ', $wrapper_classes );
// @todo new version
if ( empty( $first_activation_date ) || $first_activation_date >= 1713342395 || empty( $this->edit_mode_value ) || array_key_exists( $this->edit_mode_value, $um_icons_list ) ) {
if ( empty( $first_activation_date ) || $first_activation_date >= 1716336000 || empty( $this->edit_mode_value ) || array_key_exists( $this->edit_mode_value, $um_icons_list ) ) {
?>
<p class="<?php echo esc_attr( $wrapper_classes ); ?>">
<label for="_icon"><?php esc_html_e( 'Icon', 'ultimate-member' ); ?> <?php UM()->tooltip( __( 'Select an icon to appear in the field. Leave blank if you do not want an icon to show in the field.', 'ultimate-member' ) ); ?></label>
@@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) {
$first_activation_date = get_option( 'um_first_activation_date', false );
// @todo new version
if ( ! empty( $first_activation_date ) && $first_activation_date < 1713342395 ) {
if ( ! empty( $first_activation_date ) && $first_activation_date < 1716336000 ) {
?>
<div id="UM_fonticons" style="display:none">