Plugin Directory

Changeset 3197564


Ignore:
Timestamp:
11/26/2024 04:05:20 PM (16 months ago)
Author:
rednumber
Message:

Fixed issue #1

Location:
cf7-cost-calculator-price-calculation/trunk/backend
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cf7-cost-calculator-price-calculation/trunk/backend/checkbox.php

    r3193708 r3197564  
    230230function wpcf7_add_tag_generator_checkbox_and_radio_custom() {
    231231    $tag_generator = WPCF7_TagGenerator::get_instance();
    232     if( version_compare(WPCF7_VERSION,"6.0" >= 0) ){
     232    if( version_compare(WPCF7_VERSION,"6.0") >= 0 ){
    233233        //remove it
    234234        $tag_generator->add( 'checkbox_custom', __( 'Checkbox price', 'cf7-cost-calculator-price-calculation' ),
  • cf7-cost-calculator-price-calculation/trunk/backend/index.php

    r3193708 r3197564  
    3737        if ( ! class_exists( 'WPCF7_TagGenerator' ) ) return;
    3838        $tag_generator = WPCF7_TagGenerator::get_instance();
    39         if( version_compare(WPCF7_VERSION,"6.0" >= 0) ){
     39        if( version_compare(WPCF7_VERSION,"6.0") >= 0 ){
    4040            $tag_generator->add( 'calculated', __( 'Calculator', 'cf7-cost-calculator-price-calculation' ),
    4141            array($this,'tag_generator_total_2'),array("version"=>2));
  • cf7-cost-calculator-price-calculation/trunk/backend/number_format.php

    r3193708 r3197564  
    2727        if ( ! class_exists( 'WPCF7_TagGenerator' ) ) return;
    2828        $tag_generator = WPCF7_TagGenerator::get_instance();
    29         if( version_compare(WPCF7_VERSION,"6.0" >= 0) ){
     29        if( version_compare(WPCF7_VERSION,"6.0") >= 0 ){
    3030            $tag_generator->add( 'number_format', __( 'Number Format', 'cf7-cost-calculator-price-calculation' ),
    3131            array($this,'tag_generator_total_2'),array("version"=>2));
  • cf7-cost-calculator-price-calculation/trunk/backend/select.php

    r3193708 r3197564  
    155155function wpcf7_add_tag_generator_menu_custom() {
    156156    $tag_generator = WPCF7_TagGenerator::get_instance();
    157     if( version_compare(WPCF7_VERSION,"6.0" >= 0) ){
     157    if( version_compare(WPCF7_VERSION,"6.0") >= 0 ){
    158158        $tag_generator->add( 'select_custom', __( 'drop-down menu price', 'cf7-cost-calculator-price-calculation' ),
    159159        'wpcf7_tag_generator_menu_custom_2',array("version"=>2) );
Note: See TracChangeset for help on using the changeset viewer.