Changeset 3105239
- Timestamp:
- 06/20/2024 03:31:08 PM (22 months ago)
- Location:
- guestapp
- Files:
-
- 6 edited
- 1 copied
-
tags/1.4.29 (copied) (copied from guestapp/trunk)
-
tags/1.4.29/CGuestApp.php (modified) (2 diffs)
-
tags/1.4.29/README.txt (modified) (2 diffs)
-
tags/1.4.29/guestapp.php (modified) (1 diff)
-
trunk/CGuestApp.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/guestapp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
guestapp/tags/1.4.29/CGuestApp.php
r2932163 r3105239 98 98 "ratings" => isset($review->ratings) ? $review->ratings : new stdClass(), 99 99 "ratings_by_language" => isset($review->ratings_by_language) ? $review->ratings_by_language : new stdClass(), 100 "comment_short" => substr($review->comment, 0, 200) . (strlen( $review->comment) > 200 ? "..." : ""),100 "comment_short" => substr($review->comment, 0, 200) . (strlen((string) $review->comment) > 200 ? "..." : ""), 101 101 "comment_all" => isset($review->comment) ? $review->comment : "", 102 102 "stay_type" => isset($review->type) ? $review->type : "", … … 246 246 public function getJSONData($lang, $quantity, $original = null) { 247 247 // 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 248 $lang = strlen( $lang) === 0 ? null : $lang;249 $lang_array = explode(",", $lang);248 $lang = strlen((string) $lang) === 0 ? null : $lang; 249 $lang_array = explode(",", (string) $lang); 250 250 $returned = array(); 251 251 $count = 0; -
guestapp/tags/1.4.29/README.txt
r2932163 r3105239 3 3 Tags: reviews, tourism, hospitality, reputation, hotel, camping, restaurant, ereputation 4 4 Requires at least: 3.1 5 Tested up to: 6. 26 Stable tag: 1.4.2 85 Tested up to: 6.5.4 6 Stable tag: 1.4.29 7 7 Requires PHP: 5.2 8 8 License: GPLv2 … … 32 32 33 33 == Changelog == 34 35 = 1.4.29 = 36 * remove PHP 8.2 deprecation 34 37 35 38 = 1.4.28 = -
guestapp/tags/1.4.29/guestapp.php
r2932163 r3105239 5 5 Plugin URI: https://wordpress.org/plugins/guestapp/ 6 6 Description: Guest Suite Plugin 7 Version: 1.4.2 87 Version: 1.4.29 8 8 Author: Guest Suite 9 9 Author URI: https://www.guest-suite.com -
guestapp/trunk/CGuestApp.php
r2932163 r3105239 98 98 "ratings" => isset($review->ratings) ? $review->ratings : new stdClass(), 99 99 "ratings_by_language" => isset($review->ratings_by_language) ? $review->ratings_by_language : new stdClass(), 100 "comment_short" => substr($review->comment, 0, 200) . (strlen( $review->comment) > 200 ? "..." : ""),100 "comment_short" => substr($review->comment, 0, 200) . (strlen((string) $review->comment) > 200 ? "..." : ""), 101 101 "comment_all" => isset($review->comment) ? $review->comment : "", 102 102 "stay_type" => isset($review->type) ? $review->type : "", … … 246 246 public function getJSONData($lang, $quantity, $original = null) { 247 247 // 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 248 $lang = strlen( $lang) === 0 ? null : $lang;249 $lang_array = explode(",", $lang);248 $lang = strlen((string) $lang) === 0 ? null : $lang; 249 $lang_array = explode(",", (string) $lang); 250 250 $returned = array(); 251 251 $count = 0; -
guestapp/trunk/README.txt
r2932163 r3105239 3 3 Tags: reviews, tourism, hospitality, reputation, hotel, camping, restaurant, ereputation 4 4 Requires at least: 3.1 5 Tested up to: 6. 26 Stable tag: 1.4.2 85 Tested up to: 6.5.4 6 Stable tag: 1.4.29 7 7 Requires PHP: 5.2 8 8 License: GPLv2 … … 32 32 33 33 == Changelog == 34 35 = 1.4.29 = 36 * remove PHP 8.2 deprecation 34 37 35 38 = 1.4.28 = -
guestapp/trunk/guestapp.php
r2932163 r3105239 5 5 Plugin URI: https://wordpress.org/plugins/guestapp/ 6 6 Description: Guest Suite Plugin 7 Version: 1.4.2 87 Version: 1.4.29 8 8 Author: Guest Suite 9 9 Author URI: https://www.guest-suite.com
Note: See TracChangeset
for help on using the changeset viewer.