Plugin Directory

Changeset 2232112


Ignore:
Timestamp:
01/23/2020 10:34:01 AM (6 years ago)
Author:
guestapp
Message:

Bug fix (on displaying other languages reviews)

Location:
guestapp
Files:
3 edited
19 copied

Legend:

Unmodified
Added
Removed
  • guestapp/tags/1.4.6/CGuestApp.php

    r2228979 r2232112  
    247247    public function getJSONData($lang, $quantity, $original = null) {
    248248        // The widget can set two options related to the content. the first is lang, which defines the language of the reviews. The second is quantity, which defines the max amount of reviews shown
    249         $lang = strlen($lang) === 0 ? 'fr' : $lang;
     249        $lang = strlen($lang) === 0 ? null : $lang;
    250250        $lang_array = explode(",", $lang);
    251251        $returned = array();
  • guestapp/tags/1.4.6/README.txt

    r2228979 r2232112  
    44Requires at least: 3.1
    55Tested up to: 5.2
    6 Stable tag: 1.4.5
     6Stable tag: 1.4.6
    77Requires PHP: 5.2
    88License: GPLv2
  • guestapp/tags/1.4.6/guestapp.php

    r2228979 r2232112  
    55Plugin URI: https://wordpress.org/plugins/guestapp/
    66Description: Guest Suite Plugin
    7 Version: 1.4.5
     7Version: 1.4.6
    88Author: Guest Suite
    99Author URI: https://www.guest-suite.com
  • guestapp/trunk/CGuestApp.php

    r2228979 r2232112  
    247247    public function getJSONData($lang, $quantity, $original = null) {
    248248        // The widget can set two options related to the content. the first is lang, which defines the language of the reviews. The second is quantity, which defines the max amount of reviews shown
    249         $lang = strlen($lang) === 0 ? 'fr' : $lang;
     249        $lang = strlen($lang) === 0 ? null : $lang;
    250250        $lang_array = explode(",", $lang);
    251251        $returned = array();
  • guestapp/trunk/README.txt

    r2228979 r2232112  
    44Requires at least: 3.1
    55Tested up to: 5.2
    6 Stable tag: 1.4.5
     6Stable tag: 1.4.6
    77Requires PHP: 5.2
    88License: GPLv2
  • guestapp/trunk/guestapp.php

    r2228979 r2232112  
    55Plugin URI: https://wordpress.org/plugins/guestapp/
    66Description: Guest Suite Plugin
    7 Version: 1.4.5
     7Version: 1.4.6
    88Author: Guest Suite
    99Author URI: https://www.guest-suite.com
Note: See TracChangeset for help on using the changeset viewer.