Changeset 3485773
- Timestamp:
- 03/18/2026 02:26:11 PM (2 weeks ago)
- Location:
- falang
- Files:
-
- 8 edited
- 1 copied
-
tags/1.4.1 (copied) (copied from falang/trunk)
-
tags/1.4.1/README.txt (modified) (3 diffs)
-
tags/1.4.1/changelog.txt (modified) (1 diff)
-
tags/1.4.1/falang.php (modified) (2 diffs)
-
tags/1.4.1/public/class-falang-public.php (modified) (1 diff)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/falang.php (modified) (2 diffs)
-
trunk/public/class-falang-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
falang/tags/1.4.1/README.txt
r3447171 r3485773 6 6 Tested up to: 6.9 7 7 Requires PHP: 5.6 8 Stable tag: 1.4. 08 Stable tag: 1.4.1 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 113 113 == Changelog == 114 114 115 * 1.4.1 (2026/03/18) 116 * display hreflang only for cpt not set to a specific langauge 117 * fix dynamic warning 118 115 119 * 1.4.0 (2026/01/26) 116 120 * add ChatGPT translation service (Pro) … … 122 126 * fix meta translation with serialised object 123 127 124 * 1.3.67 (2025/09/16)125 * fix WooCommerce – Dashboard menu active class missing (Alexandre Froger fix)126 * fix CF7 bug with _locale filtring since CF7 6.1.1127 * fix RankMath title translation for archive page128 * fix meta (ACF) translation (regression from 1.3.66 version)129 * fix for woocommerce Checkout link (jurifc)130 131 * 1.3.66 (2025/09/01)132 * fix theme editor save with slug133 * fix bug with permalink since woocommerce 10.0.0134 * fix object injection vulnerability's135 136 * 1.3.65 (2025/08/02)137 * fix _load_textdomain_just_in_time (thanks to Alexandre Froger)138 * fix yoast title translation139 * fix yoast category description (change in wpml-config.xml necessary)140 * fix yoast graph slug write 2 times141 * load custom wpml-config.xml in falang root directory142 143 * 1.3.64 (2025/07/01)144 * fix yoast title translation (no variable in the title)145 146 * 1.3.63 (2025/05/14)147 * fix error on WC checkout148 149 * 1.3.62 (2025/05/12)150 * add yootheme live search support151 * fix yootheme search bug152 * add WC term&condition translation when it's embeded in the page153 * fix security (CSRF)154 * WordPress 6.8 compatible155 156 * 1.3.61 (2025/04/14)157 * shortcode falang switcher fix the echo158 * add password protection support for translated content159 * fix yoast canonical on page160 * fix title display161 * support for My Agile Privacy162 * fix deprecated Falang\Core\Language::$term_order163 * add falang_languages_list (like pll_languages_list)164 * fix duplicator pro popup bug with Falang [data-tooltip]165 * add WPML ICL_LANGUAGE_CODE and ICL_LANGUAGE_NAME define (fix bug with some theme)166 167 * 1.3.60 (2025/03/05)168 * update term translation in the list status/content on save modal169 * fix term translation service translation170 * fix string translation service translation171 * fix options translation service translation172 * notice are now displayed every 2 weeks not 1173 * add english/french canadian174 * temporary fix load string translation put back in plugin plugins_loaded filter175 * fix new icon copy on acf translation176 177 * 1.3.59 (2025/01/30)178 * fix bug in falangw shortcode use to display the switcher (thanks to Frank Sundgaard Nielsen)179 * fix copy/translate button with supported builder (elementor/divi...)180 * fix suoni language translation with translate service181 * fix deepl translation on elementor text widget182 * fix hreflang when they are overrided by the filter falang_hreflang183 * remove font awesome / use fontello font only184 * fix load_textdomain warning185 186 * 1.3.58 (2025/01/15)187 * change message when the post translation is done in a builder188 * don't display original content with extra builder (fix element pack bug with simple form)189 * add during install the Navigation Menu item option : _menu_item_url checked190 191 128 == Known issues == 192 129 * The WooCommerce attribute slug doesn't have to be translated -
falang/tags/1.4.1/changelog.txt
r3222941 r3485773 1 * 1.3.67 (2025/09/16) 2 * fix WooCommerce – Dashboard menu active class missing (Alexandre Froger fix) 3 * fix CF7 bug with _locale filtring since CF7 6.1.1 4 * fix RankMath title translation for archive page 5 * fix meta (ACF) translation (regression from 1.3.66 version) 6 * fix for woocommerce Checkout link (jurifc) 7 8 * 1.3.66 (2025/09/01) 9 * fix theme editor save with slug 10 * fix bug with permalink since woocommerce 10.0.0 11 * fix object injection vulnerability's 12 13 * 1.3.65 (2025/08/02) 14 * fix _load_textdomain_just_in_time (thanks to Alexandre Froger) 15 * fix yoast title translation 16 * fix yoast category description (change in wpml-config.xml necessary) 17 * fix yoast graph slug write 2 times 18 * load custom wpml-config.xml in falang root directory 19 20 * 1.3.64 (2025/07/01) 21 * fix yoast title translation (no variable in the title) 22 23 * 1.3.63 (2025/05/14) 24 * fix error on WC checkout 25 26 * 1.3.62 (2025/05/12) 27 * add yootheme live search support 28 * fix yootheme search bug 29 * add WC term&condition translation when it's embeded in the page 30 * fix security (CSRF) 31 * WordPress 6.8 compatible 32 33 * 1.3.61 (2025/04/14) 34 * shortcode falang switcher fix the echo 35 * add password protection support for translated content 36 * fix yoast canonical on page 37 * fix title display 38 * support for My Agile Privacy 39 * fix deprecated Falang\Core\Language::$term_order 40 * add falang_languages_list (like pll_languages_list) 41 * fix duplicator pro popup bug with Falang [data-tooltip] 42 * add WPML ICL_LANGUAGE_CODE and ICL_LANGUAGE_NAME define (fix bug with some theme) 43 44 * 1.3.60 (2025/03/05) 45 * update term translation in the list status/content on save modal 46 * fix term translation service translation 47 * fix string translation service translation 48 * fix options translation service translation 49 * notice are now displayed every 2 weeks not 1 50 * add english/french canadian 51 * temporary fix load string translation put back in plugin plugins_loaded filter 52 * fix new icon copy on acf translation 53 54 * 1.3.59 (2025/01/30) 55 * fix bug in falangw shortcode use to display the switcher (thanks to Frank Sundgaard Nielsen) 56 * fix copy/translate button with supported builder (elementor/divi...) 57 * fix suoni language translation with translate service 58 * fix deepl translation on elementor text widget 59 * fix hreflang when they are overrided by the filter falang_hreflang 60 * remove font awesome / use fontello font only 61 * fix load_textdomain warning 62 63 * 1.3.58 (2025/01/15) 64 * change message when the post translation is done in a builder 65 * don't display original content with extra builder (fix element pack bug with simple form) 66 * add during install the Navigation Menu item option : _menu_item_url checked 67 1 68 * 1.3.57 (2024/11/14) 2 69 * fix Yoast title template translation (fix by Stamatios Aronis) -
falang/tags/1.4.1/falang.php
r3447171 r3485773 9 9 * Plugin URI: www.faboba.com/falangw/ 10 10 * Description: Adds multilingual capability to WordPress (Lite version) 11 * Version: 1.4. 011 * Version: 1.4.1 12 12 * Author: Faboba 13 13 * Author URI: www.faboba.com … … 50 50 * Currently plugin version. 51 51 */ 52 define( 'FALANG_VERSION', '1.4. 0' );52 define( 'FALANG_VERSION', '1.4.1' ); 53 53 define( 'FALANG_MIN_WP_VERSION', '4.7' ); 54 54 define( 'FALANG_FILE', __FILE__ ); // this file -
falang/tags/1.4.1/public/class-falang-public.php
r3362585 r3485773 1878 1878 * @from 1.3.7 1879 1879 * @update 1.3.59 fix the return not used for the falang_hreflang filter 1880 * @update 1.4.1 display hreflang only for cpt not set to a specific langauge 1880 1881 */ 1881 1882 public function print_hreflang() { 1883 global $post; 1882 1884 1883 1885 $hreflangs = array(); 1884 1886 $languages = $this->model->get_languages_list(); 1885 1887 1888 //get post language 1889 $post_locale = get_post_meta( $post->ID, '_locale', true ); 1890 1886 1891 foreach ($languages as $language) { 1887 //hreflang code ISO 639-1 en-GB , fr-FR and not like wordpress locale en_GB,fr_FR 1888 $lang = str_replace('_','-',$language->locale); 1889 $hreflangs[ $lang ] = $this->get_translated_url($language); 1892 //add hreflang only if post not set to specific locale 1893 //or it's the locale of the page. 1894 if (empty($post_locale) || ($post_locale == $language->locale)){ 1895 //hreflang code ISO 639-1 en-GB , fr-FR and not like wordpress locale en_GB,fr_FR 1896 $lang = str_replace('_','-',$language->locale); 1897 $hreflangs[ $lang ] = $this->get_translated_url($language); 1898 } 1890 1899 } 1891 1900 -
falang/trunk/README.txt
r3447171 r3485773 6 6 Tested up to: 6.9 7 7 Requires PHP: 5.6 8 Stable tag: 1.4. 08 Stable tag: 1.4.1 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 113 113 == Changelog == 114 114 115 * 1.4.1 (2026/03/18) 116 * display hreflang only for cpt not set to a specific langauge 117 * fix dynamic warning 118 115 119 * 1.4.0 (2026/01/26) 116 120 * add ChatGPT translation service (Pro) … … 122 126 * fix meta translation with serialised object 123 127 124 * 1.3.67 (2025/09/16)125 * fix WooCommerce – Dashboard menu active class missing (Alexandre Froger fix)126 * fix CF7 bug with _locale filtring since CF7 6.1.1127 * fix RankMath title translation for archive page128 * fix meta (ACF) translation (regression from 1.3.66 version)129 * fix for woocommerce Checkout link (jurifc)130 131 * 1.3.66 (2025/09/01)132 * fix theme editor save with slug133 * fix bug with permalink since woocommerce 10.0.0134 * fix object injection vulnerability's135 136 * 1.3.65 (2025/08/02)137 * fix _load_textdomain_just_in_time (thanks to Alexandre Froger)138 * fix yoast title translation139 * fix yoast category description (change in wpml-config.xml necessary)140 * fix yoast graph slug write 2 times141 * load custom wpml-config.xml in falang root directory142 143 * 1.3.64 (2025/07/01)144 * fix yoast title translation (no variable in the title)145 146 * 1.3.63 (2025/05/14)147 * fix error on WC checkout148 149 * 1.3.62 (2025/05/12)150 * add yootheme live search support151 * fix yootheme search bug152 * add WC term&condition translation when it's embeded in the page153 * fix security (CSRF)154 * WordPress 6.8 compatible155 156 * 1.3.61 (2025/04/14)157 * shortcode falang switcher fix the echo158 * add password protection support for translated content159 * fix yoast canonical on page160 * fix title display161 * support for My Agile Privacy162 * fix deprecated Falang\Core\Language::$term_order163 * add falang_languages_list (like pll_languages_list)164 * fix duplicator pro popup bug with Falang [data-tooltip]165 * add WPML ICL_LANGUAGE_CODE and ICL_LANGUAGE_NAME define (fix bug with some theme)166 167 * 1.3.60 (2025/03/05)168 * update term translation in the list status/content on save modal169 * fix term translation service translation170 * fix string translation service translation171 * fix options translation service translation172 * notice are now displayed every 2 weeks not 1173 * add english/french canadian174 * temporary fix load string translation put back in plugin plugins_loaded filter175 * fix new icon copy on acf translation176 177 * 1.3.59 (2025/01/30)178 * fix bug in falangw shortcode use to display the switcher (thanks to Frank Sundgaard Nielsen)179 * fix copy/translate button with supported builder (elementor/divi...)180 * fix suoni language translation with translate service181 * fix deepl translation on elementor text widget182 * fix hreflang when they are overrided by the filter falang_hreflang183 * remove font awesome / use fontello font only184 * fix load_textdomain warning185 186 * 1.3.58 (2025/01/15)187 * change message when the post translation is done in a builder188 * don't display original content with extra builder (fix element pack bug with simple form)189 * add during install the Navigation Menu item option : _menu_item_url checked190 191 128 == Known issues == 192 129 * The WooCommerce attribute slug doesn't have to be translated -
falang/trunk/changelog.txt
r3222941 r3485773 1 * 1.3.67 (2025/09/16) 2 * fix WooCommerce – Dashboard menu active class missing (Alexandre Froger fix) 3 * fix CF7 bug with _locale filtring since CF7 6.1.1 4 * fix RankMath title translation for archive page 5 * fix meta (ACF) translation (regression from 1.3.66 version) 6 * fix for woocommerce Checkout link (jurifc) 7 8 * 1.3.66 (2025/09/01) 9 * fix theme editor save with slug 10 * fix bug with permalink since woocommerce 10.0.0 11 * fix object injection vulnerability's 12 13 * 1.3.65 (2025/08/02) 14 * fix _load_textdomain_just_in_time (thanks to Alexandre Froger) 15 * fix yoast title translation 16 * fix yoast category description (change in wpml-config.xml necessary) 17 * fix yoast graph slug write 2 times 18 * load custom wpml-config.xml in falang root directory 19 20 * 1.3.64 (2025/07/01) 21 * fix yoast title translation (no variable in the title) 22 23 * 1.3.63 (2025/05/14) 24 * fix error on WC checkout 25 26 * 1.3.62 (2025/05/12) 27 * add yootheme live search support 28 * fix yootheme search bug 29 * add WC term&condition translation when it's embeded in the page 30 * fix security (CSRF) 31 * WordPress 6.8 compatible 32 33 * 1.3.61 (2025/04/14) 34 * shortcode falang switcher fix the echo 35 * add password protection support for translated content 36 * fix yoast canonical on page 37 * fix title display 38 * support for My Agile Privacy 39 * fix deprecated Falang\Core\Language::$term_order 40 * add falang_languages_list (like pll_languages_list) 41 * fix duplicator pro popup bug with Falang [data-tooltip] 42 * add WPML ICL_LANGUAGE_CODE and ICL_LANGUAGE_NAME define (fix bug with some theme) 43 44 * 1.3.60 (2025/03/05) 45 * update term translation in the list status/content on save modal 46 * fix term translation service translation 47 * fix string translation service translation 48 * fix options translation service translation 49 * notice are now displayed every 2 weeks not 1 50 * add english/french canadian 51 * temporary fix load string translation put back in plugin plugins_loaded filter 52 * fix new icon copy on acf translation 53 54 * 1.3.59 (2025/01/30) 55 * fix bug in falangw shortcode use to display the switcher (thanks to Frank Sundgaard Nielsen) 56 * fix copy/translate button with supported builder (elementor/divi...) 57 * fix suoni language translation with translate service 58 * fix deepl translation on elementor text widget 59 * fix hreflang when they are overrided by the filter falang_hreflang 60 * remove font awesome / use fontello font only 61 * fix load_textdomain warning 62 63 * 1.3.58 (2025/01/15) 64 * change message when the post translation is done in a builder 65 * don't display original content with extra builder (fix element pack bug with simple form) 66 * add during install the Navigation Menu item option : _menu_item_url checked 67 1 68 * 1.3.57 (2024/11/14) 2 69 * fix Yoast title template translation (fix by Stamatios Aronis) -
falang/trunk/falang.php
r3447171 r3485773 9 9 * Plugin URI: www.faboba.com/falangw/ 10 10 * Description: Adds multilingual capability to WordPress (Lite version) 11 * Version: 1.4. 011 * Version: 1.4.1 12 12 * Author: Faboba 13 13 * Author URI: www.faboba.com … … 50 50 * Currently plugin version. 51 51 */ 52 define( 'FALANG_VERSION', '1.4. 0' );52 define( 'FALANG_VERSION', '1.4.1' ); 53 53 define( 'FALANG_MIN_WP_VERSION', '4.7' ); 54 54 define( 'FALANG_FILE', __FILE__ ); // this file -
falang/trunk/public/class-falang-public.php
r3362585 r3485773 1878 1878 * @from 1.3.7 1879 1879 * @update 1.3.59 fix the return not used for the falang_hreflang filter 1880 * @update 1.4.1 display hreflang only for cpt not set to a specific langauge 1880 1881 */ 1881 1882 public function print_hreflang() { 1883 global $post; 1882 1884 1883 1885 $hreflangs = array(); 1884 1886 $languages = $this->model->get_languages_list(); 1885 1887 1888 //get post language 1889 $post_locale = get_post_meta( $post->ID, '_locale', true ); 1890 1886 1891 foreach ($languages as $language) { 1887 //hreflang code ISO 639-1 en-GB , fr-FR and not like wordpress locale en_GB,fr_FR 1888 $lang = str_replace('_','-',$language->locale); 1889 $hreflangs[ $lang ] = $this->get_translated_url($language); 1892 //add hreflang only if post not set to specific locale 1893 //or it's the locale of the page. 1894 if (empty($post_locale) || ($post_locale == $language->locale)){ 1895 //hreflang code ISO 639-1 en-GB , fr-FR and not like wordpress locale en_GB,fr_FR 1896 $lang = str_replace('_','-',$language->locale); 1897 $hreflangs[ $lang ] = $this->get_translated_url($language); 1898 } 1890 1899 } 1891 1900
Note: See TracChangeset
for help on using the changeset viewer.