WP Rollback - Version 1.2.2

Version Description

  • New: Russian translations from @Flector - thanks!
  • Fix: Replaced use of wp_json_encode to support older WordPress versions @see https://wordpress.org/support/topic/wordpress-requirement-issue-with-wp_json_encode
Download this release

Release Info

Developer dlocc
Plugin Icon 128x128 WP Rollback
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

languages/wpr-ru_RU.mo ADDED
Binary file
languages/wpr-ru_RU.po ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Rollback ru_RU\n"
4
+ "POT-Creation-Date: 2015-05-25 06:50+0300\n"
5
+ "PO-Revision-Date: 2015-05-25 07:04+0300\n"
6
+ "Last-Translator: Flector <rlector@gmail.com>\n"
7
+ "Language-Team: Flector <rlector@gmail.com>\n"
8
+ "Language: ru_RU\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
19
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: includes/rollback-action.php:35
24
+ msgid ""
25
+ "This rollback request is missing proper query string. Please contact support."
26
+ msgstr ""
27
+ "Этот откат требует правильную строку запроса. Пожалуйста, свяжитесь с "
28
+ "автором плагина."
29
+
30
+ #: includes/rollback-menu.php:12
31
+ msgid ""
32
+ "WP Rollback is missing necessary parameters to continue. Please contact "
33
+ "support."
34
+ msgstr ""
35
+ "WP Rollback не может работать, так как неизвестны необходимые параметры. "
36
+ "<br /> Пожалуйста, свяжитесь с поддержкой. <br /><strong>Замечание:</strong> "
37
+ "ссылку \"Откат\" необходимо нажимать только на странице плагинов или тем."
38
+
39
+ #: includes/rollback-menu.php:23
40
+ msgid "WP Rollback"
41
+ msgstr "WP Rollback"
42
+
43
+ #: includes/rollback-menu.php:25
44
+ #, php-format
45
+ msgid ""
46
+ "Please select which %1$s version you would like to rollback to from the "
47
+ "releases listed below. You currently have version %2$s installed of %3$s."
48
+ msgstr ""
49
+ "Пожалуйста выберите версию<span style=\"display:none;\">%1$s</span>, на "
50
+ "которую вы хотите откатиться. <br /> На данный момент вы используете %3$s "
51
+ "версии %2$s."
52
+
53
+ #: includes/rollback-menu.php:63 includes/rollback-menu.php:121
54
+ #: wp-rollback.php:206 wp-rollback.php:450 wp-rollback.php:510
55
+ msgid "Rollback"
56
+ msgstr "Откат"
57
+
58
+ #: includes/rollback-menu.php:64 includes/rollback-menu.php:122
59
+ msgid "Cancel"
60
+ msgstr "Отмена"
61
+
62
+ #: includes/rollback-menu.php:82
63
+ msgid "Are you sure you want to perform the following rollback?"
64
+ msgstr "Вы уверены, что хотите выполнить этот откат?"
65
+
66
+ #: includes/rollback-menu.php:92
67
+ msgid "Plugin Name:"
68
+ msgstr "Название плагина:"
69
+
70
+ #: includes/rollback-menu.php:94
71
+ msgid "Theme Name:"
72
+ msgstr "Название темы:"
73
+
74
+ #: includes/rollback-menu.php:101
75
+ msgid "Installed Version:"
76
+ msgstr "Установленная версия"
77
+
78
+ #: includes/rollback-menu.php:107
79
+ msgid "New Version:"
80
+ msgstr "Новая версия:"
81
+
82
+ #: includes/rollback-menu.php:117
83
+ msgid ""
84
+ "<strong>Notice:</strong> We strongly recommend you perform a test rollback "
85
+ "on a staging site and create a complete backup of your WordPress files and "
86
+ "database prior to performing a rollback. We are not responsible for any "
87
+ "misuse, deletions, white screens, fatal errors, or any other issue arising "
88
+ "from using this plugin."
89
+ msgstr ""
90
+ "<strong>Внимание:</strong> мы строго рекомендуем вам делать откаты, "
91
+ "предварительно сделав бэкап сайта (файлов и базы данных). Мы не отвечаем за "
92
+ "любые ошибки, к которым может привести откат на \"глючную\" версию плагина "
93
+ "или темы (такое вполне может быть)."
94
+
95
+ #: wp-rollback.php:122 wp-rollback.php:134
96
+ msgid "Cheatin&#8217; huh?"
97
+ msgstr "Хакер, что ли?"
98
+
99
+ #: wp-rollback.php:207
100
+ msgid "No Rollback Available: This is a non-WordPress.org theme."
101
+ msgstr "Откат недоступен. Эта тема не из репозитория WordPress.org."
102
+
103
+ #: wp-rollback.php:208
104
+ msgid "Loading..."
105
+ msgstr "Загрузка..."
106
+
107
+ #: wp-rollback.php:227
108
+ msgid "Please select a version number to perform a rollback."
109
+ msgstr "Пожалуйста выберите версию, на которую вы хотите откатиться."
110
+
111
+ #: wp-rollback.php:275
112
+ msgid ""
113
+ "You do not have sufficient permissions to perform rollbacks for this site."
114
+ msgstr ""
115
+ "У вас нет необходимых прав, чтобы делать откаты тем и плагинов на этом сайте."
116
+
117
+ #: wp-rollback.php:397
118
+ msgid "Installed Version"
119
+ msgstr "Установленная версия"
120
+
121
+ #: wp-rollback.php:622
122
+ msgid ""
123
+ "An unexpected error occurred. Something may be wrong with WordPress.org or "
124
+ "this server&#8217;s configuration. If you continue to have problems, please "
125
+ "try the <a href=\"https://wordpress.org/support/\">support forums</a>."
126
+ msgstr ""
127
+ "Произошла неизвестная ошибка. Что-то не так с сайтом WordPress.org или с "
128
+ "настройками вашего сервера. Если эти проблемы не пройдут сами по себе, то "
129
+ "попробуйте найти решение на <a href=\"https://ru.forums.wordpress.org/forum/"
130
+ "\">форумах поддержки</a>."
131
+
132
+ #: wp-rollback.php:622
133
+ msgid ""
134
+ "(WordPress could not establish a secure connection to WordPress.org. Please "
135
+ "contact your server administrator.)"
136
+ msgstr ""
137
+ "[WordPress не может установить безопасное соединение с WordPress.org. "
138
+ "Пожалуйста свяжитесь с администратором вашего сервера.]"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: rollback, revert, downgrade, version, plugins, themes, version, versions,
4
  Requires at least: 3.8
