WP Embed Facebook - Version 2.1.0

Version Description

  • Fixed: [facebook object_id] shortcode
  • Fixed: error for uls something-3423223
  • Added: Github release https://github.com/sigami/wp-embed-facebook
  • Added: Extra FAQ
Download this release

Release Info

Developer poxtron
Plugin Icon 128x128 WP Embed Facebook
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.1 to 2.1.0

index.php DELETED
@@ -1,2 +0,0 @@
1
- <?php
2
- //Nothing to see here
 
 
lang/wp-embed-facebook.pot CHANGED
@@ -1,287 +1,383 @@
1
- #, fuzzy
 
2
  msgid ""
3
  msgstr ""
4
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
- "Project-Id-Version: WP Embed Facebook\n"
6
- "POT-Creation-Date: 2016-01-27 23:00-0600\n"
7
- "PO-Revision-Date: 2016-01-27 22:59-0600\n"
8
- "Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
9
- "Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
10
  "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.6\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-WPHeader: wp-embed-facebook.php\n"
 
 
 
 
 
 
 
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
- "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
  "X-Poedit-SearchPath-0: .\n"
 
 
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
 
 
 
 
 
22
 
23
- #: lib/class-wp-embed-fb-admin.php:227 lib/class-wp-embed-fb-admin.php:278
24
  msgid "General"
25
  msgstr ""
26
 
27
- #: lib/class-wp-embed-fb-admin.php:228
28
  msgid "Custom Embeds"
29
  msgstr ""
30
 
31
- #: lib/class-wp-embed-fb-admin.php:229
32
  msgid "Geeky Stuff"
33
  msgstr ""
34
 
35
- #: lib/class-wp-embed-fb-admin.php:243
36
  msgid "For all embeds"
37
  msgstr ""
38
 
39
- #: lib/class-wp-embed-fb-admin.php:244
40
  msgid "Maximum width in pixels"
41
  msgstr ""
42
 
43
- #: lib/class-wp-embed-fb-admin.php:245
44
  msgid "Like Buttons Language"
45
  msgstr ""
46
 
47
- #: lib/class-wp-embed-fb-admin.php:249
48
- msgid "Social Plugin Defaults"
49
  msgstr ""
50
 
51
- #: lib/class-wp-embed-fb-admin.php:250
52
- msgid "Page Plugin"
53
  msgstr ""
54
 
55
- #: lib/class-wp-embed-fb-admin.php:251
 
 
 
 
 
 
 
 
56
  msgid "Show Friend's Faces"
57
  msgstr ""
58
 
59
- #: lib/class-wp-embed-fb-admin.php:252
60
  msgid "Use Small Header"
61
  msgstr ""
62
 
63
- #: lib/class-wp-embed-fb-admin.php:253
64
  msgid "Hide Cover Photo"
65
  msgstr ""
66
 
67
- #: lib/class-wp-embed-fb-admin.php:254
68
  msgid "Show Page Posts"
69
  msgstr ""
70
 
71
- #: lib/class-wp-embed-fb-admin.php:255
72
  msgid "Maximum height in pixels"
73
  msgstr ""
74
 
75
- #: lib/class-wp-embed-fb-admin.php:256 lib/class-wp-embed-fb-admin.php:306
76
- msgid "Videos"
77
- msgstr ""
78
-
79
- #: lib/class-wp-embed-fb-admin.php:257
80
- msgid "Embed Video as Post"
81
- msgstr ""
82
-
83
- #: lib/class-wp-embed-fb-admin.php:262
84
  msgid "By default you can only embed public pages, videos, photos and posts."
85
  msgstr ""
86
 
87
- #: lib/class-wp-embed-fb-admin.php:263
88
  msgid ""
89
- "To embed embed albums, events, profiles and raw video you will need a "
90
- "Facebook App."
 
 
 
 
91
  msgstr ""
92
 
93
- #: lib/class-wp-embed-fb-admin.php:267
94
  msgid "Facebook credentials"
95
  msgstr ""
96
 
97
- #: lib/class-wp-embed-fb-admin.php:268
98
  msgid "App ID"
99
  msgstr ""
100
 
101
- #: lib/class-wp-embed-fb-admin.php:269
102
  msgid "App Secret"
103
  msgstr ""
104
 
105
- #: lib/class-wp-embed-fb-admin.php:273
106
- msgid "Your Facebook Apps"
107
- msgstr ""
108
-
109
- #: lib/class-wp-embed-fb-admin.php:289
110
  msgid "Albums"
111
  msgstr ""
112
 
113
- #: lib/class-wp-embed-fb-admin.php:290
114
  msgid "Number of Photos"
115
  msgstr ""
116
 
117
- #: lib/class-wp-embed-fb-admin.php:292
118
  msgid "Events"
119
  msgstr ""
120
 
121
- #: lib/class-wp-embed-fb-admin.php:293
122
  msgid "Use WordPress timezone string to calculate the date"
123
  msgstr ""
124
 
125
- #: lib/class-wp-embed-fb-admin.php:295
126
  msgid "Pages"
127
  msgstr ""
128
 
129
- #: lib/class-wp-embed-fb-admin.php:296 lib/class-wp-embed-fb-admin.php:301
130
- #: lib/class-wp-embed-fb-admin.php:304 lib/class-wp-embed-fb-admin.php:307
131
- msgid "Use custom embed by default"
132
  msgstr ""
133
 
134
- #: lib/class-wp-embed-fb-admin.php:297
135
  msgid "Show like button"
136
  msgstr ""
137
 
138
- #: lib/class-wp-embed-fb-admin.php:298
139
  msgid "Number of posts"
140
  msgstr ""
141
 
142
- #: lib/class-wp-embed-fb-admin.php:300
143
- msgid "Photo"
144
  msgstr ""
145
 
146
- #: lib/class-wp-embed-fb-admin.php:303
147
  msgid "Posts"
148
  msgstr ""
149
 
150
- #: lib/class-wp-embed-fb-admin.php:308
 
 
 
 
151
  msgid "Force 16:9 ratio"
152
  msgstr ""
153
 
154
- #: lib/class-wp-embed-fb-admin.php:311
155
  msgid "Profiles"
156
  msgstr ""
157
 
158
- #: lib/class-wp-embed-fb-admin.php:312
159
  msgid "Show follow button"
160
  msgstr ""
161
 
162
- #: lib/class-wp-embed-fb-admin.php:320
163
- msgid "Advanced "
164
  msgstr ""
165
 
166
- #: lib/class-wp-embed-fb-admin.php:321
167
- msgid "Enqueue Styles"
168
  msgstr ""
169
 
170
- #: lib/class-wp-embed-fb-admin.php:322
171
- msgid "Add fb-root on top of content"
172
  msgstr ""
173
 
174
- #: lib/class-wp-embed-fb-admin.php:323
175
- msgid "Enqueue Lightbox script"
176
  msgstr ""
177
 
178
- #: lib/class-wp-embed-fb-admin.php:324
179
- msgid "Enqueue WPEmbedFB script"
180
  msgstr ""
181
 
182
- #: lib/class-wp-embed-fb-admin.php:325
183
- msgid "Enqueue Facebook SDK"
184
  msgstr ""
185
 
186
- #: lib/class-wp-embed-fb-admin.php:326
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  msgid "Force app token"
188
  msgstr ""
189
 
190
- #: lib/class-wp-embed-fb-admin.php:331
191
  msgid "Save"
192
  msgstr ""
193
 
194
- #: lib/class-wp-embed-fb-admin.php:333
195
- msgid "All options can be overwritten using the [facebook url ]"
 
 
 
 
 
 
 
 
 
 
196
  msgstr ""
197
 
198
- #: lib/class-wp-embed-fb-admin.php:341
199
  msgid "Premium Extension Available"
200
  msgstr ""
201
 
202
- #: lib/class-wp-embed-fb-admin.php:344
203
  msgid "Shortcodes for embedding a full event or page."
204
  msgstr ""
205
 
206
- #: lib/class-wp-embed-fb-admin.php:346
207
  msgid "Default event template shows admins and address."
208
  msgstr ""
209
 
210
- #: lib/class-wp-embed-fb-admin.php:347
211
  msgid "Albums with more that 100 photos."
212
  msgstr ""
213
 
214
- #: lib/class-wp-embed-fb-admin.php:349
215
  msgid "One Year Premium Support"
216
  msgstr ""
217
 
