Version Description
(04.02.2019) = * Fixed bug with network activation on multisite
Download this release
Release Info
Developer | mihdan |
Plugin | Cyr-To-Lat |
Version | 3.6.3 |
Comparing to | |
See all releases |
Code changes from version 3.6.2 to 3.6.3
- cyr-to-lat.php +3 -3
- includes/class-cyr-to-lat-settings.php +7 -3
- readme.txt +4 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_real_52.php +3 -3
cyr-to-lat.php
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
* Author URI: https://profiles.wordpress.org/sergeybiryukov/
|
10 |
* Requires at least: 2.3
|
11 |
* Tested up to: 5.1
|
12 |
-
* Version: 3.6.
|
13 |
-
* Stable tag: 3.6.
|
14 |
*
|
15 |
* Text Domain: cyr-to-lat
|
16 |
* Domain Path: /languages/
|
@@ -41,7 +41,7 @@ define( 'CYR_TO_LAT_FILE', __FILE__ );
|
|
41 |
/**
|
42 |
* Plugin version.
|
43 |
*/
|
44 |
-
define( 'CYR_TO_LAT_VERSION', '3.6.
|
45 |
|
46 |
/**
|
47 |
* Init plugin class on plugin load.
|
9 |
* Author URI: https://profiles.wordpress.org/sergeybiryukov/
|
10 |
* Requires at least: 2.3
|
11 |
* Tested up to: 5.1
|
12 |
+
* Version: 3.6.3
|
13 |
+
* Stable tag: 3.6.3
|
14 |
*
|
15 |
* Text Domain: cyr-to-lat
|
16 |
* Domain Path: /languages/
|
41 |
/**
|
42 |
* Plugin version.
|
43 |
*/
|
44 |
+
define( 'CYR_TO_LAT_VERSION', '3.6.3' );
|
45 |
|
46 |
/**
|
47 |
* Init plugin class on plugin load.
|
includes/class-cyr-to-lat-settings.php
CHANGED
@@ -65,6 +65,13 @@ class Cyr_To_Lat_Settings {
|
|
65 |
* Cyr_To_Lat_Settings constructor.
|
66 |
*/
|
67 |
public function __construct() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
$this->load_plugin_textdomain();
|
69 |
$this->init_form_fields();
|
70 |
$this->init_settings();
|
@@ -643,9 +650,6 @@ class Cyr_To_Lat_Settings {
|
|
643 |
* Load plugin text domain.
|
644 |
*/
|
645 |
public function load_plugin_textdomain() {
|
646 |
-
if ( ! function_exists( 'wp_get_current_user' ) ) {
|
647 |
-
require_once ABSPATH . 'wp-includes/pluggable.php';
|
648 |
-
}
|
649 |
load_plugin_textdomain(
|
650 |
'cyr2lat',
|
651 |
false,
|
65 |
* Cyr_To_Lat_Settings constructor.
|
66 |
*/
|
67 |
public function __construct() {
|
68 |
+
add_action( 'plugins_loaded', array( $this, 'init' ) );
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Init plugin.
|
73 |
+
*/
|
74 |
+
public function init() {
|
75 |
$this->load_plugin_textdomain();
|
76 |
$this->init_form_fields();
|
77 |
$this->init_settings();
|
650 |
* Load plugin text domain.
|
651 |
*/
|
652 |
public function load_plugin_textdomain() {
|
|
|
|
|
|
|
653 |
load_plugin_textdomain(
|
654 |
'cyr2lat',
|
655 |
false,
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: SergeyBiryukov, mihdan, karevn, webvitaly, kaggdesign
|
|
3 |
Tags: cyrillic, georgian, latin, l10n, russian, rustolat, slugs, translations, transliteration
|
4 |
Requires at least: 2.3
|
5 |
Tested up to: 5.1
|
6 |
-
Stable tag: 3.6.
|
7 |
Requires PHP: 5.2
|
8 |
|
9 |
Converts Cyrillic characters in post, page and term slugs to Latin characters.
|
@@ -46,6 +46,9 @@ Yes you can! Join in on our [GitHub repository](https://github.com/mihdan/cyr2la
|
|
46 |
|
47 |
== Changelog ==
|
48 |
|
|
|
|
|
|
|
49 |
= 3.6.2 (01.02.2019) =
|
50 |
* Moved the menu in the settings section
|
51 |
* Text domain fixup.
|
3 |
Tags: cyrillic, georgian, latin, l10n, russian, rustolat, slugs, translations, transliteration
|
4 |
Requires at least: 2.3
|
5 |
Tested up to: 5.1
|
6 |
+
Stable tag: 3.6.3
|
7 |
Requires PHP: 5.2
|
8 |
|
9 |
Converts Cyrillic characters in post, page and term slugs to Latin characters.
|
46 |
|
47 |
== Changelog ==
|
48 |
|
49 |
+
= 3.6.3 (04.02.2019) =
|
50 |
+
* Fixed bug with network activation on multisite
|
51 |
+
|
52 |
= 3.6.2 (01.02.2019) =
|
53 |
* Moved the menu in the settings section
|
54 |
* Text domain fixup.
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitfb5d3f1dd75e3c85696a0ac7fd97b16f::getLoader();
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitd71b6b279de2d8e5b477a7d084c5a539 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInitfb5d3f1dd75e3c85696a0ac7fd97b16f {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitfb5d3f1dd75e3c85696a0ac7fd97b16f', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitfb5d3f1dd75e3c85696a0ac7fd97b16f', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|