Plugin Directory

Changeset 3844740


Ignore:
Timestamp:
12/04/2026 03:24:28 PM (6 hours ago)
Author:
aitechtools
Message:

Release 1.0.2

Location:
aitech-product-badges
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • aitech-product-badges/tags/1.0.2/aitech-product-badges.php

    r3844719 r3844740  
    33 * Plugin Name:       AiTech Product Badges & Labels for WooCommerce
    44 * Description:       Sale, new, low-stock and custom product badges with display rules and live text variables. Create as many badge rules as you need; by default up to four badges show per product (adjustable). Works with classic and block themes.
    5  * Version:           1.0.1
     5 * Version:           1.0.2
    66 * Requires at least: 6.3
    77 * Requires PHP:      7.4
    … …  
    2222}
    2323
    24 define( 'AITPB_VERSION', '1.0.1' );
     24define( 'AITPB_VERSION', '1.0.2' );
    2525define( 'AITPB_FILE', __FILE__ );
    2626define( 'AITPB_DIR', plugin_dir_path( __FILE__ ) );
  • aitech-product-badges/tags/1.0.2/includes/class-aitpb-admin.php

    r3844719 r3844740  
    5353        public static function action_links( $links ) {
    5454                array_unshift( $links, '<a href="' . esc_url( admin_url( 'edit.php?post_type=' . AITPB_Badges::POST_TYPE ) ) . '">' . esc_html__( 'Badges', 'aitech-product-badges' ) . '</a>' );
     55                if ( ! self::pro_active() ) {
     56                        $links[] = '<a href="' . esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ) . '" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Upgrade to Pro', 'aitech-product-badges' ) . '</a>';
     57                }
    5558                return $links;
    5659        }
    … …  
    128131                                <?php submit_button(); ?>
    129132                        </form>
     133                        <?php if ( ! self::pro_active() ) : ?>
     134                                <p class="description"><a href="<?php echo esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ); ?>" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Upgrade to Pro', 'aitech-product-badges' ); ?></a></p>
     135                        <?php endif; ?>
    130136                </div>
    131137                <?php
  • aitech-product-badges/tags/1.0.2/readme.txt

    r3844719 r3844740  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    8181== Changelog ==
    8282
     83= 1.0.2 =
     84* Added a link to the optional Pro version on the plugin screen.
     85
    8386= 1.0.1 =
    8487* Clarified badge limits in the documentation: you can create as many badge rules as you need; by default up to four badges show on each product (adjustable in the settings). No functional change.
  • aitech-product-badges/trunk/aitech-product-badges.php

    r3844719 r3844740  
    33 * Plugin Name:       AiTech Product Badges & Labels for WooCommerce
    44 * Description:       Sale, new, low-stock and custom product badges with display rules and live text variables. Create as many badge rules as you need; by default up to four badges show per product (adjustable). Works with classic and block themes.
    5  * Version:           1.0.1
     5 * Version:           1.0.2
    66 * Requires at least: 6.3
    77 * Requires PHP:      7.4
    … …  
    2222}
    2323
    24 define( 'AITPB_VERSION', '1.0.1' );
     24define( 'AITPB_VERSION', '1.0.2' );
    2525define( 'AITPB_FILE', __FILE__ );
    2626define( 'AITPB_DIR', plugin_dir_path( __FILE__ ) );
  • aitech-product-badges/trunk/includes/class-aitpb-admin.php

    r3844719 r3844740  
    5353        public static function action_links( $links ) {
    5454                array_unshift( $links, '<a href="' . esc_url( admin_url( 'edit.php?post_type=' . AITPB_Badges::POST_TYPE ) ) . '">' . esc_html__( 'Badges', 'aitech-product-badges' ) . '</a>' );
     55                if ( ! self::pro_active() ) {
     56                        $links[] = '<a href="' . esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ) . '" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Upgrade to Pro', 'aitech-product-badges' ) . '</a>';
     57                }
    5558                return $links;
    5659        }
    … …  
    128131                                <?php submit_button(); ?>
    129132                        </form>
     133                        <?php if ( ! self::pro_active() ) : ?>
     134                                <p class="description"><a href="<?php echo esc_url( 'https://aitech-product-badges.pages.dev/?ref=wporg-plugin#pricing' ); ?>" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Upgrade to Pro', 'aitech-product-badges' ); ?></a></p>
     135                        <?php endif; ?>
    130136                </div>
    131137                <?php
  • aitech-product-badges/trunk/readme.txt

    r3844719 r3844740  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    8181== Changelog ==
    8282
     83= 1.0.2 =
     84* Added a link to the optional Pro version on the plugin screen.
     85
    8386= 1.0.1 =
    8487* Clarified badge limits in the documentation: you can create as many badge rules as you need; by default up to four badges show on each product (adjustable in the settings). No functional change.
Note: See TracChangeset for help on using the changeset viewer.