Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-montana committed Dec 23, 2024
2 parents d61828a + 117cf6c commit 29d55f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woody-wordpress/woody-theme",
"type": "wordpress-theme",
"version": "1.85.67",
"version": "1.85.68",
"description": "Parent theme of Woody Wordpresss Builder",
"license": "GPL-2.0",
"authors": [
Expand Down
3 changes: 3 additions & 0 deletions library/classes/content/ApiRest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public function getPagePreviewApiRest()
$ratio = filter_input(INPUT_GET, 'ratio');
$display = filter_input(INPUT_GET, 'display');

// set current local to WP to enable __() _e() => 'lang' parameter must be set
switch_to_locale(woody_pll_current_locale());

$display_decoded = json_decode(base64_decode($display), true);

if (empty($display_decoded)) {
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Theme Name: Woody (Parent theme)
Description: Parent theme of the Raccourci Agency themes
Version: 1.85.66
Version: 1.85.68
Author: Raccourci Agency
*/

0 comments on commit 29d55f7

Please sign in to comment.