Permalink
Commits on Jul 5, 2016
Commits on Jul 3, 2016
Commits on Apr 16, 2016
  1. ftruncate failed at times, so fopen() in w mode used instead.

    toddlahman committed Apr 16, 2016
Commits on Apr 13, 2016
  1. return boolean log add and clear method result

    toddlahman committed Apr 13, 2016
Commits on Mar 25, 2016
  1. Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table

    If the size of the woocommerce_sessions table is 3.2 GB before the
    Clear all sessions button is clicked, then it will delete all rows, but
    leave the table size 3.2. Truncating/emptying the table resets the size
    of the table, and deletes all rows.
    toddlahman committed Mar 25, 2016
Commits on Aug 31, 2015
  1. Fix for Invalid argument supplied for foreach

    toddlahman committed Aug 31, 2015
Commits on Aug 2, 2015
  1. fix for array_filter() expects parameter 1 to be array, boolean given

    array_filter() expects parameter 1 to be array, boolean given
    /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-
    product.php(171)
    
    $exclude is evaluated as a boolean.
    toddlahman committed Aug 2, 2015
Commits on Jun 27, 2014
Commits on Jun 26, 2014
  1. sync fork with master

    toddlahman committed Jun 26, 2014
Commits on Jun 5, 2014
Commits on May 31, 2014
  1. Use wp_send_json() WordPress function for AJAX

    The header(), json_encode(), and die(), functions are all executed with
    a better logical routine that should provide consistent results.
    toddlahman committed May 31, 2014
Commits on May 25, 2014
  1. Confirm buffer is not empty before erasing

    Confirm file_exists before opening. For PHP 5.3 or earlier, check if
    safe_mode is active to avoid errors.
    toddlahman committed May 25, 2014
Commits on May 13, 2014
  1. Use WP SEO class method rather than deprecated fn

    Notice: wpseo_get_value is deprecated since version WPSEO 1.5.0! Use
    WPSEO_Meta::get_value() instead.
    toddlahman committed with mikejolley May 7, 2014
Commits on May 7, 2014
  1. Use WP SEO class method rather than deprecated fn

    Notice: wpseo_get_value is deprecated since version WPSEO 1.5.0! Use
    WPSEO_Meta::get_value() instead.
    toddlahman committed May 7, 2014
Commits on Jan 31, 2014
  1. Removed (document).ready from jQuery scripts

    jQuery(document).ready(function($) { is equivalent to calling
    jQuery(function($) {.
    
    http://api.jquery.com/ready/
    toddlahman committed Jan 31, 2014
Commits on Jan 28, 2014
  1. Revert "Moved woocommerce_round_tax_total() to Formatting"

    This reverts commit 1f7ba88.
    toddlahman committed Jan 28, 2014
Commits on Jan 27, 2014
  1. Removed (document).ready from wc_print_js()

    jQuery(document).ready(function($) { is equivalent to calling
    jQuery(function($) {.
    
    http://api.jquery.com/ready/
    toddlahman committed Jan 27, 2014
Commits on Jan 26, 2014
  1. Removed urldecode from $_GET and $_REQUEST

    The superglobals $_GET and $_REQUEST are already decoded. Using
    urldecode() on an element in $_GET or $_REQUEST could have unexpected
    and dangerous results.
    
    See Notes:
    
    http://us1.php.net/manual/en/function.urldecode.php
    toddlahman committed Jan 26, 2014
  2. Moved woocommerce_round_tax_total() to Formatting

    woocommerce_round_tax_total() is not actually a deprecated function. In
    WC 2.0, the round() method was used from the WC_Tax class.
    
    Moved woocommerce_round_tax_total() from wc-deprecated-functions.php to
    wc-formatting-functions.php.
    toddlahman committed Jan 26, 2014
Commits on Jan 3, 2014
Commits on Dec 29, 2013
  1. Registration error handler and my_account_message hook

    To block registration spam, and authenticate the $_POST values, a
    woocommerce_process_registration_errors filter hook is needed.
    
    WordPress has a login_message filter, which causes a duplicate message
    on the My Account login page since WC uses the same filter hook name. A
    different filter hook name, such as my_account_message, would eliminate
    this issue.
    toddlahman committed Dec 29, 2013
Commits on Dec 19, 2013
  1. Revert back to ob_end_clean to fix errors

    ob_clean does not turn off output buffering as ob_end_clean does. On
    some hosts ob_clean results in an error like: transfer closed with 3
    bytes remaining to read. ob_end_clean fixes this.
    toddlahman committed Dec 19, 2013
Commits on Nov 27, 2013
  1. esc_url applied to readfile home_url()

    This should fix it.
    
    Thank you Mike for the info on esc_html.
    toddlahman committed Nov 27, 2013
Commits on Nov 26, 2013
  1. escape download handler URLs

    toddlahman committed Nov 26, 2013
Commits on Nov 20, 2013
Commits on Nov 19, 2013
Commits on Jun 11, 2013
  1. Fix for Undefined index: _regular_price, _sale_price, _tax_status, _t…

    …ax_class, _visibility, _purchase_note
    
    Undefined index appears for: _regular_price, _sale_price, _tax_status,
    _tax_class, _visibility, _purchase_note, when fields are empty, for
    example.
    
    Notice: Undefined index: _tax_class in
    woocommerce\admin\post-types\writepanels\writepanel-product_data.php on
    line 678
    toddlahman committed Jun 11, 2013
Commits on May 19, 2013