Changeset 3438877
- Timestamp:
- 01/13/2026 05:51:43 PM (8 weeks ago)
- Location:
- language-switcher-for-transposh/tags/2.0.6
- Files:
-
- 1 edited
- 4 copied
-
. (copied) (copied from language-switcher-for-transposh/trunk)
-
README.txt (copied) (copied from language-switcher-for-transposh/trunk/README.txt) (2 diffs)
-
admin/partials/cfx-language-switcher-for-transposh-admin-display.php (copied) (copied from language-switcher-for-transposh/trunk/admin/partials/cfx-language-switcher-for-transposh-admin-display.php)
-
cfx-language-switcher-for-transposh.php (copied) (copied from language-switcher-for-transposh/trunk/cfx-language-switcher-for-transposh.php) (2 diffs)
-
public/class-cfx-language-switcher-for-transposh-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
language-switcher-for-transposh/tags/2.0.6/README.txt
r3437043 r3438877 5 5 Requires at least: 5.0 6 6 Tested up to: 6.9 7 Stable tag: 2.0. 57 Stable tag: 2.0.6 8 8 Requires PHP: 5.6 9 9 Requires Plugins: transposh-translation-filter-for-wordpress … … 61 61 62 62 == Changelog == 63 64 = 2.0.6 = 65 * Added: class 'current-lang' to the current language item in horizontal and vertical switchers 63 66 64 67 = 2.0.5 = -
language-switcher-for-transposh/tags/2.0.6/cfx-language-switcher-for-transposh.php
r3437043 r3438877 16 16 * Plugin URI: https://codingfix.com/language-switcher-for-transposh 17 17 * Description: A small plugin to use a customized language switcher with Transposh plugin. 18 * Version: 2.0. 518 * Version: 2.0.6 19 19 * Author: Marco Gasi 20 20 * Author URI: https://codingfix.com … … 30 30 * Rename this for your plugin and update it as you release new versions. 31 31 */ 32 define( 'CFX_LSFT_VERSION', '2.0. 5' );32 define( 'CFX_LSFT_VERSION', '2.0.6' ); 33 33 34 34 /** -
language-switcher-for-transposh/tags/2.0.6/public/class-cfx-language-switcher-for-transposh-public.php
r3436176 r3438877 546 546 default: // 'horizontal' o 'vertical' 547 547 foreach ( $languages as $lang ) { 548 $items_html .= "<li class='switch_lang no_translate $menu_classes'>" . $this->render_item( $lang, $variant, 'link', 'menu-link' ) . '</li>'; 548 $current = $lang['is_current'] ? 'current-lang' : ''; 549 $items_html .= "<li class='switch_lang no_translate $menu_classes $current'>" . $this->render_item( $lang, $variant, 'link', 'menu-link' ) . '</li>'; 549 550 } 550 551 $items_html .= $this->maybe_render_edit_button( 'list', $menu_classes );
Note: See TracChangeset
for help on using the changeset viewer.