Changeset 3374894
- Timestamp:
- 10/08/2025 08:17:43 AM (6 months ago)
- Location:
- guestapp
- Files:
-
- 14 edited
- 1 copied
-
tags/2.2.6 (copied) (copied from guestapp/trunk)
-
tags/2.2.6/README.txt (modified) (2 diffs)
-
tags/2.2.6/guest-suite.php (modified) (1 diff)
-
tags/2.2.6/includes/admin/charts/charts-functions.php (modified) (2 diffs)
-
tags/2.2.6/includes/shortcodes/carousel.php (modified) (1 diff)
-
tags/2.2.6/includes/shortcodes/grid.php (modified) (1 diff)
-
tags/2.2.6/includes/shortcodes/list.php (modified) (2 diffs)
-
tags/2.2.6/includes/shortcodes/ranking.php (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/guest-suite.php (modified) (1 diff)
-
trunk/includes/admin/charts/charts-functions.php (modified) (2 diffs)
-
trunk/includes/shortcodes/carousel.php (modified) (1 diff)
-
trunk/includes/shortcodes/grid.php (modified) (1 diff)
-
trunk/includes/shortcodes/list.php (modified) (2 diffs)
-
trunk/includes/shortcodes/ranking.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
guestapp/tags/2.2.6/README.txt
r3369496 r3374894 4 4 Tested up to: 6.8.0 5 5 Requires PHP: 5.6 6 Stable tag: 2.2. 56 Stable tag: 2.2.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 61 61 == Changelog == 62 = 2.2.6 = 63 * Corrige les affichages d'avis pour les nouveaux établissements 62 64 = 2.2.5 = 63 65 * Corrige la liste des établissements disponibles (admin) -
guestapp/tags/2.2.6/guest-suite.php
r3369496 r3374894 4 4 * Plugin URI: https://www.guest-suite.com/ 5 5 * Description: Afficher la satisfaction de vos clients sur votre site avec le plugin Guest Suite pour Wordpress. 6 * Version: 2.2. 56 * Version: 2.2.6 7 7 * Requires at least: 4.6.1 8 8 * Requires PHP: 5.6 -
guestapp/tags/2.2.6/includes/admin/charts/charts-functions.php
r3369496 r3374894 392 392 while ($query->have_posts()) { 393 393 $query->the_post(); 394 $establishment_id = get_post_meta(get_the_ID(), 'gs_establishments_id', true); 395 $establishment_id = $establishment_id !== '' ? $establishment_id : get_post_meta(get_the_ID(), 'gs_locationUuid', true); 394 396 $reviews[] = (object) array( 395 397 'user' => get_post_meta(get_the_ID(), 'gs_user_name', true), … … 398 400 'date' => get_post_meta(get_the_ID(), 'gs_publication_date', true), 399 401 'establishment_name' => get_post_meta(get_the_ID(), 'gs_establishments_name', true), 400 'establishment_id' => get_post_meta(get_the_ID(), 'gs_establishments_id', true),402 'establishment_id' => $establishment_id, 401 403 ); 402 404 } -
guestapp/tags/2.2.6/includes/shortcodes/carousel.php
r3364049 r3374894 167 167 if (!empty($atts['establishment_id'])) { 168 168 $args['meta_query'][] = array( 169 'key' => 'gs_establishments_id', 170 'value' => $atts['establishment_id'], 171 'compare' => '=' 169 'relation' => 'OR', 170 'establishment_id' => array( 171 'key' => 'gs_establishments_id', 172 'value' => $atts['establishment_id'], 173 'compare' => '=' 174 ), 175 'locationUuid' => array( 176 'key' => 'gs_locationUuid', 177 'value' => $atts['establishment_id'], 178 'compare' => '=' 179 ), 172 180 ); 173 181 } -
guestapp/tags/2.2.6/includes/shortcodes/grid.php
r3234706 r3374894 67 67 if (!empty($atts['establishment_id'])) { 68 68 $args['meta_query'][] = array( 69 'key' => 'gs_establishments_id', 70 'value' => $atts['establishment_id'], 71 'compare' => '=' 69 'relation' => 'OR', 70 'establishment_id' => array( 71 'key' => 'gs_establishments_id', 72 'value' => $atts['establishment_id'], 73 'compare' => '=' 74 ), 75 'locationUuid' => array( 76 'key' => 'gs_locationUuid', 77 'value' => $atts['establishment_id'], 78 'compare' => '=' 79 ), 72 80 ); 73 81 } -
guestapp/tags/2.2.6/includes/shortcodes/list.php
r3364049 r3374894 134 134 if ($atts['establishment_id']) { 135 135 $args['meta_query'][] = array( 136 'key' => 'gs_establishments_id', 137 'value' => $atts['establishment_id'], 138 'compare' => '=' 136 'relation' => 'OR', 137 'establishment_id' => array( 138 'key' => 'gs_establishments_id', 139 'value' => $atts['establishment_id'], 140 'compare' => '=' 141 ), 142 'locationUuid' => array( 143 'key' => 'gs_locationUuid', 144 'value' => $atts['establishment_id'], 145 'compare' => '=' 146 ), 139 147 ); 140 148 } … … 273 281 if ($establishment_id) { 274 282 $args['meta_query'][] = array( 275 'key' => 'gs_establishments_id', 276 'value' => $establishment_id, 277 'compare' => '=' 283 'relation' => 'OR', 284 'establishment_id' => array( 285 'key' => 'gs_establishments_id', 286 'value' => $establishment_id, 287 'compare' => '=' 288 ), 289 'locationUuid' => array( 290 'key' => 'gs_locationUuid', 291 'value' => $establishment_id, 292 'compare' => '=' 293 ), 278 294 ); 279 295 } -
guestapp/tags/2.2.6/includes/shortcodes/ranking.php
r3233690 r3374894 45 45 if ($atts['establishment_id']) { 46 46 $args['meta_query'][] = array( 47 'key' => 'gs_establishments_id', 48 'value' => $atts['establishment_id'], 49 'compare' => '=' 47 'relation' => 'OR', 48 'establishment_id' => array( 49 'key' => 'gs_establishments_id', 50 'value' => $atts['establishment_id'], 51 'compare' => '=' 52 ), 53 'locationUuid' => array( 54 'key' => 'gs_locationUuid', 55 'value' => $atts['establishment_id'], 56 'compare' => '=' 57 ), 50 58 ); 51 59 } -
guestapp/trunk/README.txt
r3369496 r3374894 4 4 Tested up to: 6.8.0 5 5 Requires PHP: 5.6 6 Stable tag: 2.2. 56 Stable tag: 2.2.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 61 61 == Changelog == 62 = 2.2.6 = 63 * Corrige les affichages d'avis pour les nouveaux établissements 62 64 = 2.2.5 = 63 65 * Corrige la liste des établissements disponibles (admin) -
guestapp/trunk/guest-suite.php
r3369496 r3374894 4 4 * Plugin URI: https://www.guest-suite.com/ 5 5 * Description: Afficher la satisfaction de vos clients sur votre site avec le plugin Guest Suite pour Wordpress. 6 * Version: 2.2. 56 * Version: 2.2.6 7 7 * Requires at least: 4.6.1 8 8 * Requires PHP: 5.6 -
guestapp/trunk/includes/admin/charts/charts-functions.php
r3369496 r3374894 392 392 while ($query->have_posts()) { 393 393 $query->the_post(); 394 $establishment_id = get_post_meta(get_the_ID(), 'gs_establishments_id', true); 395 $establishment_id = $establishment_id !== '' ? $establishment_id : get_post_meta(get_the_ID(), 'gs_locationUuid', true); 394 396 $reviews[] = (object) array( 395 397 'user' => get_post_meta(get_the_ID(), 'gs_user_name', true), … … 398 400 'date' => get_post_meta(get_the_ID(), 'gs_publication_date', true), 399 401 'establishment_name' => get_post_meta(get_the_ID(), 'gs_establishments_name', true), 400 'establishment_id' => get_post_meta(get_the_ID(), 'gs_establishments_id', true),402 'establishment_id' => $establishment_id, 401 403 ); 402 404 } -
guestapp/trunk/includes/shortcodes/carousel.php
r3364049 r3374894 167 167 if (!empty($atts['establishment_id'])) { 168 168 $args['meta_query'][] = array( 169 'key' => 'gs_establishments_id', 170 'value' => $atts['establishment_id'], 171 'compare' => '=' 169 'relation' => 'OR', 170 'establishment_id' => array( 171 'key' => 'gs_establishments_id', 172 'value' => $atts['establishment_id'], 173 'compare' => '=' 174 ), 175 'locationUuid' => array( 176 'key' => 'gs_locationUuid', 177 'value' => $atts['establishment_id'], 178 'compare' => '=' 179 ), 172 180 ); 173 181 } -
guestapp/trunk/includes/shortcodes/grid.php
r3234706 r3374894 67 67 if (!empty($atts['establishment_id'])) { 68 68 $args['meta_query'][] = array( 69 'key' => 'gs_establishments_id', 70 'value' => $atts['establishment_id'], 71 'compare' => '=' 69 'relation' => 'OR', 70 'establishment_id' => array( 71 'key' => 'gs_establishments_id', 72 'value' => $atts['establishment_id'], 73 'compare' => '=' 74 ), 75 'locationUuid' => array( 76 'key' => 'gs_locationUuid', 77 'value' => $atts['establishment_id'], 78 'compare' => '=' 79 ), 72 80 ); 73 81 } -
guestapp/trunk/includes/shortcodes/list.php
r3364049 r3374894 134 134 if ($atts['establishment_id']) { 135 135 $args['meta_query'][] = array( 136 'key' => 'gs_establishments_id', 137 'value' => $atts['establishment_id'], 138 'compare' => '=' 136 'relation' => 'OR', 137 'establishment_id' => array( 138 'key' => 'gs_establishments_id', 139 'value' => $atts['establishment_id'], 140 'compare' => '=' 141 ), 142 'locationUuid' => array( 143 'key' => 'gs_locationUuid', 144 'value' => $atts['establishment_id'], 145 'compare' => '=' 146 ), 139 147 ); 140 148 } … … 273 281 if ($establishment_id) { 274 282 $args['meta_query'][] = array( 275 'key' => 'gs_establishments_id', 276 'value' => $establishment_id, 277 'compare' => '=' 283 'relation' => 'OR', 284 'establishment_id' => array( 285 'key' => 'gs_establishments_id', 286 'value' => $establishment_id, 287 'compare' => '=' 288 ), 289 'locationUuid' => array( 290 'key' => 'gs_locationUuid', 291 'value' => $establishment_id, 292 'compare' => '=' 293 ), 278 294 ); 279 295 } -
guestapp/trunk/includes/shortcodes/ranking.php
r3233690 r3374894 45 45 if ($atts['establishment_id']) { 46 46 $args['meta_query'][] = array( 47 'key' => 'gs_establishments_id', 48 'value' => $atts['establishment_id'], 49 'compare' => '=' 47 'relation' => 'OR', 48 'establishment_id' => array( 49 'key' => 'gs_establishments_id', 50 'value' => $atts['establishment_id'], 51 'compare' => '=' 52 ), 53 'locationUuid' => array( 54 'key' => 'gs_locationUuid', 55 'value' => $atts['establishment_id'], 56 'compare' => '=' 57 ), 50 58 ); 51 59 }
Note: See TracChangeset
for help on using the changeset viewer.