Plugin Directory

Changeset 1419819


Ignore:
Timestamp:
05/18/2016 05:42:57 PM (10 years ago)
Author:
edpittol
Message:

updated the plugin version to 0.6.1

Location:
hookit-related-products
Files:
44 added
4 edited

Legend:

Unmodified
Added
Removed
  • hookit-related-products/trunk/hookit-recommended-products.php

    r1419216 r1419819  
    33/**
    44 * Plugin Name: Hookit Recommended Products
    5  * Version: 0.6.0
     5 * Version: 0.6.1
    66 * Plugin URI: https://bitbucket.org/edpittol/hookit-recommended-products
    77 * Description: WordPress plugin to get Hookit related products from a post
  • hookit-related-products/trunk/includes/filters.php

    r1411753 r1419819  
    55/**
    66 * Show recommended products in the footer of the post in the singular page.
     7 * Send a ping to server to sinalize that the recommended posts is loading.
    78 *
    89 * @param string $content The post content.
     
    1112    if( is_singular() ) {
    1213        ob_start();
     14        hookit_recommended_products_consume_ws( 'ping' );
    1315        require __DIR__ . '/../views/recommended-products.php';
    1416        $content .= ob_get_clean();
  • hookit-related-products/trunk/includes/functions.php

    r1419216 r1419819  
    130130 * @return WP_Error|string A JSON with the result of the call. A WP_Error if the Web Service return a error.
    131131 */
    132 function hookit_recommended_products_consume_ws( $service, $body ) {
     132function hookit_recommended_products_consume_ws( $service, $body = array() ) {
    133133    $curl = curl_init();
    134134
  • hookit-related-products/trunk/readme.txt

    r1419216 r1419819  
    3434
    3535== Changelog ==
     36
     37= 0.6.1 =
     38* Fix: Corrigida conexão com Web Service
    3639
    3740= 0.6.0 =
Note: See TracChangeset for help on using the changeset viewer.