Version Description
[11/06/15] =
- Ukrainian language pack added (thanks to mister_r!)
- Fix: Meta Slider hoplink incorrectly adding parameters to filtered url
- Add "metaslider_attachment_url" filter
Download this release
Release Info
Developer | matchalabs |
Plugin | MetaSlider |
Version | 3.3.3 |
Comparing to | |
See all releases |
Code changes from version 3.3.2 to 3.3.3
- inc/metaslider.imagehelper.class.php +3 -3
- languages/metaslider-uk.mo +0 -0
- languages/metaslider-uk.po +702 -0
- ml-slider.php +42 -32
- readme.txt +9 -2
inc/metaslider.imagehelper.class.php
CHANGED
@@ -30,7 +30,7 @@ class MetaSliderImageHelper {
|
|
30 |
$upload_dir = wp_upload_dir();
|
31 |
|
32 |
$this->id = $slide_id;
|
33 |
-
$this->url = $upload_dir['baseurl'] . "/" . get_post_meta( $slide_id, '_wp_attached_file', true );
|
34 |
$this->path = get_attached_file( $slide_id );
|
35 |
$this->container_width = $width;
|
36 |
$this->container_height = $height;
|
@@ -46,7 +46,7 @@ class MetaSliderImageHelper {
|
|
46 |
* @param string $crop_type
|
47 |
*/
|
48 |
private function set_crop_type( $crop_type ) {
|
49 |
-
|
50 |
switch ( $crop_type ) {
|
51 |
case "false":
|
52 |
case "standard":
|
@@ -356,7 +356,7 @@ class MetaSliderImageHelper {
|
|
356 |
$crop_position = get_post_meta( $this->id, 'ml-slider_crop_position', true );
|
357 |
|
358 |
if ( $crop_position ) {
|
359 |
-
|
360 |
$parts = explode( "-", $crop_position );
|
361 |
|
362 |
if ( isset( $parts[0], $parts[1] ) ) {
|
30 |
$upload_dir = wp_upload_dir();
|
31 |
|
32 |
$this->id = $slide_id;
|
33 |
+
$this->url = apply_filters("metaslider_attachment_url", $upload_dir['baseurl'] . "/" . get_post_meta( $slide_id, '_wp_attached_file', true ), $slide_id);
|
34 |
$this->path = get_attached_file( $slide_id );
|
35 |
$this->container_width = $width;
|
36 |
$this->container_height = $height;
|
46 |
* @param string $crop_type
|
47 |
*/
|
48 |
private function set_crop_type( $crop_type ) {
|
49 |
+
|
50 |
switch ( $crop_type ) {
|
51 |
case "false":
|
52 |
case "standard":
|
356 |
$crop_position = get_post_meta( $this->id, 'ml-slider_crop_position', true );
|
357 |
|
358 |
if ( $crop_position ) {
|
359 |
+
|
360 |
$parts = explode( "-", $crop_position );
|
361 |
|
362 |
if ( isset( $parts[0], $parts[1] ) ) {
|
languages/metaslider-uk.mo
ADDED
Binary file
|
languages/metaslider-uk.po
ADDED
@@ -0,0 +1,702 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: metaslider\n"
|
4 |
+
"POT-Creation-Date: 2015-04-19 14:07+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-04-20 16:55+0200\n"
|
6 |
+
"Last-Translator: Roman Sulym <sulym.roman@gmail.com>\n"
|
7 |
+
"Language-Team: LNU\n"
|
8 |
+
"Language: uk\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.7.5\n"
|
13 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
16 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
"X-Poedit-SearchPath-1: ..\n"
|
20 |
+
|
21 |
+
#: ../inc/metaslider.widget.class.php:19
|
22 |
+
msgid "Meta Slider"
|
23 |
+
msgstr "Meta Slider"
|
24 |
+
|
25 |
+
#: ../inc/metaslider.widget.class.php:109
|
26 |
+
msgid "Title:"
|
27 |
+
msgstr "Заголовок:"
|
28 |
+
|
29 |
+
#: ../inc/metaslider.widget.class.php:112
|
30 |
+
msgid "Select Slider:"
|
31 |
+
msgstr "Виберіть слайдер:"
|
32 |
+
|
33 |
+
#: ../inc/metaslider.widget.class.php:122 ../ml-slider.php:1793
|
34 |
+
msgid "No slideshows found"
|
35 |
+
msgstr "Слайд-шоу не знайдено"
|
36 |
+
|
37 |
+
#: ../inc/slide/metaslide.class.php:76
|
38 |
+
#: ../inc/slide/metaslide.image.class.php:32
|
39 |
+
msgid "Security check failed. Refresh page and try again."
|
40 |
+
msgstr ""
|
41 |
+
"Перевірка безпеки зазнала невдачі. Оновіть сторінку і спробуйте знову."
|
42 |
+
|
43 |
+
#: ../inc/slide/metaslide.class.php:121
|
44 |
+
msgid "File copy failed. Please check upload directory permissions."
|
45 |
+
msgstr ""
|
46 |
+
"Не вдалось скопіювати файл. Будь ласка, перевірте права доступу до каталогу."
|
47 |
+
|
48 |
+
#: ../inc/slide/metaslide.class.php:286
|
49 |
+
msgid "Delete slide"
|
50 |
+
msgstr "Видалити слайд"
|
51 |
+
|
52 |
+
#: ../inc/slide/metaslide.image.class.php:48
|
53 |
+
msgid "Failed to add slide. Slide already exists in slideshow."
|
54 |
+
msgstr "Не вдалось додати слайд. Цей слайд вже існує у слайд-шоу."
|
55 |
+
|
56 |
+
#: ../inc/slide/metaslide.image.class.php:52
|
57 |
+
msgid "Failed to add slide. Slide is not of type 'image'."
|
58 |
+
msgstr "Не вдалось додати слайд. Цей слайд не є зображенням."
|
59 |
+
|
60 |
+
#: ../inc/slide/metaslide.image.class.php:56
|
61 |
+
msgid "Failed to add slide. Slide is not an image."
|
62 |
+
msgstr "Не вдалось додати слайд. Цей слайд не є зображенням."
|
63 |
+
|
64 |
+
#: ../inc/slide/metaslide.image.class.php:120
|
65 |
+
msgid "Image Slide"
|
66 |
+
msgstr "Зображення"
|
67 |
+
|
68 |
+
#: ../inc/slide/metaslide.image.class.php:155 ../ml-slider.php:471
|
69 |
+
msgid "Caption"
|
70 |
+
msgstr "Напис"
|
71 |
+
|
72 |
+
#: ../inc/slide/metaslide.image.class.php:156 ../ml-slider.php:470
|
73 |
+
msgid "URL"
|
74 |
+
msgstr "URL"
|
75 |
+
|
76 |
+
#: ../inc/slide/metaslide.image.class.php:158 ../ml-slider.php:472
|
77 |
+
msgid "New Window"
|
78 |
+
msgstr "Нове вікно"
|
79 |
+
|
80 |
+
#: ../inc/slide/metaslide.image.class.php:162
|
81 |
+
msgid "Warning: Image data does not exist. Please re-upload the image."
|
82 |
+
msgstr ""
|
83 |
+
"Попередження: файл зображення не існує. Будь ласка, завантажте його "
|
84 |
+
"повторно."
|
85 |
+
|
86 |
+
#: ../inc/slide/metaslide.image.class.php:167
|
87 |
+
msgid "Image Title Text"
|
88 |
+
msgstr "Атрибут title"
|
89 |
+
|
90 |
+
#: ../inc/slide/metaslide.image.class.php:169
|
91 |
+
msgid "Image Alt Text"
|
92 |
+
msgstr "Атрибут alt"
|
93 |
+
|
94 |
+
#: ../inc/slide/metaslide.image.class.php:174
|
95 |
+
msgid "General"
|
96 |
+
msgstr "Основне"
|
97 |
+
|
98 |
+
#: ../inc/slide/metaslide.image.class.php:178
|
99 |
+
msgid "SEO"
|
100 |
+
msgstr "SEO"
|
101 |
+
|
102 |
+
#: ../inc/slide/metaslide.image.class.php:191
|
103 |
+
msgid "Crop Position"
|
104 |
+
msgstr "Позиція обтинання"
|
105 |
+
|
106 |
+
#: ../inc/slide/metaslide.image.class.php:194
|
107 |
+
msgid "Top Left"
|
108 |
+
msgstr "Зверху зліва"
|
109 |
+
|
110 |
+
#: ../inc/slide/metaslide.image.class.php:195
|
111 |
+
msgid "Top Center"
|
112 |
+
msgstr "Зверху по центру"
|
113 |
+
|
114 |
+
#: ../inc/slide/metaslide.image.class.php:196
|
115 |
+
msgid "Top Right"
|
116 |
+
msgstr "Зверху справа"
|
117 |
+
|
118 |
+
#: ../inc/slide/metaslide.image.class.php:197
|
119 |
+
msgid "Center Left"
|
120 |
+
msgstr "Посередині зліва"
|
121 |
+
|
122 |
+
#: ../inc/slide/metaslide.image.class.php:198
|
123 |
+
msgid "Center Center"
|
124 |
+
msgstr "Посередині по центру"
|
125 |
+
|
126 |
+
#: ../inc/slide/metaslide.image.class.php:199
|
127 |
+
msgid "Center Right"
|
128 |
+
msgstr "Посередині справа"
|
129 |
+
|
130 |
+
#: ../inc/slide/metaslide.image.class.php:200
|
131 |
+
msgid "Bottom Left"
|
132 |
+
msgstr "Знизу зліва"
|
133 |
+
|
134 |
+
#: ../inc/slide/metaslide.image.class.php:201
|
135 |
+
msgid "Bottom Center"
|
136 |
+
msgstr "Знизу по центру"
|
137 |
+
|
138 |
+
#: ../inc/slide/metaslide.image.class.php:202
|
139 |
+
msgid "Bottom Right"
|
140 |
+
msgstr "Знизу справа"
|
141 |
+
|
142 |
+
#: ../inc/slide/metaslide.image.class.php:207
|
143 |
+
msgid "Crop"
|
144 |
+
msgstr "Обтинання"
|
145 |
+
|
146 |
+
#: ../ml-slider.php:288 ../ml-slider.php:289
|
147 |
+
msgid "Go Pro!"
|
148 |
+
msgstr "PRO версія"
|
149 |
+
|
150 |
+
#: ../ml-slider.php:417
|
151 |
+
msgid "Documentation"
|
152 |
+
msgstr "Документація"
|
153 |
+
|
154 |
+
#: ../ml-slider.php:473
|
155 |
+
msgid "Are you sure?"
|
156 |
+
msgstr "Ви впевнені?"
|
157 |
+
|
158 |
+
#: ../ml-slider.php:475
|
159 |
+
msgid "Select replacement image"
|
160 |
+
msgstr "Виберіть зображення"
|
161 |
+
|
162 |
+
#: ../ml-slider.php:480
|
163 |
+
msgid ""
|
164 |
+
"Caution: This setting is for advanced developers only. If you're unsure, "
|
165 |
+
"leave it checked."
|
166 |
+
msgstr ""
|
167 |
+
"Увага: це налаштування лише для досвідчених розробників. Якщо ви не "
|
168 |
+
"впевнені, залишіть його відзначеним. "
|
169 |
+
|
170 |
+
#: ../ml-slider.php:543
|
171 |
+
msgid "Image"
|
172 |
+
msgstr "Зображення"
|
173 |
+
|
174 |
+
#: ../ml-slider.php:544
|
175 |
+
msgid "Add to slider"
|
176 |
+
msgstr "Додати в слайдер"
|
177 |
+
|
178 |
+
#: ../ml-slider.php:814
|
179 |
+
msgid "New Slider"
|
180 |
+
msgstr "Новий слайдер"
|
181 |
+
|
182 |
+
#: ../ml-slider.php:1105
|
183 |
+
msgid "Switch to Dropdown view"
|
184 |
+
msgstr "Режим випадного списку"
|
185 |
+
|
186 |
+
#: ../ml-slider.php:1105
|
187 |
+
msgid "Dropdown"
|
188 |
+
msgstr "Випадний список"
|
189 |
+
|
190 |
+
#: ../ml-slider.php:1126
|
191 |
+
msgid "New slideshow created. Click 'Add Slide' to get started!"
|
192 |
+
msgstr ""
|
193 |
+
"Створено нове слайд-шоу. Натисніть кнопку 'Додати слайд', щоб розпочати "
|
194 |
+
"роботу!"
|
195 |
+
|
196 |
+
#: ../ml-slider.php:1130
|
197 |
+
msgid "Switch to Tab view"
|
198 |
+
msgstr "Режим вкладок"
|
199 |
+
|
200 |
+
#: ../ml-slider.php:1130
|
201 |
+
msgid "Tabs"
|
202 |
+
msgstr "Вкладки"
|
203 |
+
|
204 |
+
#: ../ml-slider.php:1132
|
205 |
+
msgid "Select Slider"
|
206 |
+
msgstr "Вибрати слайдер"
|
207 |
+
|
208 |
+
#: ../ml-slider.php:1151
|
209 |
+
msgid "or"
|
210 |
+
msgstr "або"
|
211 |
+
|
212 |
+
#: ../ml-slider.php:1152
|
213 |
+
msgid "Add New Slideshow"
|
214 |
+
msgstr "Додати нове слайд-шоу"
|
215 |
+
|
216 |
+
#: ../ml-slider.php:1158
|
217 |
+
msgid "Create your first slideshow"
|
218 |
+
msgstr "Створити Ваше перше слайд-шоу"
|
219 |
+
|
220 |
+
#: ../ml-slider.php:1234
|
221 |
+
msgid "Slides"
|
222 |
+
msgstr "Слайди"
|
223 |
+
|
224 |
+
#: ../ml-slider.php:1238 ../ml-slider.php:1239
|
225 |
+
msgid "Add Slide"
|
226 |
+
msgstr "Додати слайд"
|
227 |
+
|
228 |
+
#: ../ml-slider.php:1262
|
229 |
+
msgid "Settings"
|
230 |
+
msgstr "Налаштування"
|
231 |
+
|
232 |
+
#: ../ml-slider.php:1263
|
233 |
+
msgid "Save"
|
234 |
+
msgstr "Зберегти"
|
235 |
+
|
236 |
+
#: ../ml-slider.php:1264
|
237 |
+
msgid "Save & Preview"
|
238 |
+
msgstr "Зберегти і переглянути"
|
239 |
+
|
240 |
+
#: ../ml-slider.php:1277
|
241 |
+
msgid "Flex Slider"
|
242 |
+
msgstr "Flex Slider"
|
243 |
+
|
244 |
+
#: ../ml-slider.php:1278
|
245 |
+
msgid "R. Slides"
|
246 |
+
msgstr "R. Slides"
|
247 |
+
|
248 |
+
#: ../ml-slider.php:1279
|
249 |
+
msgid "Nivo Slider"
|
250 |
+
msgstr "Nivo Slider"
|
251 |
+
|
252 |
+
#: ../ml-slider.php:1280
|
253 |
+
msgid "Coin Slider"
|
254 |
+
msgstr "Coin Slider"
|
255 |
+
|
256 |
+
#: ../ml-slider.php:1291 ../ml-slider.php:1530
|
257 |
+
msgid "Width"
|
258 |
+
msgstr "Ширина"
|
259 |
+
|
260 |
+
#: ../ml-slider.php:1293
|
261 |
+
msgid "Slideshow width"
|
262 |
+
msgstr "Ширина слайд-шоу"
|
263 |
+
|
264 |
+
#: ../ml-slider.php:1294 ../ml-slider.php:1307 ../ml-slider.php:1457
|
265 |
+
msgid "px"
|
266 |
+
msgstr "пікселів"
|
267 |
+
|
268 |
+
#: ../ml-slider.php:1304 ../ml-slider.php:1543
|
269 |
+
msgid "Height"
|
270 |
+
msgstr "Висота"
|
271 |
+
|
272 |
+
#: ../ml-slider.php:1306
|
273 |
+
msgid "Slideshow height"
|
274 |
+
msgstr "Висота слайд-шоу"
|
275 |
+
|
276 |
+
#: ../ml-slider.php:1313
|
277 |
+
msgid "Effect"
|
278 |
+
msgstr "Ефект"
|
279 |
+
|
280 |
+
#: ../ml-slider.php:1315
|
281 |
+
msgid "Slide transition effect"
|
282 |
+
msgstr "Ефект переходу слайдів"
|
283 |
+
|
284 |
+
#: ../ml-slider.php:1317 ../ml-slider.php:1462
|
285 |
+
msgid "Random"
|
286 |
+
msgstr "Випадково"
|
287 |
+
|
288 |
+
#: ../ml-slider.php:1318
|
289 |
+
msgid "Swirl"
|
290 |
+
msgstr "Вир"
|
291 |
+
|
292 |
+
#: ../ml-slider.php:1319
|
293 |
+
msgid "Rain"
|
294 |
+
msgstr "Дощ"
|
295 |
+
|
296 |
+
#: ../ml-slider.php:1320
|
297 |
+
msgid "Straight"
|
298 |
+
msgstr "Класичний"
|
299 |
+
|
300 |
+
#: ../ml-slider.php:1321
|
301 |
+
msgid "Slide Down"
|
302 |
+
msgstr "Ковзання вниз"
|
303 |
+
|
304 |
+
#: ../ml-slider.php:1322
|
305 |
+
msgid "Slice Up"
|
306 |
+
msgstr "Зсув"
|
307 |
+
|
308 |
+
#: ../ml-slider.php:1323
|
309 |
+
msgid "Slide Up Left"
|
310 |
+
msgstr "Ковзання вверх ліворуч"
|
311 |
+
|
312 |
+
#: ../ml-slider.php:1324
|
313 |
+
msgid "Slice Up Down"
|
314 |
+
msgstr "Зсув вниз"
|
315 |
+
|
316 |
+
#: ../ml-slider.php:1325
|
317 |
+
msgid "Slide Up Down Left"
|
318 |
+
msgstr "Ковзання вниз ліворуч"
|
319 |
+
|
320 |
+
#: ../ml-slider.php:1326
|
321 |
+
msgid "Fold"
|
322 |
+
msgstr "Жалюзі"
|
323 |
+
|
324 |
+
#: ../ml-slider.php:1327
|
325 |
+
msgid "Fade"
|
326 |
+
msgstr "Вицвітання"
|
327 |
+
|
328 |
+
#: ../ml-slider.php:1328
|
329 |
+
msgid "Slide In Right"
|
330 |
+
msgstr "Ковзання праворуч"
|
331 |
+
|
332 |
+
#: ../ml-slider.php:1329
|
333 |
+
msgid "Slide In Left"
|
334 |
+
msgstr "Ковзання ліворуч"
|
335 |
+
|
336 |
+
#: ../ml-slider.php:1330
|
337 |
+
msgid "Box Random"
|
338 |
+
msgstr "Випадкові квадрати"
|
339 |
+
|
340 |
+
#: ../ml-slider.php:1331
|
341 |
+
msgid "Box Rain"
|
342 |
+
msgstr "Мозаїка"
|
343 |
+
|
344 |
+
#: ../ml-slider.php:1332
|
345 |
+
msgid "Box Rain Reverse"
|
346 |
+
msgstr "Зворотня мозаїка"
|
347 |
+
|
348 |
+
#: ../ml-slider.php:1333
|
349 |
+
msgid "Box Rain Grow Reverse"
|
350 |
+
msgstr "Наростаюча мозаїка"
|
351 |
+
|
352 |
+
#: ../ml-slider.php:1334
|
353 |
+
msgid "Slide"
|
354 |
+
msgstr "Ковзання"
|
355 |
+
|
356 |
+
#: ../ml-slider.php:1341
|
357 |
+
msgid "Theme"
|
358 |
+
msgstr "Тема оформлення"
|
359 |
+
|
360 |
+
#: ../ml-slider.php:1343
|
361 |
+
msgid "Slideshow theme"
|
362 |
+
msgstr "Дизайн слайд-шоу"
|
363 |
+
|
364 |
+
#: ../ml-slider.php:1345
|
365 |
+
msgid "Default"
|
366 |
+
msgstr "За замовчуванням"
|
367 |
+
|
368 |
+
#: ../ml-slider.php:1346
|
369 |
+
msgid "Dark (Nivo)"
|
370 |
+
msgstr "Темний (Nivo)"
|
371 |
+
|
372 |
+
#: ../ml-slider.php:1347
|
373 |
+
msgid "Light (Nivo)"
|
374 |
+
msgstr "Світлий (Nivo)"
|
375 |
+
|
376 |
+
#: ../ml-slider.php:1348
|
377 |
+
msgid "Bar (Nivo)"
|
378 |
+
msgstr "Плитка (Nivo)"
|
379 |
+
|
380 |
+
#: ../ml-slider.php:1354
|
381 |
+
msgid "Arrows"
|
382 |
+
msgstr "Стрілки"
|
383 |
+
|
384 |
+
#: ../ml-slider.php:1357
|
385 |
+
msgid "Show the previous/next arrows"
|
386 |
+
msgstr "Показувати стрілки вперед/назад"
|
387 |
+
|
388 |
+
#: ../ml-slider.php:1362
|
389 |
+
msgid "Navigation"
|
390 |
+
msgstr "Навігація"
|
391 |
+
|
392 |
+
#: ../ml-slider.php:1365
|
393 |
+
msgid "Show the slide navigation bullets"
|
394 |
+
msgstr "Показувати мітки навігації"
|
395 |
+
|
396 |
+
#: ../ml-slider.php:1367
|
397 |
+
msgid "Hidden"
|
398 |
+
msgstr "Не показувати"
|
399 |
+
|
400 |
+
#: ../ml-slider.php:1368
|
401 |
+
msgid "Dots"
|
402 |
+
msgstr "Крапки"
|
403 |
+
|
404 |
+
#: ../ml-slider.php:1379
|
405 |
+
msgid "Title"
|
406 |
+
msgstr "Заголовок"
|
407 |
+
|
408 |
+
#: ../ml-slider.php:1380
|
409 |
+
msgid "Slideshow title"
|
410 |
+
msgstr "Заголовок слайд-шоу"
|
411 |
+
|
412 |
+
#: ../ml-slider.php:1394
|
413 |
+
msgid "Advanced Settings"
|
414 |
+
msgstr "Додатково"
|
415 |
+
|
416 |
+
#: ../ml-slider.php:1403
|
417 |
+
msgid "Stretch"
|
418 |
+
msgstr "Розтягнути"
|
419 |
+
|
420 |
+
#: ../ml-slider.php:1405
|
421 |
+
msgid "100% wide output"
|
422 |
+
msgstr "На всю ширину"
|
423 |
+
|
424 |
+
#: ../ml-slider.php:1407
|
425 |
+
msgid "Stretch the slideshow output to fill it's parent container"
|
426 |
+
msgstr "Розтягнути слайд-шоу на всю ширину батьківського елемента"
|
427 |
+
|
428 |
+
#: ../ml-slider.php:1412
|
429 |
+
msgid "Center align"
|
430 |
+
msgstr "Вирівнювати по центру"
|
431 |
+
|
432 |
+
#: ../ml-slider.php:1415
|
433 |
+
msgid "Center align the slideshow"
|
434 |
+
msgstr "Відцентрувати слайд-шоу"
|
435 |
+
|
436 |
+
#: ../ml-slider.php:1420
|
437 |
+
msgid "Auto play"
|
438 |
+
msgstr "Відтворювати автоматично"
|
439 |
+
|
440 |
+
#: ../ml-slider.php:1423
|
441 |
+
msgid "Transition between slides automatically"
|
442 |
+
msgstr "Перехід між слайдами відбувається автоматично"
|
443 |
+
|
444 |
+
#: ../ml-slider.php:1428
|
445 |
+
msgid "Image Crop"
|
446 |
+
msgstr "Обтинання зображень"
|
447 |
+
|
448 |
+
#: ../ml-slider.php:1432
|
449 |
+
msgid "Smart Crop"
|
450 |
+
msgstr "Розумне обтинання зображень"
|
451 |
+
|
452 |
+
#: ../ml-slider.php:1433
|
453 |
+
msgid "Standard"
|
454 |
+
msgstr "Типовий"
|
455 |
+
|
456 |
+
#: ../ml-slider.php:1434
|
457 |
+
msgid "Disabled"
|
458 |
+
msgstr "Відключено"
|
459 |
+
|
460 |
+
#: ../ml-slider.php:1435
|
461 |
+
msgid "Disabled (Smart Pad)"
|
462 |
+
msgstr "Відключено (Smart Pad)"
|
463 |
+
|
464 |
+
#: ../ml-slider.php:1437
|
465 |
+
msgid ""
|
466 |
+
"Smart Crop ensures your responsive slides are cropped to a ratio that "
|
467 |
+
"results in a consistent slideshow size"
|
468 |
+
msgstr ""
|
469 |
+
"Розумне обтинання гарантує, що обтинання слайдів буде виконано таким чином, "
|
470 |
+
"щоб розмір слайд-шоу не змінювався"
|
471 |
+
|
472 |
+
#: ../ml-slider.php:1442
|
473 |
+
msgid "Carousel mode"
|
474 |
+
msgstr "Режим каруселі"
|
475 |
+
|
476 |
+
#: ../ml-slider.php:1445
|
477 |
+
msgid "Display multiple slides at once. Slideshow output will be 100% wide."
|
478 |
+
msgstr "Показувати декілька слайдів одночасно. Слайд-шоу матиме ширину 100%"
|
479 |
+
|
480 |
+
#: ../ml-slider.php:1453
|
481 |
+
msgid "Carousel margin"
|
482 |
+
msgstr "Відступ каруселі"
|
483 |
+
|
484 |
+
#: ../ml-slider.php:1456
|
485 |
+
msgid "Pixel margin between slides in carousel."
|
486 |
+
msgstr "Відступ (в пікселях) між слайдами в каруселі"
|
487 |
+
|
488 |
+
#: ../ml-slider.php:1465
|
489 |
+
msgid "Randomise the order of the slides"
|
490 |
+
msgstr "Випадковий порядок слайдів"
|
491 |
+
|
492 |
+
#: ../ml-slider.php:1470
|
493 |
+
msgid "Hover pause"
|
494 |
+
msgstr "Пауза при наведенні курсора"
|
495 |
+
|
496 |
+
#: ../ml-slider.php:1473
|
497 |
+
msgid ""
|
498 |
+
"Pause the slideshow when hovering over slider, then resume when no longer "
|
499 |
+
"hovering."
|
500 |
+
msgstr ""
|
501 |
+
"Зупиняє слайд-шоу при наведенні курсора і відновлює, коли курсор знову "
|
502 |
+
"покидає його межі"
|
503 |
+
|
504 |
+
#: ../ml-slider.php:1478
|
505 |
+
msgid "Reverse"
|
506 |
+
msgstr "В зворотньому порядку"
|
507 |
+
|
508 |
+
#: ../ml-slider.php:1481
|
509 |
+
msgid "Reverse the animation direction"
|
510 |
+
msgstr "Змінити порядок слайдів на зворотній"
|
511 |
+
|
512 |
+
#: ../ml-slider.php:1491
|
513 |
+
msgid "Slide delay"
|
514 |
+
msgstr "Затримка показу слайда"
|
515 |
+
|
516 |
+
#: ../ml-slider.php:1493
|
517 |
+
msgid "How long to display each slide, in milliseconds"
|
518 |
+
msgstr "Як довго показувати кожен слайд (в мілісекундах)"
|
519 |
+
|
520 |
+
#: ../ml-slider.php:1494 ../ml-slider.php:1507 ../ml-slider.php:1520
|
521 |
+
#: ../ml-slider.php:1596 ../ml-slider.php:1622
|
522 |
+
msgid "ms"
|
523 |
+
msgstr "мс"
|
524 |
+
|
525 |
+
#: ../ml-slider.php:1504
|
526 |
+
msgid "Animation speed"
|
527 |
+
msgstr "Швидкість анімації"
|
528 |
+
|
529 |
+
#: ../ml-slider.php:1506
|
530 |
+
msgid "Set the speed of animations, in milliseconds"
|
531 |
+
msgstr "Задати швидкість анімації (в мілісекундах)"
|
532 |
+
|
533 |
+
#: ../ml-slider.php:1517 ../ml-slider.php:1519
|
534 |
+
msgid "Number of slices"
|
535 |
+
msgstr "Кількість секцій"
|
536 |
+
|
537 |
+
#: ../ml-slider.php:1530 ../ml-slider.php:1532 ../ml-slider.php:1543
|
538 |
+
#: ../ml-slider.php:1545
|
539 |
+
msgid "Number of squares"
|
540 |
+
msgstr "Кількість квадратів"
|
541 |
+
|
542 |
+
#: ../ml-slider.php:1551
|
543 |
+
msgid "Slide direction"
|
544 |
+
msgstr "Напрямок відтворення"
|
545 |
+
|
546 |
+
#: ../ml-slider.php:1553
|
547 |
+
msgid "Select the sliding direction"
|
548 |
+
msgstr "Вибрати напрямок відтворення"
|
549 |
+
|
550 |
+
#: ../ml-slider.php:1556
|
551 |
+
msgid "Horizontal"
|
552 |
+
msgstr "Горизонтальний"
|
553 |
+
|
554 |
+
#: ../ml-slider.php:1557
|
555 |
+
msgid "Vertical"
|
556 |
+
msgstr "Вертикальний"
|
557 |
+
|
558 |
+
#: ../ml-slider.php:1563
|
559 |
+
msgid "Easing"
|
560 |
+
msgstr "Згладжування"
|
561 |
+
|
562 |
+
#: ../ml-slider.php:1565
|
563 |
+
msgid "Animation easing effect"
|
564 |
+
msgstr "Анімований ефект згладжування"
|
565 |
+
|
566 |
+
#: ../ml-slider.php:1572
|
567 |
+
msgid "Previous text"
|
568 |
+
msgstr "Попередній текст"
|
569 |
+
|
570 |
+
#: ../ml-slider.php:1574
|
571 |
+
msgid "Set the text for the 'previous' direction item"
|
572 |
+
msgstr "Задати текст для мітки 'назад' (попередній слайд)"
|
573 |
+
|
574 |
+
#: ../ml-slider.php:1580
|
575 |
+
msgid "Next text"
|
576 |
+
msgstr "Наступний текст"
|
577 |
+
|
578 |
+
#: ../ml-slider.php:1582
|
579 |
+
msgid "Set the text for the 'next' direction item"
|
580 |
+
msgstr "Задати текст для мітки 'вперед' (наступний слайд)"
|
581 |
+
|
582 |
+
#: ../ml-slider.php:1593
|
583 |
+
msgid "Square delay"
|
584 |
+
msgstr "Затримка між квадратами"
|
585 |
+
|
586 |
+
#: ../ml-slider.php:1595
|
587 |
+
msgid "Delay between squares in ms"
|
588 |
+
msgstr "Затримка між квадратами в мілісекундах"
|
589 |
+
|
590 |
+
#: ../ml-slider.php:1606
|
591 |
+
msgid "Opacity"
|
592 |
+
msgstr "Прозорість"
|
593 |
+
|
594 |
+
#: ../ml-slider.php:1608
|
595 |
+
msgid "Opacity of title and navigation"
|
596 |
+
msgstr "Прозорість напису і навігації"
|
597 |
+
|
598 |
+
#: ../ml-slider.php:1619
|
599 |
+
msgid "Caption speed"
|
600 |
+
msgstr "Швидкість напису"
|
601 |
+
|
602 |
+
#: ../ml-slider.php:1621
|
603 |
+
msgid "Set the fade in speed of the caption"
|
604 |
+
msgstr "Встановити швидкість вицвітання напису"
|
605 |
+
|
606 |
+
#: ../ml-slider.php:1628
|
607 |
+
msgid "Developer options"
|
608 |
+
msgstr "Опції для розробників"
|
609 |
+
|
610 |
+
#: ../ml-slider.php:1633
|
611 |
+
msgid "CSS classes"
|
612 |
+
msgstr "CSS класи"
|
613 |
+
|
614 |
+
#: ../ml-slider.php:1635
|
615 |
+
msgid ""
|
616 |
+
"Specify any custom CSS Classes you would like to be added to the slider "
|
617 |
+
"wrapper"
|
618 |
+
msgstr ""
|
619 |
+
"Вкажіть будь-які користувацькі CSS класи, які Ви хочете додати в контейнер "
|
620 |
+
"слайдера"
|
621 |
+
|
622 |
+
#: ../ml-slider.php:1641
|
623 |
+
msgid "Print CSS"
|
624 |
+
msgstr "Виводити CSS"
|
625 |
+
|
626 |
+
#: ../ml-slider.php:1644
|
627 |
+
msgid "Uncheck this is you would like to include your own CSS"
|
628 |
+
msgstr "Зніміть цю галочку, якщо Ви хочете використовувати свій власний CSS"
|
629 |
+
|
630 |
+
#: ../ml-slider.php:1649
|
631 |
+
msgid "Print JS"
|
632 |
+
msgstr "Виводити JS"
|
633 |
+
|
634 |
+
#: ../ml-slider.php:1652
|
635 |
+
msgid "Uncheck this is you would like to include your own Javascript"
|
636 |
+
msgstr ""
|
637 |
+
"Зніміть цю галочку, якщо Ви хочете використовувати свій власний Javascript"
|
638 |
+
|
639 |
+
#: ../ml-slider.php:1657
|
640 |
+
msgid "No conflict mode"
|
641 |
+
msgstr "Безконфліктний режим"
|
642 |
+
|
643 |
+
#: ../ml-slider.php:1660
|
644 |
+
msgid "Delay adding the flexslider class to the slideshow"
|
645 |
+
msgstr "Затримка при додаванні класу flexslider у слайд-шоу"
|
646 |
+
|
647 |
+
#: ../ml-slider.php:1674
|
648 |
+
msgid "Usage"
|
649 |
+
msgstr "Використання"
|
650 |
+
|
651 |
+
#: ../ml-slider.php:1677
|
652 |
+
msgid "Shortcode"
|
653 |
+
msgstr "Шорткод"
|
654 |
+
|
655 |
+
#: ../ml-slider.php:1678
|
656 |
+
msgid "Template Include"
|
657 |
+
msgstr "Включити у шаблон"
|
658 |
+
|
659 |
+
#: ../ml-slider.php:1682
|
660 |
+
msgid "Copy & paste the shortcode directly into any WordPress post or page."
|
661 |
+
msgstr ""
|
662 |
+
"Скопіюйте і вставте цей шорткод безпосередньо в будь-яку сторінку чи "
|
663 |
+
"публікацію WordPress"
|
664 |
+
|
665 |
+
#: ../ml-slider.php:1685
|
666 |
+
msgid ""
|
667 |
+
"Copy & paste this code into a template file to include the slideshow within "
|
668 |
+
"your theme."
|
669 |
+
msgstr ""
|
670 |
+
"Скопіюйте і вставте цей код у файл шаблону, щоб додати слайд-шоу у Вашу тему"
|
671 |
+
|
672 |
+
#: ../ml-slider.php:1721
|
673 |
+
msgid "Delete Slider"
|
674 |
+
msgstr "Видалити слайдер"
|
675 |
+
|
676 |
+
#: ../ml-slider.php:1747
|
677 |
+
msgid "Select slideshow to insert into post"
|
678 |
+
msgstr "Додати слайд-шоу"
|
679 |
+
|
680 |
+
#: ../ml-slider.php:1750
|
681 |
+
msgid "Add slider"
|
682 |
+
msgstr "Додати слайдер"
|
683 |
+
|
684 |
+
#: ../ml-slider.php:1784
|
685 |
+
msgid "Insert Meta Slider"
|
686 |
+
msgstr "Вставити Meta Slider"
|
687 |
+
|
688 |
+
#: ../ml-slider.php:1786
|
689 |
+
msgid "Choose slideshow"
|
690 |
+
msgstr "Виберіть слайд-шоу"
|
691 |
+
|
692 |
+
#: ../ml-slider.php:1791
|
693 |
+
msgid "Insert slideshow"
|
694 |
+
msgstr "Вставити слайд-шоу"
|
695 |
+
|
696 |
+
#: ../ml-slider.php:1810
|
697 |
+
msgid "Go Pro"
|
698 |
+
msgstr "Отримати Pro версію"
|
699 |
+
|
700 |
+
#: ../ml-slider.php:1829
|
701 |
+
msgid "Upgrade to Pro $19"
|
702 |
+
msgstr "Оновити до Pro версії за $19"
|
ml-slider.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin Name: Meta Slider
|
6 |
* Plugin URI: https://www.metaslider.com
|
7 |
* Description: Easy to use slideshow plugin. Create SEO optimised responsive slideshows with Nivo Slider, Flex Slider, Coin Slider and Responsive Slides.
|
8 |
-
* Version: 3.3.
|
9 |
* Author: Matcha Labs
|
10 |
* Author URI: https://www.metaslider.com
|
11 |
* License: GPL-2.0+
|
@@ -31,7 +31,7 @@ class MetaSliderPlugin {
|
|
31 |
/**
|
32 |
* @var string
|
33 |
*/
|
34 |
-
public $version = '3.3.
|
35 |
|
36 |
|
37 |
/**
|
@@ -283,13 +283,13 @@ class MetaSliderPlugin {
|
|
283 |
|
284 |
if ( ! is_plugin_active( 'ml-slider-pro/ml-slider-pro.php' ) && get_user_meta( $user_ID, "metaslider_hide_go_pro", true ) !== 'true' ) {
|
285 |
|
286 |
-
$page = add_submenu_page(
|
287 |
-
'metaslider',
|
288 |
-
__( 'Go Pro!', 'metaslider' ),
|
289 |
-
__( 'Go Pro!', 'metaslider' ),
|
290 |
-
$capability,
|
291 |
-
'metaslider-go-pro',
|
292 |
-
array( $this, 'go_pro_page' )
|
293 |
);
|
294 |
|
295 |
add_action( 'admin_print_styles-' . $page, array( $this, 'register_admin_styles' ) );
|
@@ -302,12 +302,17 @@ class MetaSliderPlugin {
|
|
302 |
* Go Pro page content
|
303 |
*/
|
304 |
public function go_pro_page() {
|
305 |
-
$hide_link = '<a href="' . admin_url( "admin-post.php?action=metaslider_hide_go_pro_page" ) . '">Hide this page</a>';
|
306 |
|
307 |
-
$
|
|
|
|
|
|
|
|
|
|
|
308 |
|
309 |
-
$link
|
310 |
|
|
|
311 |
$gopro_link = "<a class='button button-primary' href='{$link}' target='_blank'>Find out more</a>";
|
312 |
$support_link = '<a href="https://wordpress.org/support/plugin/ml-slider">Support</a>';
|
313 |
$documentation_link = '<a href="http://www.metaslider.com/documentation/">Documentation</a>';
|
@@ -430,7 +435,7 @@ class MetaSliderPlugin {
|
|
430 |
wp_enqueue_style( 'metaslider-admin-styles', METASLIDER_ASSETS_URL . 'metaslider/admin.css', false, METASLIDER_VERSION );
|
431 |
wp_enqueue_style( 'metaslider-colorbox-styles', METASLIDER_ASSETS_URL . 'colorbox/colorbox.css', false, METASLIDER_VERSION );
|
432 |
wp_enqueue_style( 'metaslider-tipsy-styles', METASLIDER_ASSETS_URL . 'tipsy/tipsy.css', false, METASLIDER_VERSION );
|
433 |
-
|
434 |
do_action( 'metaslider_register_admin_styles' );
|
435 |
|
436 |
}
|
@@ -493,16 +498,16 @@ class MetaSliderPlugin {
|
|
493 |
|
494 |
if ( isset( $_GET['slider_id'] ) && absint( $_GET['slider_id'] ) > 0 ) {
|
495 |
$id = absint( $_GET['slider_id'] );
|
496 |
-
|
497 |
?>
|
498 |
<!DOCTYPE html>
|
499 |
<html>
|
500 |
<head>
|
501 |
<style type='text/css'>
|
502 |
-
body, html {
|
503 |
-
overflow: hidden;
|
504 |
-
margin: 0;
|
505 |
-
padding: 0;
|
506 |
}
|
507 |
</style>
|
508 |
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
@@ -545,9 +550,9 @@ class MetaSliderPlugin {
|
|
545 |
// remove options
|
546 |
|
547 |
$strings_to_remove = array(
|
548 |
-
'createVideoPlaylistTitle',
|
549 |
-
'createGalleryTitle',
|
550 |
-
'insertFromUrlTitle',
|
551 |
'createPlaylistTitle'
|
552 |
);
|
553 |
|
@@ -572,7 +577,7 @@ class MetaSliderPlugin {
|
|
572 |
|
573 |
// restrict our tab changes to the meta slider plugin page
|
574 |
if ( isset( $_GET['page'] ) && $_GET['page'] == 'metaslider' ) {
|
575 |
-
|
576 |
if ( isset( $tabs['nextgen'] ) ) {
|
577 |
unset( $tabs['nextgen'] );
|
578 |
}
|
@@ -905,7 +910,7 @@ class MetaSliderPlugin {
|
|
905 |
'id' => $slideshow->ID
|
906 |
);
|
907 |
|
908 |
-
}
|
909 |
|
910 |
return $sliders;
|
911 |
|
@@ -1124,9 +1129,9 @@ class MetaSliderPlugin {
|
|
1124 |
if ( isset( $_GET['add'] ) && $_GET['add'] == 'true' ) {
|
1125 |
|
1126 |
echo "<div id='message' class='updated'><p>" . __( "New slideshow created. Click 'Add Slide' to get started!", "metaslider" ) . "</p></div>";
|
1127 |
-
|
1128 |
}
|
1129 |
-
|
1130 |
echo "<div style='display: none;' id='screen-options-switch-view-wrap'><a class='switchview dashicons-before dashicons-randomize tipsy-tooltip' title='" . __("Switch to Tab view", "metaslider") . "' href='" . admin_url( "admin-post.php?action=metaslider_switch_view&view=tabs") . "'>" . __("Tabs", "metaslider") . "</a></div>";
|
1131 |
|
1132 |
echo "<div class='dropdown_container'><label for='select-slider'>" . __("Select Slider", "metaslider") . ": </label>";
|
@@ -1179,7 +1184,7 @@ class MetaSliderPlugin {
|
|
1179 |
* Render the admin page (tabs, slides, settings)
|
1180 |
*/
|
1181 |
public function render_admin_page() {
|
1182 |
-
|
1183 |
// default to the latest slider
|
1184 |
$slider_id = $this->find_slider( 'modified', 'DESC' );
|
1185 |
|
@@ -1819,12 +1824,17 @@ class MetaSliderPlugin {
|
|
1819 |
* Upgrade CTA.
|
1820 |
*/
|
1821 |
public function upgrade_to_pro_cta() {
|
1822 |
-
global $user_ID;
|
1823 |
|
1824 |
if ( function_exists( 'is_plugin_active' ) && ! is_plugin_active( 'ml-slider-pro/ml-slider-pro.php' ) ) {
|
1825 |
-
$link = apply_filters( 'metaslider_hoplink', 'http://www.metaslider.com/upgrade/' );
|
1826 |
|
1827 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1828 |
|
1829 |
$text = "Meta Slider v" . METASLIDER_VERSION . " - " . __( 'Upgrade to Pro $19', "metaslider" );
|
1830 |
|
@@ -1838,13 +1848,13 @@ class MetaSliderPlugin {
|
|
1838 |
/**
|
1839 |
* Start output buffering.
|
1840 |
*
|
1841 |
-
* Note: wp_ob_end_flush_all is called by default
|
1842 |
* - see shutdown action in default-filters.php
|
1843 |
*/
|
1844 |
public function start_resource_manager() {
|
1845 |
|
1846 |
ob_start( array( $this, 'resource_manager' ) );
|
1847 |
-
|
1848 |
}
|
1849 |
|
1850 |
/**
|
@@ -1863,7 +1873,7 @@ class MetaSliderPlugin {
|
|
1863 |
return $buffer;
|
1864 |
|
1865 |
// selectors to find Meta Slider links
|
1866 |
-
$selectors = array(
|
1867 |
'body link[id^="metaslider"]',
|
1868 |
);
|
1869 |
|
5 |
* Plugin Name: Meta Slider
|
6 |
* Plugin URI: https://www.metaslider.com
|
7 |
* Description: Easy to use slideshow plugin. Create SEO optimised responsive slideshows with Nivo Slider, Flex Slider, Coin Slider and Responsive Slides.
|
8 |
+
* Version: 3.3.3
|
9 |
* Author: Matcha Labs
|
10 |
* Author URI: https://www.metaslider.com
|
11 |
* License: GPL-2.0+
|
31 |
/**
|
32 |
* @var string
|
33 |
*/
|
34 |
+
public $version = '3.3.3';
|
35 |
|
36 |
|
37 |
/**
|
283 |
|
284 |
if ( ! is_plugin_active( 'ml-slider-pro/ml-slider-pro.php' ) && get_user_meta( $user_ID, "metaslider_hide_go_pro", true ) !== 'true' ) {
|
285 |
|
286 |
+
$page = add_submenu_page(
|
287 |
+
'metaslider',
|
288 |
+
__( 'Go Pro!', 'metaslider' ),
|
289 |
+
__( 'Go Pro!', 'metaslider' ),
|
290 |
+
$capability,
|
291 |
+
'metaslider-go-pro',
|
292 |
+
array( $this, 'go_pro_page' )
|
293 |
);
|
294 |
|
295 |
add_action( 'admin_print_styles-' . $page, array( $this, 'register_admin_styles' ) );
|
302 |
* Go Pro page content
|
303 |
*/
|
304 |
public function go_pro_page() {
|
|
|
305 |
|
306 |
+
$upgrade_link = esc_url( add_query_arg(
|
307 |
+
array(
|
308 |
+
'utm_source' => 'lite',
|
309 |
+
'utm_medium' => 'nag',
|
310 |
+
'utm_campaign' => 'pro'
|
311 |
+
), 'http://www.metaslider.com/upgrade/' ) );
|
312 |
|
313 |
+
$link = apply_filters( 'metaslider_hoplink', $upgrade_link );
|
314 |
|
315 |
+
$hide_link = '<a href="' . admin_url( "admin-post.php?action=metaslider_hide_go_pro_page" ) . '">Hide this page</a>';
|
316 |
$gopro_link = "<a class='button button-primary' href='{$link}' target='_blank'>Find out more</a>";
|
317 |
$support_link = '<a href="https://wordpress.org/support/plugin/ml-slider">Support</a>';
|
318 |
$documentation_link = '<a href="http://www.metaslider.com/documentation/">Documentation</a>';
|
435 |
wp_enqueue_style( 'metaslider-admin-styles', METASLIDER_ASSETS_URL . 'metaslider/admin.css', false, METASLIDER_VERSION );
|
436 |
wp_enqueue_style( 'metaslider-colorbox-styles', METASLIDER_ASSETS_URL . 'colorbox/colorbox.css', false, METASLIDER_VERSION );
|
437 |
wp_enqueue_style( 'metaslider-tipsy-styles', METASLIDER_ASSETS_URL . 'tipsy/tipsy.css', false, METASLIDER_VERSION );
|
438 |
+
|
439 |
do_action( 'metaslider_register_admin_styles' );
|
440 |
|
441 |
}
|
498 |
|
499 |
if ( isset( $_GET['slider_id'] ) && absint( $_GET['slider_id'] ) > 0 ) {
|
500 |
$id = absint( $_GET['slider_id'] );
|
501 |
+
|
502 |
?>
|
503 |
<!DOCTYPE html>
|
504 |
<html>
|
505 |
<head>
|
506 |
<style type='text/css'>
|
507 |
+
body, html {
|
508 |
+
overflow: hidden;
|
509 |
+
margin: 0;
|
510 |
+
padding: 0;
|
511 |
}
|
512 |
</style>
|
513 |
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
550 |
// remove options
|
551 |
|
552 |
$strings_to_remove = array(
|
553 |
+
'createVideoPlaylistTitle',
|
554 |
+
'createGalleryTitle',
|
555 |
+
'insertFromUrlTitle',
|
556 |
'createPlaylistTitle'
|
557 |
);
|
558 |
|
577 |
|
578 |
// restrict our tab changes to the meta slider plugin page
|
579 |
if ( isset( $_GET['page'] ) && $_GET['page'] == 'metaslider' ) {
|
580 |
+
|
581 |
if ( isset( $tabs['nextgen'] ) ) {
|
582 |
unset( $tabs['nextgen'] );
|
583 |
}
|
910 |
'id' => $slideshow->ID
|
911 |
);
|
912 |
|
913 |
+
}
|
914 |
|
915 |
return $sliders;
|
916 |
|
1129 |
if ( isset( $_GET['add'] ) && $_GET['add'] == 'true' ) {
|
1130 |
|
1131 |
echo "<div id='message' class='updated'><p>" . __( "New slideshow created. Click 'Add Slide' to get started!", "metaslider" ) . "</p></div>";
|
1132 |
+
|
1133 |
}
|
1134 |
+
|
1135 |
echo "<div style='display: none;' id='screen-options-switch-view-wrap'><a class='switchview dashicons-before dashicons-randomize tipsy-tooltip' title='" . __("Switch to Tab view", "metaslider") . "' href='" . admin_url( "admin-post.php?action=metaslider_switch_view&view=tabs") . "'>" . __("Tabs", "metaslider") . "</a></div>";
|
1136 |
|
1137 |
echo "<div class='dropdown_container'><label for='select-slider'>" . __("Select Slider", "metaslider") . ": </label>";
|
1184 |
* Render the admin page (tabs, slides, settings)
|
1185 |
*/
|
1186 |
public function render_admin_page() {
|
1187 |
+
|
1188 |
// default to the latest slider
|
1189 |
$slider_id = $this->find_slider( 'modified', 'DESC' );
|
1190 |
|
1824 |
* Upgrade CTA.
|
1825 |
*/
|
1826 |
public function upgrade_to_pro_cta() {
|
|
|
1827 |
|
1828 |
if ( function_exists( 'is_plugin_active' ) && ! is_plugin_active( 'ml-slider-pro/ml-slider-pro.php' ) ) {
|
|
|
1829 |
|
1830 |
+
$upgrade_link = esc_url( add_query_arg(
|
1831 |
+
array(
|
1832 |
+
'utm_source' => 'lite',
|
1833 |
+
'utm_medium' => 'nag',
|
1834 |
+
'utm_campaign' => 'pro'
|
1835 |
+
), 'http://www.metaslider.com/upgrade/' ) );
|
1836 |
+
|
1837 |
+
$link = apply_filters( 'metaslider_hoplink', $upgrade_link );
|
1838 |
|
1839 |
$text = "Meta Slider v" . METASLIDER_VERSION . " - " . __( 'Upgrade to Pro $19', "metaslider" );
|
1840 |
|
1848 |
/**
|
1849 |
* Start output buffering.
|
1850 |
*
|
1851 |
+
* Note: wp_ob_end_flush_all is called by default
|
1852 |
* - see shutdown action in default-filters.php
|
1853 |
*/
|
1854 |
public function start_resource_manager() {
|
1855 |
|
1856 |
ob_start( array( $this, 'resource_manager' ) );
|
1857 |
+
|
1858 |
}
|
1859 |
|
1860 |
/**
|
1873 |
return $buffer;
|
1874 |
|
1875 |
// selectors to find Meta Slider links
|
1876 |
+
$selectors = array(
|
1877 |
'body link[id^="metaslider"]',
|
1878 |
);
|
1879 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: matchalabs
|
|
3 |
Tags: wordpress slideshow,seo,slideshow,slider,widget,wordpress slider,image slider,flexslider,flex slider,nivoslider,nivo slider,responsive,responsive slides,coinslider,coin slider,slideshow,carousel,responsive slider,vertical slides
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQ84KC4X8YKW8
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 3.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -70,6 +70,7 @@ Upgrade to [Meta Slider Pro](http://www.metaslider.com/upgrade) to add support f
|
|
70 |
* Hebrew (thanks to Ahrale)
|
71 |
* Portuguese (thanks to mauro.mascarenhas)
|
72 |
* Russian (thanks to asidoryak)
|
|
|
73 |
|
74 |
Read more and thanks to:
|
75 |
|
@@ -146,6 +147,12 @@ See www.metaslider.com/documentation/image-cropping/
|
|
146 |
|
147 |
== Changelog ==
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
= 3.3.2 [16/04/15] =
|
150 |
|
151 |
* Fix: FPD Security issue. Thanks to Ole Aass (@oleaass) for finding and disclosing this issue.
|
3 |
Tags: wordpress slideshow,seo,slideshow,slider,widget,wordpress slider,image slider,flexslider,flex slider,nivoslider,nivo slider,responsive,responsive slides,coinslider,coin slider,slideshow,carousel,responsive slider,vertical slides
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQ84KC4X8YKW8
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.2.2
|
7 |
+
Stable tag: 3.3.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
70 |
* Hebrew (thanks to Ahrale)
|
71 |
* Portuguese (thanks to mauro.mascarenhas)
|
72 |
* Russian (thanks to asidoryak)
|
73 |
+
* Ukrainian (thanks to mister_r)
|
74 |
|
75 |
Read more and thanks to:
|
76 |
|
147 |
|
148 |
== Changelog ==
|
149 |
|
150 |
+
= 3.3.3 [11/06/15] =
|
151 |
+
|
152 |
+
* Ukrainian language pack added (thanks to mister_r!)
|
153 |
+
* Fix: Meta Slider hoplink incorrectly adding parameters to filtered url
|
154 |
+
* Add "metaslider_attachment_url" filter
|
155 |
+
|
156 |
= 3.3.2 [16/04/15] =
|
157 |
|
158 |
* Fix: FPD Security issue. Thanks to Ole Aass (@oleaass) for finding and disclosing this issue.
|