Version Description
Download this release
Release Info
Developer | poxtron |
Plugin | WP Embed Facebook |
Version | 2.1.8 |
Comparing to | |
See all releases |
Code changes from version 2.1.7 to 2.1.8
- lang/wp-embed-facebook.pot +115 -119
- lib/class-wp-embed-fb-admin.php +8 -22
- lib/class-wp-embed-fb-plugin.php +20 -10
- readme.txt +6 -2
- templates/classic/social-plugin.php +0 -3
- wp-embed-facebook.php +1 -1
lang/wp-embed-facebook.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the WP Embed Facebook package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP Embed Facebook 2.1.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/wp-embed-facebook\n"
|
8 |
"POT-Creation-Date: 2016-10-06 11:26-0500\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date:
|
13 |
"Last-Translator: Miguel Sirvent <miguel@sigami.net>\n"
|
14 |
"Language-Team: Miguel Sirvent <miguel@sigami.net>\n"
|
15 |
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
@@ -43,37 +43,38 @@ msgstr ""
|
|
43 |
msgid "Invalid Facebook plugin type use it like this: [fb_plugin like]"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: lib/class-wp-embed-fb-admin.php:
|
47 |
msgid ""
|
48 |
"To enable comment moderation and embed albums, events, profiles and video "
|
49 |
-
"as HTML5 setup a facebook app on <a
|
|
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: lib/class-wp-embed-fb-admin.php:
|
53 |
msgid "Settings"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: lib/class-wp-embed-fb-admin.php:
|
57 |
msgid "Magic Embeds"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: lib/class-wp-embed-fb-admin.php:
|
61 |
msgid "Social Plugins"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: lib/class-wp-embed-fb-admin.php:
|
65 |
msgid "Custom Embeds"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: lib/class-wp-embed-fb-admin.php:
|
69 |
msgid "Lightbox"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: lib/class-wp-embed-fb-admin.php:
|
73 |
msgid "Advanced"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: lib/class-wp-embed-fb-admin.php:
|
77 |
msgid ""
|
78 |
"Auto embeds understand the url you are entering and return a social plugin "
|
79 |
"or a custom embed. <br>They can be activated by <a href=\"%s\" "
|
@@ -82,435 +83,431 @@ msgid ""
|
|
82 |
"Shortcode attributes and examples\" target=\"_blank\">shortcode</a>."
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: lib/class-wp-embed-fb-admin.php:
|
86 |
msgid "Auto Embeds"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: lib/class-wp-embed-fb-admin.php:
|
90 |
msgid "Auto embed url's on editor "
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: lib/class-wp-embed-fb-admin.php:
|
94 |
msgid "Maximum width in pixels"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: lib/class-wp-embed-fb-admin.php:
|
98 |
msgid "Embed video as post"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: lib/class-wp-embed-fb-admin.php:
|
102 |
-
msgid "%sShow download option <br> under video"
|
103 |
-
msgstr ""
|
104 |
-
|
105 |
-
#: lib/class-wp-embed-fb-admin.php:347
|
106 |
msgid ""
|
107 |
"The quote plugin lets people select text on your page and add it to their "
|
108 |
"share.<br><a href=\"%s\" target=\"_blank\" title=\"WP Embed "
|
109 |
"Facebook\">Demo</a>"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: lib/class-wp-embed-fb-admin.php:
|
113 |
msgid "Quote Plugin"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: lib/class-wp-embed-fb-admin.php:
|
117 |
msgid "Active"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: lib/class-wp-embed-fb-admin.php:
|
121 |
msgid "Post types"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: lib/class-wp-embed-fb-admin.php:
|
125 |
msgid "Post types separated by commas i.e. post,page,attachment"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: lib/class-wp-embed-fb-admin.php:
|
129 |
msgid "Comments"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: lib/class-wp-embed-fb-admin.php:
|
133 |
msgid "Sync comment count"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: lib/class-wp-embed-fb-admin.php:
|
137 |
msgid "Add open graph meta"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: lib/class-wp-embed-fb-admin.php:
|
141 |
msgid "Needed to moderate comments"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: lib/class-wp-embed-fb-admin.php:
|
145 |
msgid ""
|
146 |
"Disable this if you already have another plugin adding <a "
|
147 |
"title=\"Moderation Setup Instructions\" target=\"_blank\" href=\"%s\">the "
|
148 |
"fb:app_id meta</a>"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: lib/class-wp-embed-fb-admin.php:
|
152 |
msgid "To enable comments moderation setup your App ID"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: lib/class-wp-embed-fb-admin.php:
|
156 |
msgid ""
|
157 |
"If you cant see the \"Moderate comment\" link above each comment you will "
|
158 |
"need to <a title=\"Sharing Debugger\" target=\"_blank\" href=\"%s\">scrape "
|
159 |
"the url</a>"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: lib/class-wp-embed-fb-admin.php:
|
163 |
msgid "Notes:"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: lib/class-wp-embed-fb-admin.php:
|
167 |
msgid "Facebook settings"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: lib/class-wp-embed-fb-admin.php:
|
171 |
msgid "Social Plugins Language"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: lib/class-wp-embed-fb-admin.php:
|
175 |
msgid ""
|
176 |
"Creating a Facebook app is easy view the <a href=\"%s\" target=\"_blank\" "
|
177 |
"title=\"WP Embed FB documentation\">step by step guide</a> or view <a "
|
178 |
"href=\"%s\" target=\"_blank\" title=\"Facebook Apps\">your apps</a>."
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: lib/class-wp-embed-fb-admin.php:
|
182 |
msgid "App ID"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: lib/class-wp-embed-fb-admin.php:
|
186 |
msgid "App Secret"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: lib/class-wp-embed-fb-admin.php:
|
190 |
msgid ""
|
191 |
"<a title=\"Facebook Social Plugins\" href=\"%s\" rel=\"nofollow\" "
|
192 |
"target=\"_blank\">Social plugins</a> are pieces of code that Facebook "
|
193 |
"developers created for us mortals."
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: lib/class-wp-embed-fb-admin.php:
|
197 |
msgid "Example:"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: lib/class-wp-embed-fb-admin.php:
|
201 |
msgid "Embed a like button for the curent page:"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: lib/class-wp-embed-fb-admin.php:
|
205 |
msgid "add debug=1 to debug the result."
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: lib/class-wp-embed-fb-admin.php:
|
209 |
msgid "Page plugin"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: lib/class-wp-embed-fb-admin.php:
|
213 |
msgid "Tabs separated by commas i.e. timeline,events,messages"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: lib/class-wp-embed-fb-admin.php:
|
217 |
msgid "Post plugin"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: lib/class-wp-embed-fb-admin.php:
|
221 |
msgid "Video"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: lib/class-wp-embed-fb-admin.php:
|
225 |
msgid "Single comment"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: lib/class-wp-embed-fb-admin.php:
|
229 |
msgid "Activate them on all your posts on the \"Magic embeds\" section"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: lib/class-wp-embed-fb-admin.php:
|
233 |
msgid "Comments plugin"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: lib/class-wp-embed-fb-admin.php:
|
237 |
msgid "Activate it on all your posts on the \"Magic embeds\" section"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: lib/class-wp-embed-fb-admin.php:
|
241 |
msgid "Quote plugin"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: lib/class-wp-embed-fb-admin.php:
|
245 |
msgid "Save button"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: lib/class-wp-embed-fb-admin.php:
|
249 |
msgid "Like button"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: lib/class-wp-embed-fb-admin.php:
|
253 |
msgid "Send button"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: lib/class-wp-embed-fb-admin.php:
|
257 |
msgid "Share button"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: lib/class-wp-embed-fb-admin.php:
|
261 |
msgid "Follow button"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: lib/class-wp-embed-fb-admin.php:
|
265 |
msgid "Adaptive view"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: lib/class-wp-embed-fb-admin.php:
|
269 |
msgid "General"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: lib/class-wp-embed-fb-admin.php:
|
273 |
msgid "Albums"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: lib/class-wp-embed-fb-admin.php:
|
277 |
msgid "Number of Photos"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: lib/class-wp-embed-fb-admin.php:
|
281 |
msgid "Events"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: lib/class-wp-embed-fb-admin.php:
|
285 |
msgid "Use WP time to calculate the date"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: lib/class-wp-embed-fb-admin.php:
|
289 |
msgid "Time format"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: lib/class-wp-embed-fb-admin.php:
|
293 |
msgid "examples"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: lib/class-wp-embed-fb-admin.php:
|
297 |
msgid "Pages"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: lib/class-wp-embed-fb-admin.php:
|
301 |
-
#: lib/class-wp-embed-fb-admin.php:
|
302 |
msgid "Use by default on \"Auto Embeds\""
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: lib/class-wp-embed-fb-admin.php:
|
306 |
msgid "Show like button"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: lib/class-wp-embed-fb-admin.php:
|
310 |
msgid "Number of posts"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: lib/class-wp-embed-fb-admin.php:
|
314 |
msgid "Photos"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: lib/class-wp-embed-fb-admin.php:
|
318 |
msgid "Posts"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: lib/class-wp-embed-fb-admin.php:
|
322 |
msgid "Videos"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: lib/class-wp-embed-fb-admin.php:
|
326 |
msgid "Force 16:9 ratio"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: lib/class-wp-embed-fb-admin.php:
|
330 |
msgid "Profiles"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: lib/class-wp-embed-fb-admin.php:
|
334 |
msgid "Show follow button"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: lib/class-wp-embed-fb-admin.php:
|
338 |
msgid ""
|
339 |
"Custom embeds can be triggered using the [facebook url] or [embed] "
|
340 |
"shortcodes also by activating \"Auto Embeds\" on Magic Embeds section."
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: lib/class-wp-embed-fb-admin.php:
|
344 |
msgid ""
|
345 |
"<a href=\"%s\" title=\"WP Embed Facebook Shortcode\" target=\"_blank\">Read "
|
346 |
"More</a>"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: lib/class-wp-embed-fb-admin.php:
|
350 |
msgid "By default you can only embed public pages, videos, photos and posts."
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: lib/class-wp-embed-fb-admin.php:
|
354 |
msgid ""
|
355 |
"To embed albums, events, profiles and video as HTML5 you will need to setup "
|
356 |
"a Facebook App on Magic Embeds section"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: lib/class-wp-embed-fb-admin.php:
|
360 |
msgid "Lightbox Options"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: lib/class-wp-embed-fb-admin.php:
|
364 |
msgid "Show Image Number Label"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: lib/class-wp-embed-fb-admin.php:
|
368 |
msgid "Album Label"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: lib/class-wp-embed-fb-admin.php:
|
372 |
msgid "Fade Duration"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: lib/class-wp-embed-fb-admin.php:
|
376 |
msgid "Resize Duration"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: lib/class-wp-embed-fb-admin.php:
|
380 |
msgid "Position From Top"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: lib/class-wp-embed-fb-admin.php:
|
384 |
msgid "Max Height"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: lib/class-wp-embed-fb-admin.php:
|
388 |
msgid "Max Width"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: lib/class-wp-embed-fb-admin.php:
|
392 |
msgid "Always Show Nav On TouchDevices"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: lib/class-wp-embed-fb-admin.php:
|
396 |
msgid "Fit Images In Viewport"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: lib/class-wp-embed-fb-admin.php:
|
400 |
msgid "Disable Scrolling"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: lib/class-wp-embed-fb-admin.php:
|
404 |
msgid "Loop Through Album"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: lib/class-wp-embed-fb-admin.php:
|
408 |
msgid "Use this lightbox on the [gallery] shortcode"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: lib/class-wp-embed-fb-admin.php:
|
412 |
msgid "Enqueue styles and scripts"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: lib/class-wp-embed-fb-admin.php:
|
416 |
msgid "Only when there is an embed present"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: lib/class-wp-embed-fb-admin.php:
|
420 |
msgid "Facebook SDK"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: lib/class-wp-embed-fb-admin.php:
|
424 |
msgid "Template Styles"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: lib/class-wp-embed-fb-admin.php:
|
428 |
msgid "Adaptive social plugins script"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: lib/class-wp-embed-fb-admin.php:
|
432 |
msgid "Enqueue script"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: lib/class-wp-embed-fb-admin.php:
|
436 |
msgid "Attribute"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: lib/class-wp-embed-fb-admin.php:
|
440 |
msgid "Other Options"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: lib/class-wp-embed-fb-admin.php:
|
444 |
msgid "Add fb-root on top of content"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: lib/class-wp-embed-fb-admin.php:
|
448 |
msgid "Force Facebook SDK script on all site"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: lib/class-wp-embed-fb-admin.php:
|
452 |
msgid "Force app token"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: lib/class-wp-embed-fb-admin.php:
|
456 |
msgid "Save all settings"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: lib/class-wp-embed-fb-admin.php:
|
460 |
msgid "Restore default values?"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: lib/class-wp-embed-fb-admin.php:
|
464 |
msgid "Restore defaults"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: lib/class-wp-embed-fb-admin.php:
|
468 |
msgid "Premium Extension Available"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: lib/class-wp-embed-fb-admin.php:
|
472 |
msgid "Shortcodes for embedding a full event or page."
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: lib/class-wp-embed-fb-admin.php:
|
476 |
msgid "Elegant template for custom embeds"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: lib/class-wp-embed-fb-admin.php:
|
480 |
msgid "Albums with more that 100 photos."
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: lib/class-wp-embed-fb-admin.php:
|
484 |
msgid "One Year Premium Support"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: lib/class-wp-embed-fb-admin.php:
|
488 |
msgid "Check it out"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: lib/class-wp-embed-fb-admin.php:
|
492 |
msgid "Plus new features cooking"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: lib/class-wp-embed-fb-admin.php:
|
496 |
msgid ""
|
497 |
"Embed private data, shortcode creator, widgets, special templates for "
|
498 |
"albums and pages"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: lib/class-wp-embed-fb-admin.php:
|
502 |
msgid "This free plugin has taken thousands of hours to maintain and develop"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: lib/class-wp-embed-fb-admin.php:
|
506 |
msgid "Rate it"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: lib/class-wp-embed-fb-admin.php:
|
510 |
msgid "Donate"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: lib/class-wp-embed-fb-admin.php:
|
514 |
msgid "More information"
|
515 |
msgstr ""
|
516 |
|
@@ -577,7 +574,6 @@ msgstr ""
|
|
577 |
msgid "shares"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: templates/classic/social-plugin.php:15
|
581 |
#: templates/default/social-plugin.php:15
|
582 |
msgid "Download this video"
|
583 |
msgstr ""
|
1 |
+
# Copyright (C) 2017 Miguel Sirvent
|
2 |
# This file is distributed under the same license as the WP Embed Facebook package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP Embed Facebook 2.1.7\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/wp-embed-facebook\n"
|
8 |
"POT-Creation-Date: 2016-10-06 11:26-0500\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: Miguel Sirvent <miguel@sigami.net>\n"
|
14 |
"Language-Team: Miguel Sirvent <miguel@sigami.net>\n"
|
15 |
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
43 |
msgid "Invalid Facebook plugin type use it like this: [fb_plugin like]"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: lib/class-wp-embed-fb-admin.php:28
|
47 |
msgid ""
|
48 |
"To enable comment moderation and embed albums, events, profiles and video "
|
49 |
+
"as HTML5 setup a facebook app on <a id=\"wef_settings_link\" "
|
50 |
+
"href=\"%s\">settings</a>"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: lib/class-wp-embed-fb-admin.php:122
|
54 |
msgid "Settings"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: lib/class-wp-embed-fb-admin.php:305
|
58 |
msgid "Magic Embeds"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: lib/class-wp-embed-fb-admin.php:306
|
62 |
msgid "Social Plugins"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: lib/class-wp-embed-fb-admin.php:307
|
66 |
msgid "Custom Embeds"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: lib/class-wp-embed-fb-admin.php:308 lib/class-wp-embed-fb-admin.php:592
|
70 |
msgid "Lightbox"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: lib/class-wp-embed-fb-admin.php:309
|
74 |
msgid "Advanced"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: lib/class-wp-embed-fb-admin.php:325
|
78 |
msgid ""
|
79 |
"Auto embeds understand the url you are entering and return a social plugin "
|
80 |
"or a custom embed. <br>They can be activated by <a href=\"%s\" "
|
83 |
"Shortcode attributes and examples\" target=\"_blank\">shortcode</a>."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: lib/class-wp-embed-fb-admin.php:326
|
87 |
msgid "Auto Embeds"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: lib/class-wp-embed-fb-admin.php:327
|
91 |
msgid "Auto embed url's on editor "
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: lib/class-wp-embed-fb-admin.php:328
|
95 |
msgid "Maximum width in pixels"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: lib/class-wp-embed-fb-admin.php:329
|
99 |
msgid "Embed video as post"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: lib/class-wp-embed-fb-admin.php:333
|
|
|
|
|
|
|
|
|
103 |
msgid ""
|
104 |
"The quote plugin lets people select text on your page and add it to their "
|
105 |
"share.<br><a href=\"%s\" target=\"_blank\" title=\"WP Embed "
|
106 |
"Facebook\">Demo</a>"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: lib/class-wp-embed-fb-admin.php:333
|
110 |
msgid "Quote Plugin"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: lib/class-wp-embed-fb-admin.php:334 lib/class-wp-embed-fb-admin.php:339
|
114 |
msgid "Active"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: lib/class-wp-embed-fb-admin.php:335 lib/class-wp-embed-fb-admin.php:340
|
118 |
msgid "Post types"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: lib/class-wp-embed-fb-admin.php:336 lib/class-wp-embed-fb-admin.php:341
|
122 |
msgid "Post types separated by commas i.e. post,page,attachment"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: lib/class-wp-embed-fb-admin.php:338
|
126 |
msgid "Comments"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: lib/class-wp-embed-fb-admin.php:342
|
130 |
msgid "Sync comment count"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: lib/class-wp-embed-fb-admin.php:345
|
134 |
msgid "Add open graph meta"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: lib/class-wp-embed-fb-admin.php:346
|
138 |
msgid "Needed to moderate comments"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: lib/class-wp-embed-fb-admin.php:346
|
142 |
msgid ""
|
143 |
"Disable this if you already have another plugin adding <a "
|
144 |
"title=\"Moderation Setup Instructions\" target=\"_blank\" href=\"%s\">the "
|
145 |
"fb:app_id meta</a>"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: lib/class-wp-embed-fb-admin.php:347
|
149 |
msgid "To enable comments moderation setup your App ID"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: lib/class-wp-embed-fb-admin.php:350
|
153 |
msgid ""
|
154 |
"If you cant see the \"Moderate comment\" link above each comment you will "
|
155 |
"need to <a title=\"Sharing Debugger\" target=\"_blank\" href=\"%s\">scrape "
|
156 |
"the url</a>"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: lib/class-wp-embed-fb-admin.php:354
|
160 |
msgid "Notes:"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: lib/class-wp-embed-fb-admin.php:356
|
164 |
msgid "Facebook settings"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: lib/class-wp-embed-fb-admin.php:357
|
168 |
msgid "Social Plugins Language"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: lib/class-wp-embed-fb-admin.php:360
|
172 |
msgid ""
|
173 |
"Creating a Facebook app is easy view the <a href=\"%s\" target=\"_blank\" "
|
174 |
"title=\"WP Embed FB documentation\">step by step guide</a> or view <a "
|
175 |
"href=\"%s\" target=\"_blank\" title=\"Facebook Apps\">your apps</a>."
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: lib/class-wp-embed-fb-admin.php:367
|
179 |
msgid "App ID"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: lib/class-wp-embed-fb-admin.php:369
|
183 |
msgid "App Secret"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: lib/class-wp-embed-fb-admin.php:381
|
187 |
msgid ""
|
188 |
"<a title=\"Facebook Social Plugins\" href=\"%s\" rel=\"nofollow\" "
|
189 |
"target=\"_blank\">Social plugins</a> are pieces of code that Facebook "
|
190 |
"developers created for us mortals."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: lib/class-wp-embed-fb-admin.php:383 lib/class-wp-embed-fb-admin.php:526
|
194 |
msgid "Example:"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: lib/class-wp-embed-fb-admin.php:385
|
198 |
msgid "Embed a like button for the curent page:"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: lib/class-wp-embed-fb-admin.php:388
|
202 |
msgid "add debug=1 to debug the result."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: lib/class-wp-embed-fb-admin.php:395
|
206 |
msgid "Page plugin"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: lib/class-wp-embed-fb-admin.php:402
|
210 |
msgid "Tabs separated by commas i.e. timeline,events,messages"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: lib/class-wp-embed-fb-admin.php:409
|
214 |
msgid "Post plugin"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: lib/class-wp-embed-fb-admin.php:416
|
218 |
msgid "Video"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: lib/class-wp-embed-fb-admin.php:423
|
222 |
msgid "Single comment"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: lib/class-wp-embed-fb-admin.php:427
|
226 |
msgid "Activate them on all your posts on the \"Magic embeds\" section"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: lib/class-wp-embed-fb-admin.php:427
|
230 |
msgid "Comments plugin"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: lib/class-wp-embed-fb-admin.php:434
|
234 |
msgid "Activate it on all your posts on the \"Magic embeds\" section"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: lib/class-wp-embed-fb-admin.php:434
|
238 |
msgid "Quote plugin"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: lib/class-wp-embed-fb-admin.php:437
|
242 |
msgid "Save button"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: lib/class-wp-embed-fb-admin.php:440
|
246 |
msgid "Like button"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: lib/class-wp-embed-fb-admin.php:449
|
250 |
msgid "Send button"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: lib/class-wp-embed-fb-admin.php:453
|
254 |
msgid "Share button"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: lib/class-wp-embed-fb-admin.php:457
|
258 |
msgid "Follow button"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: lib/class-wp-embed-fb-admin.php:467
|
262 |
msgid "Adaptive view"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: lib/class-wp-embed-fb-admin.php:479
|
266 |
msgid "General"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: lib/class-wp-embed-fb-admin.php:491
|
270 |
msgid "Albums"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: lib/class-wp-embed-fb-admin.php:492
|
274 |
msgid "Number of Photos"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: lib/class-wp-embed-fb-admin.php:494
|
278 |
msgid "Events"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: lib/class-wp-embed-fb-admin.php:495
|
282 |
msgid "Use WP time to calculate the date"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: lib/class-wp-embed-fb-admin.php:496 lib/class-wp-embed-fb-admin.php:509
|
286 |
msgid "Time format"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: lib/class-wp-embed-fb-admin.php:497 lib/class-wp-embed-fb-admin.php:510
|
290 |
msgid "examples"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: lib/class-wp-embed-fb-admin.php:499
|
294 |
msgid "Pages"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: lib/class-wp-embed-fb-admin.php:500 lib/class-wp-embed-fb-admin.php:505
|
298 |
+
#: lib/class-wp-embed-fb-admin.php:508 lib/class-wp-embed-fb-admin.php:515
|
299 |
msgid "Use by default on \"Auto Embeds\""
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: lib/class-wp-embed-fb-admin.php:501
|
303 |
msgid "Show like button"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: lib/class-wp-embed-fb-admin.php:502
|
307 |
msgid "Number of posts"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: lib/class-wp-embed-fb-admin.php:504
|
311 |
msgid "Photos"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: lib/class-wp-embed-fb-admin.php:507
|
315 |
msgid "Posts"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: lib/class-wp-embed-fb-admin.php:514
|
319 |
msgid "Videos"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: lib/class-wp-embed-fb-admin.php:516
|
323 |
msgid "Force 16:9 ratio"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: lib/class-wp-embed-fb-admin.php:518
|
327 |
msgid "Profiles"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: lib/class-wp-embed-fb-admin.php:519
|
331 |
msgid "Show follow button"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: lib/class-wp-embed-fb-admin.php:524
|
335 |
msgid ""
|
336 |
"Custom embeds can be triggered using the [facebook url] or [embed] "
|
337 |
"shortcodes also by activating \"Auto Embeds\" on Magic Embeds section."
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: lib/class-wp-embed-fb-admin.php:531
|
341 |
msgid ""
|
342 |
"<a href=\"%s\" title=\"WP Embed Facebook Shortcode\" target=\"_blank\">Read "
|
343 |
"More</a>"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: lib/class-wp-embed-fb-admin.php:538 lib/class-wp-embed-fb-admin.php:572
|
347 |
msgid "By default you can only embed public pages, videos, photos and posts."
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: lib/class-wp-embed-fb-admin.php:539 lib/class-wp-embed-fb-admin.php:573
|
351 |
msgid ""
|
352 |
"To embed albums, events, profiles and video as HTML5 you will need to setup "
|
353 |
"a Facebook App on Magic Embeds section"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: lib/class-wp-embed-fb-admin.php:552
|
357 |
msgid "Lightbox Options"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: lib/class-wp-embed-fb-admin.php:553
|
361 |
msgid "Show Image Number Label"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: lib/class-wp-embed-fb-admin.php:554
|
365 |
msgid "Album Label"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: lib/class-wp-embed-fb-admin.php:555
|
369 |
msgid "Fade Duration"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: lib/class-wp-embed-fb-admin.php:556
|
373 |
msgid "Resize Duration"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: lib/class-wp-embed-fb-admin.php:557
|
377 |
msgid "Position From Top"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: lib/class-wp-embed-fb-admin.php:558
|
381 |
msgid "Max Height"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: lib/class-wp-embed-fb-admin.php:559
|
385 |
msgid "Max Width"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: lib/class-wp-embed-fb-admin.php:560
|
389 |
msgid "Always Show Nav On TouchDevices"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: lib/class-wp-embed-fb-admin.php:561
|
393 |
msgid "Fit Images In Viewport"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: lib/class-wp-embed-fb-admin.php:562
|
397 |
msgid "Disable Scrolling"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: lib/class-wp-embed-fb-admin.php:563
|
401 |
msgid "Loop Through Album"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: lib/class-wp-embed-fb-admin.php:564
|
405 |
msgid "Use this lightbox on the [gallery] shortcode"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: lib/class-wp-embed-fb-admin.php:586
|
409 |
msgid "Enqueue styles and scripts"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: lib/class-wp-embed-fb-admin.php:587
|
413 |
msgid "Only when there is an embed present"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: lib/class-wp-embed-fb-admin.php:588
|
417 |
msgid "Facebook SDK"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: lib/class-wp-embed-fb-admin.php:589
|
421 |
msgid "Template Styles"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: lib/class-wp-embed-fb-admin.php:590
|
425 |
msgid "Adaptive social plugins script"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: lib/class-wp-embed-fb-admin.php:593
|
429 |
msgid "Enqueue script"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: lib/class-wp-embed-fb-admin.php:594
|
433 |
msgid "Attribute"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: lib/class-wp-embed-fb-admin.php:596
|
437 |
msgid "Other Options"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: lib/class-wp-embed-fb-admin.php:597
|
441 |
msgid "Add fb-root on top of content"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: lib/class-wp-embed-fb-admin.php:598
|
445 |
msgid "Force Facebook SDK script on all site"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: lib/class-wp-embed-fb-admin.php:599
|
449 |
msgid "Force app token"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: lib/class-wp-embed-fb-admin.php:617
|
453 |
msgid "Save all settings"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: lib/class-wp-embed-fb-admin.php:622
|
457 |
msgid "Restore default values?"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: lib/class-wp-embed-fb-admin.php:625
|
461 |
msgid "Restore defaults"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: lib/class-wp-embed-fb-admin.php:633
|
465 |
msgid "Premium Extension Available"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: lib/class-wp-embed-fb-admin.php:637
|
469 |
msgid "Shortcodes for embedding a full event or page."
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: lib/class-wp-embed-fb-admin.php:639
|
473 |
msgid "Elegant template for custom embeds"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: lib/class-wp-embed-fb-admin.php:641
|
477 |
msgid "Albums with more that 100 photos."
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: lib/class-wp-embed-fb-admin.php:643
|
481 |
msgid "One Year Premium Support"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: lib/class-wp-embed-fb-admin.php:647
|
485 |
msgid "Check it out"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: lib/class-wp-embed-fb-admin.php:651
|
489 |
msgid "Plus new features cooking"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: lib/class-wp-embed-fb-admin.php:654
|
493 |
msgid ""
|
494 |
"Embed private data, shortcode creator, widgets, special templates for "
|
495 |
"albums and pages"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: lib/class-wp-embed-fb-admin.php:659
|
499 |
msgid "This free plugin has taken thousands of hours to maintain and develop"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: lib/class-wp-embed-fb-admin.php:664
|
503 |
msgid "Rate it"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: lib/class-wp-embed-fb-admin.php:672
|
507 |
msgid "Donate"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: lib/class-wp-embed-fb-admin.php:677
|
511 |
msgid "More information"
|
512 |
msgstr ""
|
513 |
|
574 |
msgid "shares"
|
575 |
msgstr ""
|
576 |
|
|
|
577 |
#: templates/default/social-plugin.php:15
|
578 |
msgid "Download this video"
|
579 |
msgstr ""
|
lib/class-wp-embed-fb-admin.php
CHANGED
@@ -6,7 +6,6 @@ class WP_Embed_FB_Admin extends WP_Embed_FB_Plugin {
|
|
6 |
//Donate or review notice
|
7 |
add_action( 'admin_notices', __CLASS__ . '::admin_notices' );
|
8 |
add_action( 'wp_ajax_wpemfb_close_warning', __CLASS__ . '::wpemfb_close_warning' );
|
9 |
-
add_action( 'wp_ajax_wpemfb_video_down', __CLASS__ . '::wpemfb_video_down' );
|
10 |
|
11 |
//settings page
|
12 |
add_action( 'admin_menu', __CLASS__ . '::add_page' );
|
@@ -24,16 +23,9 @@ class WP_Embed_FB_Admin extends WP_Embed_FB_Plugin {
|
|
24 |
?>
|
25 |
<div class="notice wpemfb_warning is-dismissible">
|
26 |
<h2>WP Embed Facebook</h2>
|
27 |
-
|
28 |
-
<p>Hey! The last step.</p>
|
29 |
-
|
30 |
-
<p><img style="position:relative; top: 5px;" height="20px" width="auto"
|
31 |
-
src="<?php echo self::url() . 'lib/admin/ic_setting.png' ?>"> Turn on <a title="Let your site visitors download Facebook videos"
|
32 |
-
id="wef-video-down" href="<?php echo admin_url( "options-general.php?page=embedfacebook" ) ?>">Video
|
33 |
-
Download Option</a> in settings.</p>
|
34 |
<p>
|
35 |
<?php
|
36 |
-
printf( __( 'To enable comment moderation and embed albums, events, profiles and video as HTML5 setup a facebook app on <a href="%s">settings</a>', 'wp-embed-facebook' ), admin_url('options-general.php?page=embedfacebook') )
|
37 |
?>
|
38 |
</p>
|
39 |
</div>
|
@@ -54,7 +46,6 @@ class WP_Embed_FB_Admin extends WP_Embed_FB_Plugin {
|
|
54 |
if ( current_user_can( 'manage_options' ) ) {
|
55 |
$options = self::get_option();
|
56 |
$options['close_warning2'] = 'true';
|
57 |
-
$options['video_download'] = 'true';
|
58 |
self::set_options( $options );
|
59 |
}
|
60 |
die;
|
@@ -113,13 +104,14 @@ class WP_Embed_FB_Admin extends WP_Embed_FB_Plugin {
|
|
113 |
jQuery(document).on('click', '.wpemfb_warning .notice-dismiss', function () {
|
114 |
jQuery.post(ajaxurl, {action: 'wpemfb_close_warning'});
|
115 |
});
|
116 |
-
jQuery(document).on('click', '#wef-video-down', function (e) {
|
117 |
-
e.preventDefault();
|
118 |
-
jQuery.post(ajaxurl, {action: 'wpemfb_video_down'}, function () {
|
119 |
-
window.location = "<?php echo admin_url("options-general.php?page=embedfacebook"); ?>"
|
120 |
-
});
|
121 |
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
</script>
|
124 |
<?php
|
125 |
endif;
|
@@ -335,13 +327,7 @@ class WP_Embed_FB_Admin extends WP_Embed_FB_Plugin {
|
|
335 |
self::field( 'checkbox', 'auto_embed_active', __( 'Auto embed url\'s on editor ', 'wp-embed-facebook' ) );
|
336 |
self::field( 'number', 'max_width', __( 'Maximum width in pixels', 'wp-embed-facebook' ), array(), array( 'min' => '0' ) );
|
337 |
self::field( 'checkbox', 'video_as_post', __( 'Embed video as post', 'wp-embed-facebook' ) );
|
338 |
-
self::field( 'checkbox', 'video_download', sprintf( __( '%sShow download option <br> under video', 'wp-embed-facebook' ), '<img title="Let your site visitors download Facebook videos" style="display:block;float:left;padding-right:5px;" width="50px" height="auto" src="' . self::url() . 'lib/admin/ic_image_settings.png">' ) );
|
339 |
?>
|
340 |
-
<tr valign="middle">
|
341 |
-
<th></th>
|
342 |
-
<td style="float: left;position: relative;top: -31px;left: 23px;">
|
343 |
-
Let your site visitors download Facebook videos </td>
|
344 |
-
</tr>
|
345 |
<?php
|
346 |
|
347 |
self::field( 'string', sprintf( __( 'The quote plugin lets people select text on your page and add it to their share.<br><a href="%s" target="_blank" title="WP Embed Facebook">Demo</a>', 'wp-embed-facebook' ), 'http://www.wpembedfb.com/demo-site/social-plugins/quote-plugin/' ), '<h3>' . __( 'Quote Plugin', 'wp-embed-facebook' ) . '</h3>' );
|
6 |
//Donate or review notice
|
7 |
add_action( 'admin_notices', __CLASS__ . '::admin_notices' );
|
8 |
add_action( 'wp_ajax_wpemfb_close_warning', __CLASS__ . '::wpemfb_close_warning' );
|
|
|
9 |
|
10 |
//settings page
|
11 |
add_action( 'admin_menu', __CLASS__ . '::add_page' );
|
23 |
?>
|
24 |
<div class="notice wpemfb_warning is-dismissible">
|
25 |
<h2>WP Embed Facebook</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
<p>
|
27 |
<?php
|
28 |
+
printf( __( 'To enable comment moderation and embed albums, events, profiles and video as HTML5 setup a facebook app on <a id="wef_settings_link" href="%s">settings</a>', 'wp-embed-facebook' ), admin_url('options-general.php?page=embedfacebook') )
|
29 |
?>
|
30 |
</p>
|
31 |
</div>
|
46 |
if ( current_user_can( 'manage_options' ) ) {
|
47 |
$options = self::get_option();
|
48 |
$options['close_warning2'] = 'true';
|
|
|
49 |
self::set_options( $options );
|
50 |
}
|
51 |
die;
|
104 |
jQuery(document).on('click', '.wpemfb_warning .notice-dismiss', function () {
|
105 |
jQuery.post(ajaxurl, {action: 'wpemfb_close_warning'});
|
106 |
});
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
+
jQuery(document).on('click', '#wef_settings_link', function (e) {
|
109 |
+
e.preventDefault();
|
110 |
+
jQuery.post(ajaxurl, {action: 'wpemfb_close_warning'}, function () {
|
111 |
+
window.location = "<?php echo admin_url("options-general.php?page=embedfacebook"); ?>"
|
112 |
+
});
|
113 |
+
|
114 |
+
});
|
115 |
</script>
|
116 |
<?php
|
117 |
endif;
|
327 |
self::field( 'checkbox', 'auto_embed_active', __( 'Auto embed url\'s on editor ', 'wp-embed-facebook' ) );
|
328 |
self::field( 'number', 'max_width', __( 'Maximum width in pixels', 'wp-embed-facebook' ), array(), array( 'min' => '0' ) );
|
329 |
self::field( 'checkbox', 'video_as_post', __( 'Embed video as post', 'wp-embed-facebook' ) );
|
|
|
330 |
?>
|
|
|
|
|
|
|
|
|
|
|
331 |
<?php
|
332 |
|
333 |
self::field( 'string', sprintf( __( 'The quote plugin lets people select text on your page and add it to their share.<br><a href="%s" target="_blank" title="WP Embed Facebook">Demo</a>', 'wp-embed-facebook' ), 'http://www.wpembedfb.com/demo-site/social-plugins/quote-plugin/' ), '<h3>' . __( 'Quote Plugin', 'wp-embed-facebook' ) . '</h3>' );
|
lib/class-wp-embed-fb-plugin.php
CHANGED
@@ -175,7 +175,7 @@ class WP_Embed_FB_Plugin {
|
|
175 |
'lightbox_att' => 'data-lightbox="roadtrip"',
|
176 |
'event_start_time_format' => 'l, j F Y g:i a',
|
177 |
'single_post_time_format' => 'l, j F Y g:s a',
|
178 |
-
|
179 |
) + $social_options;
|
180 |
}
|
181 |
|
@@ -236,10 +236,14 @@ class WP_Embed_FB_Plugin {
|
|
236 |
* Enqueue wp embed facebook styles
|
237 |
*/
|
238 |
static function wp_enqueue_scripts() {
|
239 |
-
foreach(array('default','classic') as $theme){
|
240 |
-
$on_theme
|
241 |
-
$true_path =
|
242 |
-
|
|
|
|
|
|
|
|
|
243 |
}
|
244 |
wp_register_style( 'wpemfb-lightbox', self::url() . 'lib/lightbox2/css/lightbox.css', array(), false );
|
245 |
wp_register_script( 'wpemfb-lightbox', self::url() . 'lib/lightbox2/js/lightbox.min.js', array( 'jquery' )
|
@@ -256,9 +260,9 @@ class WP_Embed_FB_Plugin {
|
|
256 |
//TODO use something like wp_add_inline_script('wpemfb-lightbox','new Lightbox(WEF_LB)') for LightBox options
|
257 |
wp_localize_script( 'wpemfb-lightbox', 'WEF_LB', $translation_array );
|
258 |
}
|
259 |
-
wp_register_script('wpemfb', self::url() . 'lib/js/wpembedfb.min.js', array( 'jquery' ));
|
260 |
|
261 |
-
wp_register_script('wpemfb-fbjs', self::url() . 'lib/js/fb.min.js', array( 'jquery' ));
|
262 |
$translation_array = array(
|
263 |
'local' => $options['sdk_lang'],
|
264 |
'version' => $options['sdk_version'],
|
@@ -300,6 +304,7 @@ class WP_Embed_FB_Plugin {
|
|
300 |
if ( self::$path == null ) {
|
301 |
self::$path = dirname( plugin_dir_path( __FILE__ ) ) . '/';
|
302 |
}
|
|
|
303 |
return self::$path;
|
304 |
}
|
305 |
|
@@ -307,6 +312,7 @@ class WP_Embed_FB_Plugin {
|
|
307 |
if ( self::$url == null ) {
|
308 |
self::$url = dirname( plugin_dir_url( __FILE__ ) ) . '/';
|
309 |
}
|
|
|
310 |
return self::$url;
|
311 |
}
|
312 |
|
@@ -555,9 +561,13 @@ class WP_Embed_FB_Plugin {
|
|
555 |
return array_map( 'trim', $array );
|
556 |
}
|
557 |
|
558 |
-
static function lightbox_title($title){
|
559 |
-
$clean_title = esc_attr(wp_rel_nofollow(make_clickable(str_replace(array('"',"'"),array(
|
560 |
-
|
|
|
|
|
|
|
|
|
561 |
}
|
562 |
|
563 |
//("uninstalled","deactivated","activated","reactivated")
|
175 |
'lightbox_att' => 'data-lightbox="roadtrip"',
|
176 |
'event_start_time_format' => 'l, j F Y g:i a',
|
177 |
'single_post_time_format' => 'l, j F Y g:s a',
|
178 |
+
'single_post_from_like' => 'false',
|
179 |
) + $social_options;
|
180 |
}
|
181 |
|
236 |
* Enqueue wp embed facebook styles
|
237 |
*/
|
238 |
static function wp_enqueue_scripts() {
|
239 |
+
foreach ( array( 'default', 'classic' ) as $theme ) {
|
240 |
+
$on_theme = get_stylesheet_directory() . "/plugins/wp-embed-facebook/$theme/$theme.css";
|
241 |
+
$true_path = self::url() . "templates/$theme/$theme.css";
|
242 |
+
if(file_exists( $on_theme )){
|
243 |
+
$true_path = get_stylesheet_directory() . "/plugins/wp-embed-facebook/$theme/$theme.css";
|
244 |
+
}
|
245 |
+
|
246 |
+
wp_register_style( 'wpemfb-' . $theme, $true_path, array(), false );
|
247 |
}
|
248 |
wp_register_style( 'wpemfb-lightbox', self::url() . 'lib/lightbox2/css/lightbox.css', array(), false );
|
249 |
wp_register_script( 'wpemfb-lightbox', self::url() . 'lib/lightbox2/js/lightbox.min.js', array( 'jquery' )
|
260 |
//TODO use something like wp_add_inline_script('wpemfb-lightbox','new Lightbox(WEF_LB)') for LightBox options
|
261 |
wp_localize_script( 'wpemfb-lightbox', 'WEF_LB', $translation_array );
|
262 |
}
|
263 |
+
wp_register_script( 'wpemfb', self::url() . 'lib/js/wpembedfb.min.js', array( 'jquery' ) );
|
264 |
|
265 |
+
wp_register_script( 'wpemfb-fbjs', self::url() . 'lib/js/fb.min.js', array( 'jquery' ) );
|
266 |
$translation_array = array(
|
267 |
'local' => $options['sdk_lang'],
|
268 |
'version' => $options['sdk_version'],
|
304 |
if ( self::$path == null ) {
|
305 |
self::$path = dirname( plugin_dir_path( __FILE__ ) ) . '/';
|
306 |
}
|
307 |
+
|
308 |
return self::$path;
|
309 |
}
|
310 |
|
312 |
if ( self::$url == null ) {
|
313 |
self::$url = dirname( plugin_dir_url( __FILE__ ) ) . '/';
|
314 |
}
|
315 |
+
|
316 |
return self::$url;
|
317 |
}
|
318 |
|
561 |
return array_map( 'trim', $array );
|
562 |
}
|
563 |
|
564 |
+
static function lightbox_title( $title ) {
|
565 |
+
$clean_title = esc_attr( wp_rel_nofollow( make_clickable( str_replace( array( '"', "'" ), array(
|
566 |
+
'"',
|
567 |
+
'''
|
568 |
+
), $title ) ) ) );
|
569 |
+
|
570 |
+
return apply_filters( 'wef_lightbox_title', 'data-title="' . $clean_title . '"', $title );
|
571 |
}
|
572 |
|
573 |
//("uninstalled","deactivated","activated","reactivated")
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: poxtron
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8Q85GT3Q8Q26
|
4 |
Tags: Facebook, facebook, Social Plugins, embed facebook, facebook video, facebook posts, facebook publication, facebook publications, facebook event, facebook events, facebook pages, facebook page, facebook profiles, facebook album, facebook albums, facebook photos, facebook photo, social,
|
5 |
Requires at least: 3.8.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -137,6 +137,10 @@ Buying the premium extensions helps to keep this project alive.
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
|
|
140 |
= 2.1.7 =
|
141 |
* Fixed: url understanding on page embeds when they have the format page-name-8798798
|
142 |
* Fixed: website on custom embed fail on edge cases
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8Q85GT3Q8Q26
|
4 |
Tags: Facebook, facebook, Social Plugins, embed facebook, facebook video, facebook posts, facebook publication, facebook publications, facebook event, facebook events, facebook pages, facebook page, facebook profiles, facebook album, facebook albums, facebook photos, facebook photo, social,
|
5 |
Requires at least: 3.8.1
|
6 |
+
Tested up to: 4.7.2
|
7 |
+
Stable tag: 2.1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 2.1.7 =
|
141 |
+
* Removed download video link
|
142 |
+
* Prevent wrong file load on theme templates @pierreg_
|
143 |
+
|
144 |
= 2.1.7 =
|
145 |
* Fixed: url understanding on page embeds when they have the format page-name-8798798
|
146 |
* Fixed: website on custom embed fail on edge cases
|
templates/classic/social-plugin.php
CHANGED
@@ -11,9 +11,6 @@ switch ( $type ) {
|
|
11 |
} else {
|
12 |
/** @noinspection PhpUndefinedVariableInspection */
|
13 |
echo WEF_Social_Plugins::get('video',array('href'=>'https://www.facebook.com/' . $fb_data['link'],'width'=>$width));
|
14 |
-
if ( WP_Embed_FB_Plugin::get_option( 'video_download' ) == 'true' ) {
|
15 |
-
echo '<p class="wef-video-link"><a title="Download this video" href="http://www.freemake.com/free_video_downloader/">' . __( 'Download this video', 'wp-embed-facebook' ) . '</a></p>';
|
16 |
-
}
|
17 |
}
|
18 |
|
19 |
break;
|
11 |
} else {
|
12 |
/** @noinspection PhpUndefinedVariableInspection */
|
13 |
echo WEF_Social_Plugins::get('video',array('href'=>'https://www.facebook.com/' . $fb_data['link'],'width'=>$width));
|
|
|
|
|
|
|
14 |
}
|
15 |
|
16 |
break;
|
wp-embed-facebook.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Embed Facebook
|
|
4 |
Plugin URI: http://www.wpembedfb.com
|
5 |
Description: Embed any public Facebook video, photo, album, event, page, comment, profile, or post. Add Facebook comments to all your site, insert Facebook social plugins (like, save, send, share, follow, quote, comments) anywhere on your site. View the <a href="http://www.wpembedfb.com/demo-site/" title="plugin website" target="_blank">demo site</a>.
|
6 |
Author: Miguel Sirvent
|
7 |
-
Version: 2.1.
|
8 |
Author URI: http://www.wpembedfb.com
|
9 |
Text Domain: wp-embed-facebook
|
10 |
Domain Path: /lang
|
4 |
Plugin URI: http://www.wpembedfb.com
|
5 |
Description: Embed any public Facebook video, photo, album, event, page, comment, profile, or post. Add Facebook comments to all your site, insert Facebook social plugins (like, save, send, share, follow, quote, comments) anywhere on your site. View the <a href="http://www.wpembedfb.com/demo-site/" title="plugin website" target="_blank">demo site</a>.
|
6 |
Author: Miguel Sirvent
|
7 |
+
Version: 2.1.8
|
8 |
Author URI: http://www.wpembedfb.com
|
9 |
Text Domain: wp-embed-facebook
|
10 |
Domain Path: /lang
|