218
- #: lib/class-wp-embed-fb-admin.php:352
219
  msgid "Check it out"
220
  msgstr ""
221
 
222
- #: lib/class-wp-embed-fb-admin.php:355
223
  msgid "Plus new features cooking"
224
  msgstr ""
225
 
226
- #: lib/class-wp-embed-fb-admin.php:358
227
  msgid ""
228
  "Embed personal data, shortcode creator, widgets, special templates for "
229
  "albums and pages"
230
  msgstr ""
231
 
232
- #: lib/class-wp-embed-fb-admin.php:363
233
  msgid "Keep this plugin's core free and accessible to all."
234
  msgstr ""
235
 
236
- #: lib/class-wp-embed-fb-admin.php:370
 
 
 
 
237
  msgid "Donate"
238
  msgstr ""
239
 
240
- #: lib/class-wp-embed-fb-admin.php:374
241
  msgid "More information"
242
  msgstr ""
243
 
244
- #: lib/class-wp-embed-fb-plugin.php:171
245
- #, php-format
246
  msgid ""
247
- "This free plugin has taken <strong>thousands of hours</strong> to develop "
248
- "and maintain consider making a <a href=\"%s\">donation</a> or leaving a <a "
249
- "href=\"%s\">review</a> do nott let us loose faith in humanity."
250
  msgstr ""
251
 
252
- #: lib/class-wp-embed-fb-plugin.php:174
253
  msgid ""
254
- "To embed albums, events, profiles and raw video you will need a Facebook App"
 
 
 
 
255
  msgstr ""
256
 
257
- #: lib/class-wp-embed-fb-plugin.php:176
258
- msgid "settings."
259
  msgstr ""
260
 
261
- #: lib/class-wp-embed-fb.php:132 lib/class-wp-embed-fb.php:171
262
  msgid "Code"
263
  msgstr ""
264
 
265
- #: lib/class-wp-embed-fb.php:133 lib/class-wp-embed-fb.php:172
266
- #: lib/class-wp-embed-fb.php:347
267
  msgid "Error"
268
  msgstr ""
269
 
270
- #: lib/class-wp-embed-fb.php:391
 
 
 
 
 
 
271
  msgid "This is not a valid facebook url"
272
  msgstr ""
273
 
274
- #: templates/classic/com-page.php:19 templates/classic/page.php:36
275
- #: templates/classic/post.php:20 templates/default/com-page.php:19
276
- #: templates/default/page.php:38 templates/default/post.php:20
277
- #, php-format
278
  msgid "%d people like this."
279
  msgstr ""
280
 
281
- #: templates/classic/com-page.php:25 templates/classic/com-page.php:26
282
- #: templates/classic/page.php:26 templates/classic/page.php:27
283
- #: templates/default/com-page.php:25 templates/default/com-page.php:26
284
- #: templates/default/page.php:28 templates/default/page.php:29
285
  msgid "Web Site"
286
  msgstr ""
287
 
@@ -294,11 +390,14 @@ msgstr ""
294
  msgid "Creator: "
295
  msgstr ""
296
 
 
 
 
 
297
  #. Plugin Name of the plugin/theme
298
  msgid "WP Embed Facebook"
299
  msgstr ""
300
 
301
- #. Plugin URI of the plugin/theme
302
  #. Author URI of the plugin/theme
303
  msgid "http://www.wpembedfb.com"
304
  msgstr ""
@@ -313,4 +412,4 @@ msgstr ""
313
 
314
  #. Author of the plugin/theme
315
  msgid "Miguel Sirvent"
316
- msgstr ""
1
+ # Copyright (C) 2016 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.0\n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://wordpress.org/support/plugin/wp-embed-facebook\n"
8
+ "POT-Creation-Date: 2016-06-20 23:10:02+00:00\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: 2016-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"
16
+ "X-Poedit-KeywordsList: "
17
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
18
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
19
+ "Language: en\n"
20
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
+ "X-Poedit-Country: United States\n"
22
  "X-Poedit-SourceCharset: UTF-8\n"
23
+ "X-Poedit-Basepath: ..\n"
 
 
24
  "X-Poedit-SearchPath-0: .\n"
25
+ "X-Poedit-Bookmarks: \n"
26
+ "X-Textdomain-Support: yes\n"
27
  "X-Poedit-SearchPathExcluded-0: *.js\n"
28
+ "X-Poedit-Wpheader: wp-embed-facebook/.php\n"
29
+
30
+ #: lib/class-wp-embed-fb-admin.php:70
31
+ msgid "Settings"
32
+ msgstr ""
33
 
34
+ #: lib/class-wp-embed-fb-admin.php:257 lib/class-wp-embed-fb-admin.php:314
35
  msgid "General"
36
  msgstr ""
37
 
38
+ #: lib/class-wp-embed-fb-admin.php:258
39
  msgid "Custom Embeds"
40
  msgstr ""
41
 
42
+ #: lib/class-wp-embed-fb-admin.php:259
43
  msgid "Geeky Stuff"
44
  msgstr ""
45
 
46
+ #: lib/class-wp-embed-fb-admin.php:273
47
  msgid "For all embeds"
48
  msgstr ""
49
 
50
+ #: lib/class-wp-embed-fb-admin.php:274
51
  msgid "Maximum width in pixels"
52
  msgstr ""
53
 
54
+ #: lib/class-wp-embed-fb-admin.php:275
55
  msgid "Like Buttons Language"
56
  msgstr ""
57
 
58
+ #: lib/class-wp-embed-fb-admin.php:280
59
+ msgid "Video Social Plugin Settings"
60
  msgstr ""
61
 
62
+ #: lib/class-wp-embed-fb-admin.php:281
63
+ msgid "%sShow download option under video"
64
  msgstr ""
65
 
66
+ #: lib/class-wp-embed-fb-admin.php:282
67
+ msgid "Embed Video as Post"
68
+ msgstr ""
69
+
70
+ #: lib/class-wp-embed-fb-admin.php:284
71
+ msgid "Page Social Plugin Settings"
72
+ msgstr ""
73
+
74
+ #: lib/class-wp-embed-fb-admin.php:285
75
  msgid "Show Friend's Faces"
76
  msgstr ""
77
 
78
+ #: lib/class-wp-embed-fb-admin.php:286
79
  msgid "Use Small Header"
80
  msgstr ""
81
 
82
+ #: lib/class-wp-embed-fb-admin.php:287
83
  msgid "Hide Cover Photo"
84
  msgstr ""
85
 
86
+ #: lib/class-wp-embed-fb-admin.php:288
87
  msgid "Show Page Posts"
88
  msgstr ""
89
 
90
+ #: lib/class-wp-embed-fb-admin.php:289
91
  msgid "Maximum height in pixels"
92
  msgstr ""
93
 
94
+ #: lib/class-wp-embed-fb-admin.php:294
 
 
 
 
 
 
 
 
95
  msgid "By default you can only embed public pages, videos, photos and posts."
96
  msgstr ""
97
 
98
+ #: lib/class-wp-embed-fb-admin.php:295
99
  msgid ""
100
+ "To embed albums, events, profiles and video as HTML5 you will need a "
101
+ "Facebook App"
102
+ msgstr ""
103
+
104
+ #: lib/class-wp-embed-fb-admin.php:301
105
+ msgid "Create or view your Facebook Apps"
106
  msgstr ""
107
 
108
+ #: lib/class-wp-embed-fb-admin.php:304
109
  msgid "Facebook credentials"
110
  msgstr ""
111
 
112
+ #: lib/class-wp-embed-fb-admin.php:305
113
  msgid "App ID"
114
  msgstr ""
115
 
116
+ #: lib/class-wp-embed-fb-admin.php:306
117
  msgid "App Secret"
118
  msgstr ""
119
 
120
+ #: lib/class-wp-embed-fb-admin.php:325
 
 
 
 
121
  msgid "Albums"
122
  msgstr ""
123
 
124
+ #: lib/class-wp-embed-fb-admin.php:326
125
  msgid "Number of Photos"
126
  msgstr ""
127
 
128
+ #: lib/class-wp-embed-fb-admin.php:328
129
  msgid "Events"
130
  msgstr ""
131
 
132
+ #: lib/class-wp-embed-fb-admin.php:329
133
  msgid "Use WordPress timezone string to calculate the date"
134
  msgstr ""
135
 
136
+ #: lib/class-wp-embed-fb-admin.php:331
137
  msgid "Pages"
