Plugin Directory

Changeset 1376672


Ignore:
Timestamp:
03/22/2016 10:24:27 PM (10 years ago)
Author:
webilop
Message:

Release version 1.7.4. See changelog for details

Location:
woocommerce-html5-video/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-html5-video/trunk/WooCommerceHTML5Video.php

    r1362130 r1376672  
    66 * Author: Webilop
    77 * Author URI: http://www.webilop.com
    8  * Version: 1.7.3
     8 * Version: 1.7.4
    99 * License: GPLv2 or later
    1010 */
  • woocommerce-html5-video/trunk/WooCommerceIntegrationBackend.php

    r1362130 r1376672  
    6666      }
    6767    }
    68     update_post_meta($post_id, 'wo_di_video_product_videos',json_encode($arrayJson, JSON_UNESCAPED_UNICODE));
     68    //encode data
     69    $data = '5.4.0' <= phpversion() ? json_encode($arrayJson, JSON_UNESCAPED_UNICODE) : json_encode($arrayJson);
     70    update_post_meta($post_id, 'wo_di_video_product_videos', $data);
    6971    //update text of tinymce editor
    7072    $mce_editor_content = $_POST['wo_di_editormce_video'];
     
    401403          $dimension = 'Default';
    402404          $width = get_option('wo_di_config_video_width');
    403            $height = get_option('wo_di_config_video_height');
     405          $height = get_option('wo_di_config_video_height');
    404406        }
    405407        else {
     
    468470          <td>
    469471            <input type=hidden name='wo_di_video_active[]' value='<?= $video->active ?>' />
    470             <input type='checkbox' value='active' $checked onchange='update_input_active(this)'/>
     472            <input type='checkbox' value='active' <?php echo $checked; ?> onchange='update_input_active(this)'/>
    471473          </td>
    472474          <td>
  • woocommerce-html5-video/trunk/readme.txt

    r1362130 r1376672  
    44Tags: woocommerce, woocommerce video, woocommerce add-on, online store, product video, html5 video, mp4, ogg
    55Requires at least: 4.0
    6 Tested up to: 4.4
    7 Stable tag: 1.7.3
     6Tested up to: 4.4.2
     7Stable tag: 1.7.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    130130* Fix encoding video titles on saving of products.
    131131
     132= 1.7.4 =
     133* Fix encoding video data on saving of products for PHP versiones under 5.4.0.
     134* Fix on active checkbox in list of videos in products.
     135
Note: See TracChangeset for help on using the changeset viewer.