Plugin Directory

Changeset 1440974


Ignore:
Timestamp:
06/21/2016 02:03:47 PM (10 years ago)
Author:
reviewbuilder
Message:

Version 1.0.3

Location:
review-builder/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • review-builder/trunk/app.php

    r1440780 r1440974  
    44 * Plugin URI: https://sygnoos.com
    55 * Description: Review Builder will allow you to add reviews section to your site. Build a reviews section so customers can leave reviews for your products.
    6  * Version: 1.0.2
     6 * Version: 1.0.3
    77 * Author: Sygnoos
    88 * Author URI: https://www.sygnoos.com
  • review-builder/trunk/com/controllers/Review.php

    r1440822 r1440974  
    286286
    287287            $sgrbDataArray['title'] = $title;
    288             $sgrbDataArray['notify'] = @$options["notify"];
     288            $sgrbDataArray['notify'] = $options["notify"];
    289289            $sgrbDataArray['required-title-checkbox'] = @$options["required-title-checkbox"];
    290290            $sgrbDataArray['required-email-checkbox'] = @$options["required-email-checkbox"];
     
    546546                                            <meta content="'.@$sgrbSearchCommentsCount.'" itemprop="reviewCount">
    547547                                            <meta content="'.@$bestRating.'" itemprop="bestRating">
    548                                             <meta content="1" itemprop="worstRating">';
     548                                            <meta content="1" itemprop="worstRating"></div>';
    549549            }
    550550            else {
     
    555555                                            <meta content="0" itemprop="reviewCount">
    556556                                            <meta content="'.@$bestRating.'" itemprop="bestRating">
    557                                             <meta content="1" itemprop="worstRating">';
     557                                            <meta content="1" itemprop="worstRating"></div>';
    558558            }
    559559        }
     
    608608                }
    609609            }
    610             $html .= '</div>';
    611610        }
    612611        else if ($review[0]['options']['rate-type'] == SGRB_RATE_TYPE_PERCENT) {
     
    642641                }
    643642            }
    644             $html .= '</div>';
    645643        }
    646644        else if ($review[0]['options']['rate-type'] == SGRB_RATE_TYPE_POINT) {
     
    680678                }
    681679            }
    682             $html .= '</div>';
    683         }
    684         //$html .= $googleSearchResult;
    685         $html .= '</div>';
    686 
    687         return '<form class="sgrb-user-rate-js-form"><div class="">'.$html.'</div></div>'.$commentForm.$allApprovedComments.'</div></div></form>';
     680        }
     681        return '<form class="sgrb-user-rate-js-form"><div class="">'.$html.'</div></div>'.$commentForm.$allApprovedComments.'</div></form>';
    688682    }
    689683
  • review-builder/trunk/com/core/SGRB.php

    r1430383 r1440974  
    274274        if(is_admin()) {
    275275            wp_enqueue_script($this->prefix.$script, $this->asset($script.'.js'), array('jquery', 'wp-color-picker'), false, true);
     276            wp_enqueue_media();
    276277        }
    277278        wp_enqueue_script($this->prefix.$script, $this->asset($script.'.js'), array('jquery'),false);
    278         wp_enqueue_media();
    279279    }
    280280
  • review-builder/trunk/readme.txt

    r1440780 r1440974  
    11=== Review ===
    22Plugin Name: Review
    3 Version: 1.0.2
     3Version: 1.0.3
    44Donate link: https://sygnoos.com/wordpress-review/
    55URI: https://sygnoos.com/wordpress-review/
     
    110110== Changelog ==
    111111
     112= 1.0.3 =
     113* Bug fixes.
     114
    112115= 1.0.2 =
    113116* Bug fixes.
     
    122125== Upgrade Notice ==
    123126
    124 Current version of Review Builder is v1.0.1
     127Current version of Review Builder is v1.0.3
    125128
    126129== Other Notes ==
Note: See TracChangeset for help on using the changeset viewer.