138
  msgstr ""
139
 
140
+ #: lib/class-wp-embed-fb-admin.php:332 lib/class-wp-embed-fb-admin.php:337
141
+ #: lib/class-wp-embed-fb-admin.php:340 lib/class-wp-embed-fb-admin.php:343
142
+ msgid "Enable by default"
143
  msgstr ""
144
 
145
+ #: lib/class-wp-embed-fb-admin.php:333
146
  msgid "Show like button"
147
  msgstr ""
148
 
149
+ #: lib/class-wp-embed-fb-admin.php:334
150
  msgid "Number of posts"
151
  msgstr ""
152
 
153
+ #: lib/class-wp-embed-fb-admin.php:336
154
+ msgid "Photos"
155
  msgstr ""
156
 
157
+ #: lib/class-wp-embed-fb-admin.php:339
158
  msgid "Posts"
159
  msgstr ""
160
 
161
+ #: lib/class-wp-embed-fb-admin.php:342
162
+ msgid "Videos"
163
+ msgstr ""
164
+
165
+ #: lib/class-wp-embed-fb-admin.php:344
166
  msgid "Force 16:9 ratio"
167
  msgstr ""
168
 
169
+ #: lib/class-wp-embed-fb-admin.php:346
170
  msgid "Profiles"
171
  msgstr ""
172
 
173
+ #: lib/class-wp-embed-fb-admin.php:347
174
  msgid "Show follow button"
175
  msgstr ""
176
 
177
+ #: lib/class-wp-embed-fb-admin.php:356
178
+ msgid "Lightbox Options"
179
  msgstr ""
180
 
181
+ #: lib/class-wp-embed-fb-admin.php:357
182
+ msgid "Show Image Number Label"
183
  msgstr ""
184
 
185
+ #: lib/class-wp-embed-fb-admin.php:358
186
+ msgid "Album Label"
187
  msgstr ""
188
 
189
+ #: lib/class-wp-embed-fb-admin.php:359
190
+ msgid "Fade Duration"
191
  msgstr ""
192
 
193
+ #: lib/class-wp-embed-fb-admin.php:360
194
+ msgid "Resize Duration"
195
  msgstr ""
196
 
197
+ #: lib/class-wp-embed-fb-admin.php:361
198
+ msgid "Position From Top"
199
  msgstr ""
200
 
201
+ #: lib/class-wp-embed-fb-admin.php:362
202
+ msgid "Max Height"
203
+ msgstr ""
204
+
205
+ #: lib/class-wp-embed-fb-admin.php:363
206
+ msgid "Max Width"
207
+ msgstr ""
208
+
209
+ #: lib/class-wp-embed-fb-admin.php:364
210
+ msgid "Always Show Nav On TouchDevices"
211
+ msgstr ""
212
+
213
+ #: lib/class-wp-embed-fb-admin.php:365
214
+ msgid "Fit Images In Viewport"
215
+ msgstr ""
216
+
217
+ #: lib/class-wp-embed-fb-admin.php:366
218
+ msgid "Disable Scrolling"
219
+ msgstr ""
220
+
221
+ #: lib/class-wp-embed-fb-admin.php:367
222
+ msgid "Loop Through Album"
223
+ msgstr ""
224
+
225
+ #: lib/class-wp-embed-fb-admin.php:369
226
+ msgid "Enqueue styles and scripts"
227
+ msgstr ""
228
+
229
+ #: lib/class-wp-embed-fb-admin.php:370
230
+ msgid "Only when there is an embed present"
231
+ msgstr ""
232
+
233
+ #: lib/class-wp-embed-fb-admin.php:371
234
+ msgid "Facebook SDK"
235
+ msgstr ""
236
+
237
+ #: lib/class-wp-embed-fb-admin.php:372
238
+ msgid "Template Styles"
239
+ msgstr ""
240
+
241
+ #: lib/class-wp-embed-fb-admin.php:373
242
+ msgid "Adaptive social plugins script"
243
+ msgstr ""
244
+
245
+ #: lib/class-wp-embed-fb-admin.php:374
246
+ msgid "Lightbox Script"
247
+ msgstr ""
248
+
249
+ #: lib/class-wp-embed-fb-admin.php:376
250
+ msgid "Other Options"
251
+ msgstr ""
252
+
253
+ #: lib/class-wp-embed-fb-admin.php:377
254
+ msgid "Add fb-root on top of content"
255
+ msgstr ""
256
+
257
+ #: lib/class-wp-embed-fb-admin.php:378
258
+ msgid "Force Facebook SDK script on all site"
259
+ msgstr ""
260
+
261
+ #: lib/class-wp-embed-fb-admin.php:379
262
  msgid "Force app token"
263
  msgstr ""
264
 
265
+ #: lib/class-wp-embed-fb-admin.php:395
266
  msgid "Save"
267
  msgstr ""
268
 
269
+ #: lib/class-wp-embed-fb-admin.php:397
270
+ msgid ""
271
+ "All options can be overwritten using the [facebook url ] <a "
272
+ "href=\"%s\">shortcode</a>"
273
+ msgstr ""
274
+
275
+ #: lib/class-wp-embed-fb-admin.php:403
276
+ msgid "Restore default values?"
277
+ msgstr ""
278
+
279
+ #: lib/class-wp-embed-fb-admin.php:405
280
+ msgid "Restore defaults"
281
  msgstr ""
282
 
283
+ #: lib/class-wp-embed-fb-admin.php:413
284
  msgid "Premium Extension Available"
285
  msgstr ""
286
 
287
+ #: lib/class-wp-embed-fb-admin.php:417
288
  msgid "Shortcodes for embedding a full event or page."
289
  msgstr ""
290
 
291
+ #: lib/class-wp-embed-fb-admin.php:419
292
  msgid "Default event template shows admins and address."
293
  msgstr ""
294
 
295
+ #: lib/class-wp-embed-fb-admin.php:421
296
  msgid "Albums with more that 100 photos."
297
  msgstr ""
298
 
299
+ #: lib/class-wp-embed-fb-admin.php:423
300
  msgid "One Year Premium Support"
301
  msgstr ""
302
 
303
+ #: lib/class-wp-embed-fb-admin.php:427
304
  msgid "Check it out"
305
  msgstr ""
306
 
307
+ #: lib/class-wp-embed-fb-admin.php:431
308
  msgid "Plus new features cooking"
309
  msgstr ""
310
 
311
+ #: lib/class-wp-embed-fb-admin.php:434
312
  msgid ""
313
  "Embed personal data, shortcode creator, widgets, special templates for "
314
  "albums and pages"
315
  msgstr ""
316
 
317
+ #: lib/class-wp-embed-fb-admin.php:439
318
  msgid "Keep this plugin's core free and accessible to all."
319
  msgstr ""
320
 
321
+ #: lib/class-wp-embed-fb-admin.php:443
322
+ msgid "Rate it"
323
+ msgstr ""
324
+
325
+ #: lib/class-wp-embed-fb-admin.php:451
326
  msgid "Donate"
327
  msgstr ""
328
 
329
+ #: lib/class-wp-embed-fb-admin.php:455
330
  msgid "More information"
331
  msgstr ""
332
 
333
+ #: lib/class-wp-embed-fb-plugin.php:343
 
334
  msgid ""
335
+ "To embed albums, events, profiles and video as HTML5 you will need a <a "
336
+ "target=\"_blank\" href=\"%s\">Facebook App</a>"
 
337
  msgstr ""
338
 
339
+ #: lib/class-wp-embed-fb-plugin.php:348
340
  msgid ""
341
+ "This free plugin has taken <strong>thousands of hours</strong> to develop "
342
+ "and maintain consider making a <a target=\"_blank\" "
343
+ "href=\"%s\">donation</a> or leaving a <a target=\"_blank\" "
344
+ "href=\"%s\">review</a> <strong>do not let us loose faith</strong> in "
345
+ "humanity."
346
  msgstr ""
347
 
348
+ #: lib/class-wp-embed-fb.php:172
349
+ msgid "Error: Try embedding this post as a social plugin (only visible to admins)"
350
  msgstr ""
351
 
352
+ #: lib/class-wp-embed-fb.php:175 lib/class-wp-embed-fb.php:212
353
  msgid "Code"
354
  msgstr ""
355
 
356
+ #: lib/class-wp-embed-fb.php:177 lib/class-wp-embed-fb.php:214
357
+ #: lib/class-wp-embed-fb.php:422
358
  msgid "Error"
