Plugin Directory

Changeset 931637


Ignore:
Timestamp:
06/13/2014 07:16:45 AM (12 years ago)
Author:
isikom
Message:

release 0.5.5

Location:
woocommerce-add-form-to-product
Files:
37 added
2 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-add-form-to-product/trunk/readme.txt

    r930143 r931637  
    44Requires at least: 3.5
    55Tested up to: 3.9.1
    6 Stable tag: 0.5.4
     6Stable tag: 0.5.5
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313
    1414Add a custom text form to an item. This is required when item in your shop need to get a custom text, for example wedding invitations, plates, serigraphs for pens and more
     15
     16this plugin need Contact Form 7
    1517
    1618= GET INVOLVED =
     
    4749== Changelog ==
    4850
     51= 0.5.5 - 13/06/2014 =
     52* Fix fatal error after install if Contact Form 7 missed
     53* Fix showing error on Front End 
     54
    4955= 0.5.4 - 11/06/2014 =
    5056* Fix send request email
  • woocommerce-add-form-to-product/trunk/woocommerce-add-form-to-product.php

    r930143 r931637  
    66 * Author: Michele Menciassi
    77 * Author URI: https://plus.google.com/+MicheleMenciassi
    8  * Version: 0.5.4
     8 * Version: 0.5.5
    99 * License: GPLv2 or later
    1010 */
     
    3333             */
    3434            public function init() {
    35                 require_once WPCF7_PLUGIN_DIR . '/includes/controller.php';
     35                if (defined(WPCF7_PLUGIN_DIR)){
     36                    require_once WPCF7_PLUGIN_DIR . '/includes/controller.php';
     37                }
    3638                if (is_admin()){
    3739                    // backend stuff
     
    267269                        );
    268270                        //remove_filter('comments_clauses', 'woocommerce_exclude_order_comments');
    269                         remove_filter('comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ) );
     271                        remove_filter('comments_clauses', array( 'WC_Comments' ,'exclude_order_comments'), 10, 1 );
    270272                        $notes = get_comments( $args );
    271273                        //add_filter('comments_clauses', 'woocommerce_exclude_order_comments');
    272                         add_filter('comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ) );
     274                        add_filter('comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
    273275                        ?>
    274276                        <ul class="order_notes" id="reports-container">
Note: See TracChangeset for help on using the changeset viewer.