WP Translitera - Version 161101

Version Description

Download this release

Release Info

Developer YurchenkoEV
Plugin Icon wp plugin WP Translitera
Version 161101
Comparing to
See all releases

Code changes from version 161011 to 161101

Files changed (2) hide show
  1. readme.txt +5 -1
  2. wp-translitera.php +7 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yur4enko.com/
4
  Tags: translate, rus-to-lat, cyr-to-lat, Seo, tag, record, page, transliterate, transliteration
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
- Stable tag: 161011
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -24,6 +24,10 @@ Automatical from repository or unzip in plugins and activate in ACP.
24
 
25
  == Changelog ==
26
 
 
 
 
 
27
  = 161011 =
28
  * New update function (core)
29
  * Added exceptions for which types of files will not trnasliterirovatsya zaglovki (functional)
4
  Tags: translate, rus-to-lat, cyr-to-lat, Seo, tag, record, page, transliterate, transliteration
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
+ Stable tag: 161101
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
24
 
25
  == Changelog ==
26
 
27
+ = 161101=
28
+ * Fixed crach bug from (http://yur4enko.com/moi-proekty/wp-translitera/istorija-izmenenij-wp-translitera-15-versij#comment-449) (bugs)
29
+ * Fixed update function (core)
30
+
31
  = 161011 =
32
  * New update function (core)
33
  * Added exceptions for which types of files will not trnasliterirovatsya zaglovki (functional)
wp-translitera.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Translitera
4
  Plugin URI: http://yur4enko.com/category/moi-proekty/wp-translitera
5
  Description: Plug-in for transliteration permanent permalink records , pages, and tag
6
- Version: 161011
7
  Author: Evgen Yurchenko
8
  Text Domain: wp_translitera
9
  Domain Path: /languages/
@@ -32,6 +32,7 @@ class wp_translitera {//wp=>3.0 php=>5.2.4
32
  //Создаем локализации
33
  protected static function createlocale() {//wp=>3.0 php=>5.2.4
34
  $loc = get_locale();
 
35
  if ($loc == 'ru_RU') {//Русская локализация
36
  $ret = array(
37
  'А'=>'A','а'=>'a','Б'=>'B','б'=>'b','В'=>'V','в'=>'v','Г'=>'G',
@@ -198,10 +199,12 @@ class wp_translitera {//wp=>3.0 php=>5.2.4
198
  $from = 160819;
199
  }
200
  if ($from == 160819) {
201
- wp_translitera::updset('fileext', array());
202
- $from == 161011;
 
 
203
  }
204
-
205
  if ($startfrom != $from) {
206
  wp_translitera::updset('version', $from);
207
  }
3
  Plugin Name: WP Translitera
4
  Plugin URI: http://yur4enko.com/category/moi-proekty/wp-translitera
5
  Description: Plug-in for transliteration permanent permalink records , pages, and tag
6
+ Version: 161101
7
  Author: Evgen Yurchenko
8
  Text Domain: wp_translitera
9
  Domain Path: /languages/
32
  //Создаем локализации
33
  protected static function createlocale() {//wp=>3.0 php=>5.2.4
34
  $loc = get_locale();
35
+ $ret = array();
36
  if ($loc == 'ru_RU') {//Русская локализация
37
  $ret = array(
38
  'А'=>'A','а'=>'a','Б'=>'B','б'=>'b','В'=>'V','в'=>'v','Г'=>'G',
199
  $from = 160819;
200
  }
201
  if ($from == 160819) {
202
+ if (wp_translitera::getset('fileext') == NULL) {
203
+ wp_translitera::updset('fileext', array());
204
+ }
205
+ $from = 161011;
206
  }
207
+
208
  if ($startfrom != $from) {
209
  wp_translitera::updset('version', $from);
210
  }