359
  msgstr ""
360
 
361
+ #: lib/class-wp-embed-fb.php:429
362
+ msgid ""
363
+ "<small>To embed this type of content you need to setup a facebook app on <a "
364
+ "href=\"%s\" title=\"WP Embed Facebook Settings\">settings</a></small>"
365
+ msgstr ""
366
+
367
+ #: lib/class-wp-embed-fb.php:484
368
  msgid "This is not a valid facebook url"
369
  msgstr ""
370
 
371
+ #: templates/classic/com-page.php:20 templates/classic/page.php:34
372
+ #: templates/classic/post.php:21 templates/default/com-page.php:20
373
+ #: templates/default/page.php:34 templates/default/post.php:21
 
374
  msgid "%d people like this."
375
  msgstr ""
376
 
377
+ #: templates/classic/com-page.php:26 templates/classic/com-page.php:27
378
+ #: templates/classic/page.php:24 templates/classic/page.php:25
379
+ #: templates/default/com-page.php:26 templates/default/com-page.php:27
380
+ #: templates/default/page.php:24 templates/default/page.php:25
381
  msgid "Web Site"
382
  msgstr ""
383
 
390
  msgid "Creator: "
391
  msgstr ""
392
 
393
+ #: templates/default/social-plugin.php:15
394
+ msgid "Download this video"
395
+ msgstr ""
396
+
397
  #. Plugin Name of the plugin/theme
398
  msgid "WP Embed Facebook"
399
  msgstr ""
400
 
 
401
  #. Author URI of the plugin/theme
402
  msgid "http://www.wpembedfb.com"
403
  msgstr ""
412
 
413
  #. Author of the plugin/theme
414
  msgid "Miguel Sirvent"
415
+ msgstr ""
lib/base_facebook.php CHANGED
@@ -1491,4 +1491,4 @@ abstract class BaseFacebook
1491
  * @return void
1492
  */
1493
  abstract protected function clearAllPersistentData();
1494
- }
1491
  * @return void
1492
  */
1493
  abstract protected function clearAllPersistentData();
1494
+ }
lib/class-wp-embed-fb.php CHANGED
@@ -223,7 +223,7 @@ class WP_Embed_FB {
223
  }
