Version Description
- Fix: Loading localization language files for some installations
Download this release
Release Info
| Developer | n7studios |
| Plugin | |
| Version | 2.2.7 |
| Comparing to | |
| See all releases | |
Code changes from version 2.2.6 to 2.2.7
- readme.txt +3 -0
- soliloquy-lite.php +3 -12
readme.txt
CHANGED
|
@@ -87,6 +87,9 @@ Soliloquy has many Addons that extend its default functionality to make it do in
|
|
| 87 |
|
| 88 |
== Changelog ==
|
| 89 |
|
|
|
|
|
|
|
|
|
|
| 90 |
= 2.2.6 =
|
| 91 |
* Added: .POT file for translation / localization support
|
| 92 |
|
| 87 |
|
| 88 |
== Changelog ==
|
| 89 |
|
| 90 |
+
= 2.2.7 =
|
| 91 |
+
* Fix: Loading localization language files for some installations
|
| 92 |
+
|
| 93 |
= 2.2.6 =
|
| 94 |
* Added: .POT file for translation / localization support
|
| 95 |
|
soliloquy-lite.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Soliloquy is best responsive WordPress slider plugin. This is the lite version.
|
| 6 |
* Author: Thomas Griffin
|
| 7 |
* Author URI: http://thomasgriffinmedia.com
|
| 8 |
-
* Version: 2.2.
|
| 9 |
* Text Domain: soliloquy
|
| 10 |
* Domain Path: languages
|
| 11 |
*
|
|
@@ -54,7 +54,7 @@ class Soliloquy_Lite {
|
|
| 54 |
*
|
| 55 |
* @var string
|
| 56 |
*/
|
| 57 |
-
public $version = '2.2.
|
| 58 |
|
| 59 |
/**
|
| 60 |
* The name of the plugin.
|
|
@@ -108,16 +108,7 @@ class Soliloquy_Lite {
|
|
| 108 |
*/
|
| 109 |
public function load_plugin_textdomain() {
|
| 110 |
|
| 111 |
-
|
| 112 |
-
if ( class_exists( 'Soliloquy' ) || class_exists( 'Tgmsp' ) ) {
|
| 113 |
-
return;
|
| 114 |
-
}
|
| 115 |
-
|
| 116 |
-
$domain = 'soliloquy';
|
| 117 |
-
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
| 118 |
-
|
| 119 |
-
load_textdomain( $domain, WP_LANG_DIR . '/' . $domain . '/' . $domain . '-' . $locale . '.mo' );
|
| 120 |
-
load_plugin_textdomain( $domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
| 121 |
|
| 122 |
}
|
| 123 |
|
| 5 |
* Description: Soliloquy is best responsive WordPress slider plugin. This is the lite version.
|
| 6 |
* Author: Thomas Griffin
|
| 7 |
* Author URI: http://thomasgriffinmedia.com
|
| 8 |
+
* Version: 2.2.7
|
| 9 |
* Text Domain: soliloquy
|
| 10 |
* Domain Path: languages
|
| 11 |
*
|
| 54 |
*
|
| 55 |
* @var string
|
| 56 |
*/
|
| 57 |
+
public $version = '2.2.7';
|
| 58 |
|
| 59 |
/**
|
| 60 |
* The name of the plugin.
|
| 108 |
*/
|
| 109 |
public function load_plugin_textdomain() {
|
| 110 |
|
| 111 |
+
load_plugin_textdomain( $this->plugin_slug, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
}
|
| 114 |
|
