Plugin Directory

Changeset 3099680

Timestamp:
06/08/2024 08:49:31 AM (2 months ago)
Author:
maartenbelmans
Message:
  • Improvement: removed outdated code.
    • Other: test compatibility with Woo & WP.
Location:
advanced-product-fields-for-woocommerce
Files:
95 added
4 edited

Legend:

Unmodified
Added
Removed
  • advanced-product-fields-for-woocommerce/trunk/advanced-product-fields-for-woocommerce.php

    r3072427 r3099680  
    44 * Plugin URI: https://www.studiowombat.com/plugin/advanced-product-fields-for-woocommerce/?utm_source=apffree&utm_medium=plugin&utm_campaign=plugins
    55 * Description: Customize WooCommerce product pages with powerful and intuitive fields ( = product add-ons).
    6  * Version: 1.6.7
     6 * Version: 1.6.
    77 * Author: StudioWombat
    88 * Author URI: https://www.studiowombat.com/?utm_source=apffree&utm_medium=plugin&utm_campaign=plugins
    99 * Text Domain: advanced-product-fields-for-woocommerce
    1010 * WC requires at least: 3.8.0
    11  * WC tested up to: 8.8.2
     11 * WC tested up to: 8..2
    1212*/
    1313
     
    4040
    4141    // version
    42     $version = '1.6.7';
     42    $version = '1.6.';
    4343
    4444    // globals
  • advanced-product-fields-for-woocommerce/trunk/languages/advanced-product-fields-for-woocommerce.pot

    r3072427 r3099680  
    2222msgstr ""
    2323
    24 #: dist/class-wapf.php:80, dist/views/admin/cpt-list-table.php:14
     24#: dist/class-wapf.php:80, dist/views/admin/cpt-list-table.php:1
    2525msgid "Add New"
    2626msgstr ""
     
    498498msgstr ""
    499499
    500 #: dist/views/admin/cpt-list-table.php:32
    501 msgid "Sorry :( We can't add a new field group. You've reached the amount of field groups allowed in the free version. Consider removing an old field group or upgrading to premium for unlimited field groups."
    502 msgstr ""
    503 
    504500#: dist/views/admin/field.php:59
    505501msgid "What type of field should this be?"
  • advanced-product-fields-for-woocommerce/trunk/readme.txt

    r3072427 r3099680  
    44Tags: woocommerce product addons, woocommerce product options, woocommerce custom fields, woocommerce product fields, woo product options
    55Requires at least: 4.5
    6 Tested up to: 6.5.2
     6Tested up to: 6.5.
    77Requires PHP: 5.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 Stable tag: 1.6.7
     10Stable tag: 1.6.
    1111
    1212Add options (addons) to your WooCommerce products so your customers can personalize their products. Product forms for everyone!
     
    166166== Changelog ==
    167167
     168
     169
     170
     171
    168172= 1.6.7 =
    169  * Other: pumped minimum required WooCommerce version to 3.8.
     173 * Other: umped minimum required WooCommerce version to 3.8.
    170174 * Other: test compatibility with Woo 8.8 (beta).
    171175
  • advanced-product-fields-for-woocommerce/trunk/views/admin/cpt-list-table.php

    r2773006 r3099680  
    33    /** @var $list \SW_WAPF\Includes\Classes\wapf_List_Table */
    44?>
    5 <script>
    6     var m = 'defga';
    7 </script>
     5
    86<div class="wrap">
    97    <h2 style="display: block;">
     
    119
    1210        <?php if($model['can_create']){ ?>
    13             <a href="#" onclick="javascript:anpf('<?php echo admin_url('post-new.php?post_type=wapf_product'); ?>')" class="page-title-action">
     11            <a href="" class="page-title-action">
    1412                <?php _e('Add New', 'advanced-product-fields-for-woocommerce'); ?>
    1513            </a>
     
    2725    </div>
    2826</div>
    29 <script>
    30     function anpf(link) {
    31         if(<?php echo $model['count']; ?> >= m.length)
    32             alert("<?php _e("Sorry :( We can't add a new field group. You've reached the amount of field groups allowed in the free version. Consider removing an old field group or upgrading to premium for unlimited field groups.",'advanced-product-fields-for-woocommerce'); ?>");
    33         else window.location.href = link;
    34     }
    35 </script>
Note: See TracChangeset for help on using the changeset viewer.