224
  if ( ! is_numeric( $fb_id ) ) {
225
  $fb_id_array = explode( '-', $fb_id );
226
- if ( ! empty( $fb_id_array ) && is_int( end( $fb_id_array ) ) ) {
227
  $fb_id = end( $fb_id_array );
228
  }
229
  $fb_id = str_replace( ':0', '', $fb_id );
@@ -476,7 +476,7 @@ class WP_Embed_FB {
476
  static function shortcode( $atts ) {
477
  if ( ! empty( $atts ) && isset( $atts[0] ) ) {
478
  $clean = trim( $atts[0], '=' );
479
- if ( is_int( $clean ) ) {
480
  $juice = $clean;
481
  $clean = "https://www.facebook.com/$juice";
482
  } else {
@@ -488,7 +488,6 @@ class WP_Embed_FB {
488
  'http:',
489
  '//facebook.com/',
490
  '//m.facebook.com/',
491
- '//facebook.com/',
492
  '//www.facebook.com/'
493
  ), '', $clean );
494
  }
223
  }
224
  if ( ! is_numeric( $fb_id ) ) {
225
  $fb_id_array = explode( '-', $fb_id );
226
+ if ( ! empty( $fb_id_array ) && is_numeric( end( $fb_id_array ) ) ) {
227
  $fb_id = end( $fb_id_array );
228
  }
229
  $fb_id = str_replace( ':0', '', $fb_id );
476
  static function shortcode( $atts ) {
477
  if ( ! empty( $atts ) && isset( $atts[0] ) ) {
478
  $clean = trim( $atts[0], '=' );
479
+ if ( is_numeric( $clean ) ) {
480
  $juice = $clean;
481
  $clean = "https://www.facebook.com/$juice";
482
  } else {
488
  'http:',
489
  '//facebook.com/',
490
  '//m.facebook.com/',
 
491
  '//www.facebook.com/'
492
  ), '', $clean );
493
  }
lib/js/fb.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(){jQuery.ajaxSetup({cache:true});var script_name="//connect.facebook.net/"+WEF.local+"/sdk.js";jQuery.getScript(script_name,function(){FB.init({appId:WEF.fb_id,version:WEF.version,xfbml:true})})});
1
+ jQuery(document).ready(function(){jQuery.ajaxSetup({cache:!0});var a="//connect.facebook.net/"+WEF.local+"/sdk.js";jQuery.getScript(a,function(){FB.init({appId:WEF.fb_id,version:WEF.version,xfbml:!0})})});
lib/js/wpembedfb.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(){var v_width=jQuery(".wef-measure").outerWidth();jQuery(".fb-post").attr("data-width",v_width+"px")});
1
+ jQuery(document).ready(function(){var a=jQuery(".wef-measure").outerWidth();jQuery(".fb-post").attr("data-width",a+"px")});
lib/lightbox2/js/lightbox.js CHANGED
@@ -1,453 +1 @@
1
- /*!
2
- * Lightbox v2.8.2
3
- * by Lokesh Dhakar
4
- * Adaptation for WordPress by Miguel Sirvent
5
- *
6
- * More info:
7
- * http://lokeshdhakar.com/projects/lightbox2/
8
- * http://wpembedfb.com
9
- *
10
- * Copyright 2007, 2015 Lokesh Dhakar
11
- * Released under the MIT license
12
- * https://github.com/lokesh/lightbox2/blob/master/LICENSE
13
- */
14
-
15
- jQuery(function( $ ) {
16
- // Descriptions of all options available on the demo site:
17
- // http://lokeshdhakar.com/projects/lightbox2/index.html#options
18
-
19
- function Lightbox(options) {
20
- this.album = [];
21
- this.currentImageIndex = void 0;
22
- this.init();
23
-
24
- // options
25
- this.options = $.extend({}, this.constructor.defaults);
26
- this.option(options);
27
- }
28
- Lightbox.defaults = {
29
- albumLabel: 'Image %1 of %2',
30
- alwaysShowNavOnTouchDevices: false,
31
- fadeDuration: 500,
32
- fitImagesInViewport: true,
33
- // maxWidth: 800,
34
- // maxHeight: 600,
35
- positionFromTop: 50,
36
- resizeDuration: 700,
37
- showImageNumberLabel: true,
38
- wrapAround: false,
39
- disableScrolling: false
40
- };
41
-
42
- Lightbox.prototype.option = function(options) {
43
- $.extend(this.options, options);
44
- };
45
-
46
- Lightbox.prototype.imageCountLabel = function(currentImageNum, totalImages) {
47
- return this.options.albumLabel.replace(/%1/g, currentImageNum).replace(/%2/g, totalImages);
48
- };
49
-
50
- Lightbox.prototype.init = function() {
51
- this.enable();
52
- this.build();
53
- };
54
-
55
- // Loop through anchors and areamaps looking for either data-lightbox attributes or rel attributes
56
- // that contain 'lightbox'. When these are clicked, start lightbox.
57
- Lightbox.prototype.enable = function() {
58
- var self = this;
59
- $('body').on('click', 'a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(event) {
60
- self.start($(event.currentTarget));
61
- return false;
62
- });
63
- };
64
-
65
- // Build html for the lightbox and the overlay.
66
- // Attach event handlers to the new DOM elements. click click click
67
- Lightbox.prototype.build = function() {
68
- var self = this;
69
- $('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
70
-
71
- // Cache jQuery objects
72
- this.$lightbox = $('#lightbox');
73
- this.$overlay = $('#lightboxOverlay');
74
- this.$outerContainer = this.$lightbox.find('.lb-outerContainer');
75
- this.$container = this.$lightbox.find('.lb-container');
76
-
77
- // Store css values for future lookup
78
- this.containerTopPadding = parseInt(this.$container.css('padding-top'), 10);
79
- this.containerRightPadding = parseInt(this.$container.css('padding-right'), 10);
80
- this.containerBottomPadding = parseInt(this.$container.css('padding-bottom'), 10);
81
- this.containerLeftPadding = parseInt(this.$container.css('padding-left'), 10);
82
-
83
- // Attach event handlers to the newly minted DOM elements
84
- this.$overlay.hide().on('click', function() {
85
- self.end();
86
- return false;
87
- });
88
-
89
- this.$lightbox.hide().on('click', function(event) {
90
- if ($(event.target).attr('id') === 'lightbox') {
91
- self.end();
92
- }
93
- return false;
94
- });
95
-
96
- this.$outerContainer.on('click', function(event) {
97
- if ($(event.target).attr('id') === 'lightbox') {
98
- self.end();
99
- }
100
- return false;
101
- });
102
-
103
- this.$lightbox.find('.lb-prev').on('click', function() {
104
- if (self.currentImageIndex === 0) {
105
- self.changeImage(self.album.length - 1);
106
- } else {
107
- self.changeImage(self.currentImageIndex - 1);
108
- }
109
- return false;
110
- });
111
-
112
- this.$lightbox.find('.lb-next').on('click', function() {
113
- if (self.currentImageIndex === self.album.length - 1) {
114
- self.changeImage(0);
115
- } else {
116
- self.changeImage(self.currentImageIndex + 1);
117
- }
118
- return false;
119
- });
120
-
121
- this.$lightbox.find('.lb-loader, .lb-close').on('click', function() {
122
- self.end();
123
- return false;
124
- });
125
- };
126
-
127
- // Show overlay and lightbox. If the image is part of a set, add siblings to album array.
128
- Lightbox.prototype.start = function($link) {
129
- var self = this;
130
- var $window = $(window);
131
-
132
- $window.on('resize', $.proxy(this.sizeOverlay, this));
133
-
134
- $('select, object, embed').css({
135
- visibility: 'hidden'
136
- });
137
-
138
- this.sizeOverlay();
139
-
140
- this.album = [];
141
- var imageNumber = 0;
142
-
143
- function addToAlbum($link) {
144
- self.album.push({
145
- link: $link.attr('href'),
146
- title: $link.attr('data-title') || $link.attr('title')
147
- });
148
- }
149
-
150
- // Support both data-lightbox attribute and rel attribute implementations
151
- var dataLightboxValue = $link.attr('data-lightbox');
152
- var $links;
153
-
154
- if (dataLightboxValue) {
155
- $links = $($link.prop('tagName') + '[data-lightbox="' + dataLightboxValue + '"]');
156
- for (var i = 0; i < $links.length; i = ++i) {
157
- addToAlbum($($links[i]));
158
- if ($links[i] === $link[0]) {
159
- imageNumber = i;
160
- }
161
- }
162
- } else {
163
- if ($link.attr('rel') === 'lightbox') {
164
- // If image is not part of a set
165
- addToAlbum($link);
166
- } else {
167
- // If image is part of a set
168
- $links = $($link.prop('tagName') + '[rel="' + $link.attr('rel') + '"]');
169
- for (var j = 0; j < $links.length; j = ++j) {
170
- addToAlbum($($links[j]));
171
- if ($links[j] === $link[0]) {
172
- imageNumber = j;
173
- }
174
- }
175
- }
176
- }
177
-
178
- // Position Lightbox
179
- var top = $window.scrollTop() + this.options.positionFromTop;
180
- var left = $window.scrollLeft();
181
- this.$lightbox.css({
182
- top: top + 'px',
183
- left: left + 'px'
184
- }).fadeIn(this.options.fadeDuration);
185
-
186
- // Disable scrolling of the page while open
187
- if (this.options.disableScrolling) {
188
- $('body').addClass('lb-disable-scrolling');
189
- }
190
-
191
- this.changeImage(imageNumber);
192
- };
193
-
194
- // Hide most UI elements in preparation for the animated resizing of the lightbox.
195
- Lightbox.prototype.changeImage = function(imageNumber) {
196
- var self = this;
197
-
198
- this.disableKeyboardNav();
199
- var $image = this.$lightbox.find('.lb-image');
200
-
201
- this.$overlay.fadeIn(this.options.fadeDuration);
202
-
203
- $('.lb-loader').fadeIn('slow');
204
- this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
205
-
206
- this.$outerContainer.addClass('animating');
207
-
208
- // When image to show is preloaded, we send the width and height to sizeContainer()
209
- var preloader = new Image();
210
- preloader.onload = function() {
211
- var $preloader;
212
- var imageHeight;
213
- var imageWidth;
214
- var maxImageHeight;
215
- var maxImageWidth;
216
- var windowHeight;
217
- var windowWidth;
218
-
219
- $image.attr('src', self.album[imageNumber].link);
220
-
221
- $preloader = $(preloader);
222
-
223
- $image.width(preloader.width);
224
- $image.height(preloader.height);
225
-
226
- if (self.options.fitImagesInViewport) {
227
- // Fit image inside the viewport.
228
- // Take into account the border around the image and an additional 10px gutter on each side.
229
-
230
- windowWidth = $(window).width();
231
- windowHeight = $(window).height();
232
- maxImageWidth = windowWidth - self.containerLeftPadding - self.containerRightPadding - 20;
233
- maxImageHeight = windowHeight - self.containerTopPadding - self.containerBottomPadding - 120;
234
-
235
- // Check if image size is larger then maxWidth|maxHeight in settings
236
- if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) {
237
- maxImageWidth = self.options.maxWidth;
238
- }
239
- if (self.options.maxHeight && self.options.maxHeight < maxImageWidth) {
240
- maxImageHeight = self.options.maxHeight;
241
- }
242
-
243
- // Is there a fitting issue?
244
- if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) {
245
- if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) {
246
- imageWidth = maxImageWidth;
247
- imageHeight = parseInt(preloader.height / (preloader.width / imageWidth), 10);
248
- $image.width(imageWidth);
249
- $image.height(imageHeight);
250
- } else {
251
- imageHeight = maxImageHeight;
252
- imageWidth = parseInt(preloader.width / (preloader.height / imageHeight), 10);
253
- $image.width(imageWidth);
254
- $image.height(imageHeight);
255
- }
256
- }
257
- }
258
- self.sizeContainer($image.width(), $image.height());
259
- };
260
-
261
- preloader.src = this.album[imageNumber].link;
262
- this.currentImageIndex = imageNumber;
263
- };
264
-
265
- // Stretch overlay to fit the viewport
266
- Lightbox.prototype.sizeOverlay = function() {
267
- this.$overlay
268
- .width($(document).width())
269
- .height($(document).height());
270
- };
271
-
272
- // Animate the size of the lightbox to fit the image we are showing
273
- Lightbox.prototype.sizeContainer = function(imageWidth, imageHeight) {
274
- var self = this;
275
-
276
- var oldWidth = this.$outerContainer.outerWidth();
277
- var oldHeight = this.$outerContainer.outerHeight();
278
- var newWidth = imageWidth + this.containerLeftPadding + this.containerRightPadding;
279
- var newHeight = imageHeight + this.containerTopPadding + this.containerBottomPadding;
280
-
281
- function postResize() {
282
- self.$lightbox.find('.lb-dataContainer').width(newWidth);
283
- self.$lightbox.find('.lb-prevLink').height(newHeight);
284
- self.$lightbox.find('.lb-nextLink').height(newHeight);
285
- self.showImage();
286
- }
287
-
288
- if (oldWidth !== newWidth || oldHeight !== newHeight) {
289
- this.$outerContainer.animate({
290
- width: newWidth,
291
- height: newHeight
292
- }, this.options.resizeDuration, 'swing', function() {
293
- postResize();
294
- });
295
- } else {
296
- postResize();
297
- }
298
- };
299
-
300
- // Display the image and its details and begin preload neighboring images.
301
- Lightbox.prototype.showImage = function() {
302
- this.$lightbox.find('.lb-loader').stop(true).hide();
303
- this.$lightbox.find('.lb-image').fadeIn('slow');
304
-
305
- this.updateNav();
306
- this.updateDetails();
307
- this.preloadNeighboringImages();
308
- this.enableKeyboardNav();
309
- };
310
-
311
- // Display previous and next navigation if appropriate.
312
- Lightbox.prototype.updateNav = function() {
313
- // Check to see if the browser supports touch events. If so, we take the conservative approach
314
- // and assume that mouse hover events are not supported and always show prev/next navigation
315
- // arrows in image sets.
316
- var alwaysShowNav = false;
317
- try {
318
- document.createEvent('TouchEvent');
319
- alwaysShowNav = (this.options.alwaysShowNavOnTouchDevices) ? true : false;
320
- } catch (e) {}
321
-
322
- this.$lightbox.find('.lb-nav').show();
323
-
324
- if (this.album.length > 1) {
325
- if (this.options.wrapAround) {
326
- if (alwaysShowNav) {
327
- this.$lightbox.find('.lb-prev, .lb-next').css('opacity', '1');
328
- }
329
- this.$lightbox.find('.lb-prev, .lb-next').show();
330
- } else {
331
- if (this.currentImageIndex > 0) {
332
- this.$lightbox.find('.lb-prev').show();
333
- if (alwaysShowNav) {
334
- this.$lightbox.find('.lb-prev').css('opacity', '1');
335
- }
336
- }
337
- if (this.currentImageIndex < this.album.length - 1) {
338
- this.$lightbox.find('.lb-next').show();
339
- if (alwaysShowNav) {
340
- this.$lightbox.find('.lb-next').css('opacity', '1');
341
- }
342
- }
343
- }
344
- }
345
- };
346
-
347
- // Display caption, image number, and closing button.
348
- Lightbox.prototype.updateDetails = function() {
349
- var self = this;
350
-
351
- // Enable anchor clicks in the injected caption html.
352
- // Thanks Nate Wright for the fix. @https://github.com/NateWr
353
- if (typeof this.album[this.currentImageIndex].title !== 'undefined' &&
354
- this.album[this.currentImageIndex].title !== '') {
355
- this.$lightbox.find('.lb-caption')
356
- .html(this.album[this.currentImageIndex].title)
357
- .fadeIn('fast')
358
- .find('a').on('click', function(event) {
359
- if ($(this).attr('target') !== undefined) {
360
- window.open($(this).attr('href'), $(this).attr('target'));
361
- } else {
362
- location.href = $(this).attr('href');
363
- }
364
- });
365
- }
366
-
367
- if (this.album.length > 1 && this.options.showImageNumberLabel) {
368
- var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
369
- this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
370
- } else {
371
- this.$lightbox.find('.lb-number').hide();
372
- }
373
-
374
- this.$outerContainer.removeClass('animating');
375
-
376
- this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function() {
377
- return self.sizeOverlay();
378
- });
379
- };
380
-
381
- // Preload previous and next images in set.
382
- Lightbox.prototype.preloadNeighboringImages = function() {
383
- if (this.album.length > this.currentImageIndex + 1) {
384
- var preloadNext = new Image();
385
- preloadNext.src = this.album[this.currentImageIndex + 1].link;
386
- }
387
- if (this.currentImageIndex > 0) {
388
- var preloadPrev = new Image();
389
- preloadPrev.src = this.album[this.currentImageIndex - 1].link;
390
- }
391
- };
392
-
393
- Lightbox.prototype.enableKeyboardNav = function() {
394
- $(document).on('keyup.keyboard', $.proxy(this.keyboardAction, this));
395
- };
396
-
397
- Lightbox.prototype.disableKeyboardNav = function() {
398
- $(document).off('.keyboard');
399
- };
400
-
401
- Lightbox.prototype.keyboardAction = function(event) {
402
- var KEYCODE_ESC = 27;
403
- var KEYCODE_LEFTARROW = 37;
404
- var KEYCODE_RIGHTARROW = 39;
405
-
406
- var keycode = event.keyCode;
407
- var key = String.fromCharCode(keycode).toLowerCase();
408
- if (keycode === KEYCODE_ESC || key.match(/x|o|c/)) {
409
- this.end();
410
- } else if (key === 'p' || keycode === KEYCODE_LEFTARROW) {
411
- if (this.currentImageIndex !== 0) {
412
- this.changeImage(this.currentImageIndex - 1);
413
- } else if (this.options.wrapAround && this.album.length > 1) {
414
- this.changeImage(this.album.length - 1);
415
- }
416
- } else if (key === 'n' || keycode === KEYCODE_RIGHTARROW) {
417
- if (this.currentImageIndex !== this.album.length - 1) {
418
- this.changeImage(this.currentImageIndex + 1);
419
- } else if (this.options.wrapAround && this.album.length > 1) {
420
- this.changeImage(0);
421
- }
422
- }
423
- };
424
- // Closing time. :-(
425
- Lightbox.prototype.end = function() {
426
- this.disableKeyboardNav();
427
- $(window).off('resize', this.sizeOverlay);
428
- this.$lightbox.fadeOut(this.options.fadeDuration);
429
- this.$overlay.fadeOut(this.options.fadeDuration);
430
- $('select, object, embed').css({
431
- visibility: 'visible'
432
- });
433
- if (this.options.disableScrolling) {
434
- $('body').removeClass('lb-disable-scrolling');
435
- }
436
- };
437
- if (typeof WEF_LB === "undefined") {
438
- new Lightbox();
439
- } else {
440
- for (var key in WEF_LB) {
441
- if (WEF_LB.hasOwnProperty(key)) {
442
- if(WEF_LB[key]=='false'){
443
- WEF_LB[key] = false;
444
- }
445
- if(WEF_LB[key]=='true'){
446
- WEF_LB[key] = true;
447
- }
448
- }
449
- }
450
- new Lightbox(WEF_LB);
451
- }
452
- });
453
-
1
+ jQuery(function(a){function b(b){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=a.extend({},this.constructor.defaults),this.option(b)}if(b.defaults={albumLabel:"Image %1 of %2",alwaysShowNavOnTouchDevices:!1,fadeDuration:500,fitImagesInViewport:!0,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1,disableScrolling:!1},b.prototype.option=function(b){a.extend(this.options,b)},b.prototype.imageCountLabel=function(a,b){return this.options.albumLabel.replace(/%1/g,a).replace(/%2/g,b)},b.prototype.init=function(){this.enable(),this.build()},b.prototype.enable=function(){var b=this;a("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(c){return b.start(a(c.currentTarget)),!1})},b.prototype.build=function(){var b=this;a('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo(a("body")),this.$lightbox=a("#lightbox"),this.$overlay=a("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",function(){return b.end(),!1}),this.$lightbox.hide().on("click",function(c){return"lightbox"===a(c.target).attr("id")&&b.end(),!1}),this.$outerContainer.on("click",function(c){return"lightbox"===a(c.target).attr("id")&&b.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===b.currentImageIndex?b.changeImage(b.album.length-1):b.changeImage(b.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return b.currentImageIndex===b.album.length-1?b.changeImage(0):b.changeImage(b.currentImageIndex+1),!1}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return b.end(),!1})},b.prototype.start=function(b){function c(a){d.album.push({link:a.attr("href"),title:a.attr("data-title")||a.attr("title")})}var d=this,e=a(window);e.on("resize",a.proxy(this.sizeOverlay,this)),a("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var f,g=0,h=b.attr("data-lightbox");if(h){f=a(b.prop("tagName")+'[data-lightbox="'+h+'"]');for(var i=0;i<f.length;i=++i)c(a(f[i])),f[i]===b[0]&&(g=i)}else if("lightbox"===b.attr("rel"))c(b);else{f=a(b.prop("tagName")+'[rel="'+b.attr("rel")+'"]');for(var j=0;j<f.length;j=++j)c(a(f[j])),f[j]===b[0]&&(g=j)}var k=e.scrollTop()+this.options.positionFromTop,l=e.scrollLeft();this.$lightbox.css({top:k+"px",left:l+"px"}).fadeIn(this.options.fadeDuration),this.options.disableScrolling&&a("body").addClass("lb-disable-scrolling"),this.changeImage(g)},b.prototype.changeImage=function(b){var c=this;this.disableKeyboardNav();var d=this.$lightbox.find(".lb-image");this.$overlay.fadeIn(this.options.fadeDuration),a(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating");var e=new Image;e.onload=function(){var f,g,h,i,j,k,l;d.attr("src",c.album[b].link),f=a(e),d.width(e.width),d.height(e.height),c.options.fitImagesInViewport&&(l=a(window).width(),k=a(window).height(),j=l-c.containerLeftPadding-c.containerRightPadding-20,i=k-c.containerTopPadding-c.containerBottomPadding-120,c.options.maxWidth&&c.options.maxWidth<j&&(j=c.options.maxWidth),c.options.maxHeight&&c.options.maxHeight<j&&(i=c.options.maxHeight),(e.width>j||e.height>i)&&(e.width/j>e.height/i?(h=j,g=parseInt(e.height/(e.width/h),10),d.width(h),d.height(g)):(g=i,h=parseInt(e.width/(e.height/g),10),d.width(h),d.height(g)))),c.sizeContainer(d.width(),d.height())},e.src=this.album[b].link,this.currentImageIndex=b},b.prototype.sizeOverlay=function(){this.$overlay.width(a(document).width()).height(a(document).height())},b.prototype.sizeContainer=function(a,b){function c(){d.$lightbox.find(".lb-dataContainer").width(g),d.$lightbox.find(".lb-prevLink").height(h),d.$lightbox.find(".lb-nextLink").height(h),d.showImage()}var d=this,e=this.$outerContainer.outerWidth(),f=this.$outerContainer.outerHeight(),g=a+this.containerLeftPadding+this.containerRightPadding,h=b+this.containerTopPadding+this.containerBottomPadding;e!==g||f!==h?this.$outerContainer.animate({width:g,height:h},this.options.resizeDuration,"swing",function(){c()}):c()},b.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},b.prototype.updateNav=function(){var a=!1;try{document.createEvent("TouchEvent"),a=!!this.options.alwaysShowNavOnTouchDevices}catch(b){}this.$lightbox.find(".lb-nav").show(),this.album.length>1&&(this.options.wrapAround?(a&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(this.currentImageIndex>0&&(this.$lightbox.find(".lb-prev").show(),a&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),a&&this.$lightbox.find(".lb-next").css("opacity","1"))))},b.prototype.updateDetails=function(){var b=this;if("undefined"!=typeof this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title&&this.$lightbox.find(".lb-caption").html(this.album[this.currentImageIndex].title).fadeIn("fast").find("a").on("click",function(b){void 0!==a(this).attr("target")?window.open(a(this).attr("href"),a(this).attr("target")):location.href=a(this).attr("href")}),this.album.length>1&&this.options.showImageNumberLabel){var c=this.imageCountLabel(this.currentImageIndex+1,this.album.length);this.$lightbox.find(".lb-number").text(c).fadeIn("fast")}else this.$lightbox.find(".lb-number").hide();this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return b.sizeOverlay()})},b.prototype.preloadNeighboringImages=function(){if(this.album.length>this.currentImageIndex+1){var a=new Image;a.src=this.album[this.currentImageIndex+1].link}if(this.currentImageIndex>0){var b=new Image;b.src=this.album[this.currentImageIndex-1].link}},b.prototype.enableKeyboardNav=function(){a(document).on("keyup.keyboard",a.proxy(this.keyboardAction,this))},b.prototype.disableKeyboardNav=function(){a(document).off(".keyboard")},b.prototype.keyboardAction=function(a){var b=27,c=37,d=39,e=a.keyCode,f=String.fromCharCode(e).toLowerCase();e===b||f.match(/x|o|c/)?this.end():"p"===f||e===c?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1):"n"!==f&&e!==d||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0))},b.prototype.end=function(){this.disableKeyboardNav(),a(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),a("select, object, embed").css({visibility:"visible"}),this.options.disableScrolling&&a("body").removeClass("lb-disable-scrolling")},"undefined"==typeof WEF_LB)new b;else{for(var c in WEF_LB)WEF_LB.hasOwnProperty(c)&&("false"==WEF_LB[c]&&(WEF_LB[c]=!1),"true"==WEF_LB[c]&&(WEF_LB[c]=!0));new b(WEF_LB)}});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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.5.2
7
- Stable tag: 2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -36,10 +36,14 @@ Copy the facebook url on a single line or use the WordPress native [embed] short
36
 
37
  You should see the embed right on the editor, try switching from text to visual if it does not.
38
 
39
- Alternatively you can use the [facebook] shortcode.
40
 
41
  Read more about the shortcodes on [this](http://www.wpembedfb.com/shortcode-attributes-and-examples/) page.
42
 
 
 
 
 
43
  = Premium extension =
44
  * Embed full event shortcode
45
  * Embed full fan page shortcode
@@ -64,7 +68,15 @@ Read more about the shortcodes on [this](http://www.wpembedfb.com/shortcode-attr
64
 
65
  = How can I change the way an embed looks? =
66
 
67
- You can override the embed template with a custom one on your theme read more about it here
 
 
 
 
 
 
 
 
68
 
69
  = Is there a way to embed an album with more than 100 photos ? =
70
 
@@ -92,16 +104,22 @@ This can only be achieved using the premium version
92
 
93
  == Changelog ==
94
 
 
 
 
 
 
 
95
  = 2.1 =
96
- * Removed all options and moved them to a single one 'wpemfb_options'
97
- * Removed resize cover javascript it is now done with css
98
- * Fixed timezone bug custom post and events
99
  * Added option to only load scripts when an embed is present
100
  * Added option to reset all options
101
  * Added Jetpack Photon compatibility
102
  * Added X Theme compatibility
103
  * Added lightbox.sass for theme developers
104
- * Updated Lightbox script and style
105
  * Added Lightbox Option Album Label
106
  * Added Lightbox Option Always Show Nav On Touch Devices
107
  * Added Lightbox Option Show Image Number Label
@@ -116,19 +134,19 @@ This can only be achieved using the premium version
116
  * Changed css on classic theme
117
 
118
  = 2.0.9.1 =
119
- * Fixed Admin notice bug
120
  * Lightbox css improved
121
- * Fixed cover css
122
 
123
  = 2.0.9 =
124
- * Fixed css on footer when using different themes
125
- * Updated all.js to sdk.js (bryant1410)
126
  * Optimization for sites with no Facebook App
127
  * Added error messages for special cases
128
  * Added advanced option for selecting Facebook SDK version
129
- * Fixed locale error inside editor
130
- * Fixed link underline in some themes
131
- * Fixed several css and html structure nothing critical
132
 
133
 
134
  = 2.0.8 =
@@ -149,20 +167,20 @@ This can only be achieved using the premium version
149
  * Improved [embed] shortcode compatibility !
150
  * Added new 'photos' attribute for shortcode used only on albums
151
  * Added 'type' parameter to wpemfb_template filter
152
- * Fixed https on all templates
153
- * Fixed like and comment links on single post raw
154
- * Fixed forced app token only if it has app
155
- * Fixed admin shortcode references
156
- * Fixed removed unused options on uninstall
157
- * Fixed translations strings
158
- * Fixed notice on installations with no FB App
159
 
160
  = 2.0.4 =
161
  * changed shortcode tag from [facebook=url] to [facebook url]
162
  * force app access token
163
 
164
  = 2.0.3 =
165
- * Fixed notice on pages and events with no cover
166
  * Moved admin scripts to footer
167
 
168
  = 2.0.2 =
@@ -172,61 +190,61 @@ This can only be achieved using the premium version
172
  * More human friendly
173
 
174
  = 2.0.1 =
175
- * Fixed message on photo single post
176
 
177
  = 2.0 =
178
- * Fixed language issue when embedding social plugins in admin
179
- * Fixed time on events
180
- * Update Facebook API to 2.4
181
  * Added a new parameters for shortcode 'social_plugin' and 'theme'
182
- * Fixed shortcode use [facebook FB_Object_ID ]
183
  * Improved CSS and themes
184
  * New Embed Post Raw
185
 
186
  = 1.9.6.7 =
187
- * Fixed delete of options on uninstall
188
 
189
  = 1.9.6.6 =
190
- * Fixed Embed Video Error
191
- * Fixed like and follow button html
192
 
193
  = 1.9.6.5 =
194
- * Fixed more things on multisite
195
- * Fixed Page Template HTML
196
 
197
  = 1.9.6.4 =
198
- * Fixed translation files
199
- * Fixed bug on event template
200
 
201
  = 1.9.6.3 =
202
- * Fixed MultiSite error
203
  * New Shortcode use [facebook FB_Object_ID ] solution for fb permalinks
204
- * Fixed raw attribute on shortcode when url is video
205
 
206
  = 1.9.6.2 =
207
  * Local Release
208
 
209
  = 1.9.6.1 =
210
- * Fixed headers already sent notice.
211
  * Added Links to Facebook Apps and plugin settings
212
- * Removed deprecated is_date_only field on event template
213
 
214
  = 1.9.6 =
215
  * Fix Fatal Error on non object
216
 
217
  = 1.9.5 =
218
- * Fixed event templates
219
- * Fixed album thumbnails
220
- * Fixed jQuery UI error when admin is in https
221
 
222
  = 1.9.4 =
223
  * Added option to embed raw videos with facebook code
224
  * Added poster on raw embed videos
225
- * Update to FB API v2.3
226
- * Update raw photo template
227
 
228
  = 1.9.3 =
229
- * Fixed error on older versions of PHP
230
 
231
  = 1.9.2 =
232
  * Line breaks fix
@@ -250,7 +268,7 @@ This can only be achieved using the premium version
250
 
251
  = 1.8.1 =
252
  * Fix: Warning on Dashboard
253
- * Update: Readme.txt
254
 
255
  = 1.8 =
256
  * Compatibility with twenty 15 theme
@@ -258,7 +276,7 @@ This can only be achieved using the premium version
258
  * Compatibility with premium plugin
259
 
260
  = 1.7.1 =
261
- * Documentation Update
262
  * New advanced option
263
 
264
  = 1.7 =
@@ -308,7 +326,7 @@ This can only be achieved using the premium version
308
  * Bugs and documentation
309
 
310
  = 1.2.1 =
311
- * Updated Instructions
312
  * Change theme template directory
313
 
314
  = 1.2 =
@@ -327,5 +345,5 @@ This can only be achieved using the premium version
327
 
328
  == Upgrade Notice ==
329
 
330
- = 2.1 =
331
- 2.1 version is a lot faster and provides full compatibility with Jetpack Photon and some premium "drag and drop" themes all options have been moved to a single one 'wpemfb_options' and new features where added: Enqueue styles and scripts only when an embed is present, 11 Lightbox options like 'Disable Scrolling' 'Loop though Album' etc. Cover resize now done with css
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.5.2
7
+ Stable tag: 2.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
36
 
37
  You should see the embed right on the editor, try switching from text to visual if it does not.
38
 
39
+ Alternatively you can use the [facebook url] shortcode.
40
 
41
  Read more about the shortcodes on [this](http://www.wpembedfb.com/shortcode-attributes-and-examples/) page.
42
 
43
+ = Contributing =
44
+ If you found a bug or want to add an extra feature create a pull request on https://github.com/sigami/wp-embed-facebook
45
+
46
+
47
  = Premium extension =
48
  * Embed full event shortcode
49
  * Embed full fan page shortcode
68
 
69
  = How can I change the way an embed looks? =
70
 
71
+ You can override the embed template with a custom one. More information on http://wpembedfb.com/documentation/
72
+
73
+ = How can I make my page load faster ? =
74
+
75
+ Use any kind of page cache. W3 Total Cache or WP Super Cache
76
+
77
+ = I cannot embed my photo stream =
78
+
79
+ This plugin only works for embedding **albums**. The premium version will allow you embed all. (Feature available mid July 2016)
80
 
81
  = Is there a way to embed an album with more than 100 photos ? =
82
 
104
 
105
  == Changelog ==
106
 
107
+ = 2.1.0 =
108
+ * Fixed: [facebook object_id] shortcode
109
+ * Fixed: error for uls something-3423223
110
+ * Added: Github release https://github.com/sigami/wp-embed-facebook
111
+ * Added: Extra FAQ
112
+
113
  = 2.1 =
114
+ * Removed: all options and moved them to a single one 'wpemfb_options'
115
+ * Removed: resize cover javascript it is now done with css
116
+ * Fixed: timezone bug custom post and events
117
  * Added option to only load scripts when an embed is present
118
  * Added option to reset all options
119
  * Added Jetpack Photon compatibility
120
  * Added X Theme compatibility
121
  * Added lightbox.sass for theme developers
122
+ * Changed: d Lightbox script and style
123
  * Added Lightbox Option Album Label
124
  * Added Lightbox Option Always Show Nav On Touch Devices
125
  * Added Lightbox Option Show Image Number Label
134
  * Changed css on classic theme
135
 
136
  = 2.0.9.1 =
137
+ * Fixed: Admin notice bug
138
  * Lightbox css improved
139
+ * Fixed: cover css
140
 
141
  = 2.0.9 =
142
+ * Fixed: css on footer when using different themes
143
+ * Changed: d all.js to sdk.js (bryant1410)
144
  * Optimization for sites with no Facebook App
145
  * Added error messages for special cases
146
  * Added advanced option for selecting Facebook SDK version
147
+ * Fixed: locale error inside editor
148
+ * Fixed: link underline in some themes
149
+ * Fixed: several css and html structure nothing critical
150
 
151
 
152
  = 2.0.8 =
167
  * Improved [embed] shortcode compatibility !
168
  * Added new 'photos' attribute for shortcode used only on albums
169
  * Added 'type' parameter to wpemfb_template filter
170
+ * Fixed: https on all templates
171
+ * Fixed: like and comment links on single post raw
172
+ * Fixed: forced app token only if it has app
173
+ * Fixed: admin shortcode references
174
+ * Fixed: removed unused options on uninstall
175
+ * Fixed: translations strings
176
+ * Fixed: notice on installations with no FB App
177
 
178
  = 2.0.4 =
179
  * changed shortcode tag from [facebook=url] to [facebook url]
180
  * force app access token
181
 
182
  = 2.0.3 =
183
+ * Fixed: notice on pages and events with no cover
184
  * Moved admin scripts to footer
185
 
186
  = 2.0.2 =
190
  * More human friendly
191
 
192
  = 2.0.1 =
193
+ * Fixed: message on photo single post
194
 
195
  = 2.0 =
196
+ * Fixed: language issue when embedding social plugins in admin
197
+ * Fixed: time on events
198
+ * Changed: Facebook API to 2.4
199
  * Added a new parameters for shortcode 'social_plugin' and 'theme'
200
+ * Fixed: shortcode use [facebook FB_Object_ID ]
201
  * Improved CSS and themes
202
  * New Embed Post Raw
203
 
204
  = 1.9.6.7 =
205
+ * Fixed: delete of options on uninstall
206
 
207
  = 1.9.6.6 =
208
+ * Fixed: Embed Video Error
209
+ * Fixed: like and follow button html
210
 
211
  = 1.9.6.5 =
212
+ * Fixed: more things on multisite
213
+ * Fixed: Page Template HTML
214
 
215
  = 1.9.6.4 =
216
+ * Fixed: translation files
217
+ * Fixed: bug on event template
218
 
219
  = 1.9.6.3 =
220
+ * Fixed: MultiSite error
221
  * New Shortcode use [facebook FB_Object_ID ] solution for fb permalinks
222
+ * Fixed: raw attribute on shortcode when url is video
223
 
224
  = 1.9.6.2 =
225
  * Local Release
226
 
227
  = 1.9.6.1 =
228
+ * Fixed: headers already sent notice.
229
  * Added Links to Facebook Apps and plugin settings
230
+ * Removed: deprecated is_date_only field on event template
231
 
232
  = 1.9.6 =
233
  * Fix Fatal Error on non object
234
 
235
  = 1.9.5 =
236
+ * Fixed: event templates
237
+ * Fixed: album thumbnails
238
+ * Fixed: jQuery UI error when admin is in https
239
 
240
  = 1.9.4 =
241
  * Added option to embed raw videos with facebook code
242
  * Added poster on raw embed videos
243
+ * Changed: to FB API v2.3
244
+ * Changed: raw photo template
245
 
246
  = 1.9.3 =
247
+ * Fixed: error on older versions of PHP
248
 
249
  = 1.9.2 =
250
  * Line breaks fix
268
 
269
  = 1.8.1 =
270
  * Fix: Warning on Dashboard
271
+ * Changed: : Readme.txt
272
 
273
  = 1.8 =
274
  * Compatibility with twenty 15 theme
276
  * Compatibility with premium plugin
277
 
278
  = 1.7.1 =
279
+ * Documentation Changed:
280
  * New advanced option
281
 
282
  = 1.7 =
326
  * Bugs and documentation
327
 
328
  = 1.2.1 =
329
+ * Changed: d Instructions
330
  * Change theme template directory
331
 
332
  = 1.2 =
345
 
346
  == Upgrade Notice ==
347
 
348
+ = 2.1.0 =
349
+ Fixes: error for uls something-3423223, [facebook object_id] shortcode
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, profile, or post. Copy the facebook url to a single line on your post, or use shortcode [facebook url ] more information at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</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, profile, or post. Copy the facebook url to a single line on your post, or use shortcode [facebook url ] more information at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
6
  Author: Miguel Sirvent
7
+ Version: 2.1.0
8
  Author URI: http://www.wpembedfb.com
9
  Text Domain: wp-embed-facebook
10
  Domain Path: /lang