5
  Donate Link: https://wordimpress.com
6
  Tested up to: 4.2.2
7
- Stable tag: 1.2.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -109,6 +109,10 @@ This is the first version of this plugin. It is a tool for your convenience. Rol
109
 
110
  == Changelog ==
111
 
 
 
 
 
112
  = 1.2.1 =
113
  * Fix: Rollback link appears on non wp.org plugins https://github.com/WordImpress/WP-Rollback/issues/14 - thanks @scottopolis
114
  * Removed unnecessary WP_ROLLBACK_VERSION constant
4
  Requires at least: 3.8
5
  Donate Link: https://wordimpress.com
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.2.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.2.2 =
113
+ * New: Russian translations from @Flector - thanks!
114
+ * Fix: Replaced use of wp_json_encode to support older WordPress versions @see https://wordpress.org/support/topic/wordpress-requirement-issue-with-wp_json_encode
115
+
116
  = 1.2.1 =
117
  * Fix: Rollback link appears on non wp.org plugins https://github.com/WordImpress/WP-Rollback/issues/14 - thanks @scottopolis
118
  * Removed unnecessary WP_ROLLBACK_VERSION constant
wp-rollback.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Rollback (or forward) any WordPress.org plugin or theme like a boss.
6
  * Author: WordImpress
7
  * Author URI: http://wordimpress.com
8
- * Version: 1.2.1
9
  * Text Domain: wpr
10
  * Domain Path: languages
11
  *
@@ -607,7 +607,7 @@ if ( ! class_exists( 'WP Rollback' ) ) : /**
607
  $options = array(
608
  'timeout' => $timeout,
609
  'body' => array(
610
- 'themes' => wp_json_encode( $request ),
611
  ),
612
  'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' )
613
  );
5
  * Description: Rollback (or forward) any WordPress.org plugin or theme like a boss.
6
  * Author: WordImpress
7
  * Author URI: http://wordimpress.com
8
+ * Version: 1.2.2
9
  * Text Domain: wpr
10
  * Domain Path: languages
11
  *
607
  $options = array(
608
  'timeout' => $timeout,
609
  'body' => array(
610
+ 'themes' => json_encode( $request ),
611
  ),
612
  'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' )
613
  );