WP Embed Facebook - Version 1.7.1

Version Description

  • Documentation Update
  • New advanced option
Download this release

Release Info

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

Code changes from version 1.7 to 1.7.1

lang/.pot.pot ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wp-embed-fb\n"
4
+ "POT-Creation-Date: 2014-02-26 10:48-0600\n"
5
+ "PO-Revision-Date: 2014-02-26 10:51-0600\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.6.4\n"
12
+ "X-Poedit-Basepath: .\n"
13
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
+ "Language: en_US\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
lang/wp-embed-facebook-en_US.po CHANGED
@@ -1,154 +1,223 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP Embed Facebook\n"
 
4
  "POT-Creation-Date: 2014-10-26 12:02-0600\n"
5
- "PO-Revision-Date: 2014-10-26 12:03-0600\n"
6
  "Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
7
  "Language-Team: \n"
8
- "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
12
  "X-Generator: Poedit 1.6.10\n"
 
 
 
 
13
  "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-KeywordsList: _e;_x;__\n"
16
  "X-Poedit-SearchPath-0: ..\n"
 
17
 
18
- #: ../lib/admin.php:132
 
19
  msgid "Facebook application data"
20
  msgstr ""
21
 
22
- #: ../lib/admin.php:150
 
23
  msgid "General Options"
24
  msgstr ""
25
 
26
- #: ../lib/admin.php:155
 
27
  msgid "Template to use"
28
  msgstr ""
29
 
30
- #: ../lib/admin.php:164
 
31
  msgid "Embed Max-Width"
32
  msgstr ""
33
 
34
- #: ../lib/admin.php:170
 
35
  msgid "Number of Photos <br> on Embedded Albums"
36
  msgstr ""
37
 
38
- #: ../lib/admin.php:176
 
39
  msgid "Show follow button <br>on Embedded Profiles"
40
  msgstr ""
41
 
42
- #: ../lib/admin.php:184
 
43
  msgid "Embedded Fan Pages"
44
  msgstr ""
45
 
46
- #: ../lib/admin.php:189
 
47
  msgid "Show like button"
48
  msgstr ""
49
 
50
- #: ../lib/admin.php:195
 
51
  msgid "Show latest posts"
52
  msgstr ""
53
 
54
- #: ../lib/admin.php:201
 
55
  msgid "Number of posts"
56
  msgstr ""
57
 
58
- #: ../lib/admin.php:209
 
59
  msgid "Raw Embedded Options"
60
  msgstr ""
61
 
62
- #: ../lib/admin.php:214
 
63
  msgid "Embed Videos Raw"
64
  msgstr ""
65
 
66
- #: ../lib/admin.php:215
 
67
  msgid "not mobile friendly"
68
  msgstr ""
69
 
70
- #: ../lib/admin.php:223
 
71
  msgid "Embed Photos Raw"
72
  msgstr ""
73
 
74
- #: ../lib/admin.php:241
 
75
  msgid "Advanced Options"
76
  msgstr ""
77
 
78
- #: ../lib/admin.php:246
 
79
  msgid "Enqueue Styles"
80
  msgstr ""
81
 
82
- #: ../lib/admin.php:252
 
83
  msgid "Add fb-root on top of content"
84
  msgstr ""
85
 
86
- #: ../lib/admin.php:252
 
87
  msgid "Some themes may not need this"
88
  msgstr ""
89
 
90
- #: ../lib/admin.php:258
 
91
  msgid "Enqueue Lightbox script"
92
  msgstr ""
93
 
94
- #: ../lib/admin.php:264
 
95
  msgid "Enqueue WPEmbedFB script"
96
  msgstr ""
97
 
98
- #: ../lib/admin.php:273
 
99
  msgid "Save"
100
  msgstr ""
101
 
102
- #: ../lib/admin.php:277
103
- msgid "Donate!"
 
104
  msgstr ""
105
 
106
- #: ../lib/admin.php:278
107
- msgid "Help me keep this plugin up to date"
 
 
108
  msgstr ""
109
 
110
- #: ../lib/admin.php:279
111
- msgid "Click the taco !"
 
 
112
  msgstr ""
113
 
114
- #: ../lib/admin.php:288
115
- msgid "Searching for the Premium version ?"
 
 
 
 
116
  msgstr ""
117
 
118
- #: ../lib/admin.php:291
119
- msgid "Embed Full Pages"
 
120
  msgstr ""
121
 
122
- #: ../lib/admin.php:294
123
- msgid "Embed Events with cover"
 
124
  msgstr ""
125
 
126
- #: ../lib/admin.php:297
127
- msgid "More Resposive Teplates"
 
128
  msgstr ""
129
 
130
- #: ../lib/admin.php:300
131
- msgid "Comming Soon"
 
132
  msgstr ""
133
 
134
- #: ../lib/admin.php:305
135
- msgid "Plugin Web Site"
 
136
  msgstr ""
137
 
138
- #: ../lib/core.php:321
139
- #, php-format
140
- msgid "%d people like this."
141
  msgstr ""
142
 
143
- #: ../templates/classic/event.php:33 ../templates/default/event.php:37
144
- msgid "Creator: "
 
 
145
  msgstr ""
146
 
147
- #: ../templates/default/com-page.php:25 ../templates/default/com-page.php:26
148
- #: ../templates/default/page.php:44 ../templates/default/page.php:45
149
- msgid "Web Site"
150
  msgstr ""
151
 
152
- #: ../templates/default/event.php:29
153
- msgid "@ "
 
154
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Embed Facebook v1.7.1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-10-26 12:02-0600\n"
6
+ "PO-Revision-Date: 2014-11-23 02:31:09+0000\n"
7
  "Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
8
  "Language-Team: \n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
  "X-Generator: Poedit 1.6.10\n"
14
+ "X-Poedit-Language: \n"
15
+ "X-Poedit-Country: \n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
  "X-Poedit-Basepath: .\n"
19
+ "X-Poedit-Bookmarks: \n"
 
20
  "X-Poedit-SearchPath-0: ..\n"
21
+ "X-Textdomain-Support: yes"
22
 
23
+ #: lib/admin.php:150
24
+ #@ wp-embed-facebook
25
  msgid "Facebook application data"
26
  msgstr ""
27
 
28
+ #: lib/admin.php:168
29
+ #@ wp-embed-facebook
30
  msgid "General Options"
31
  msgstr ""
32
 
33
+ #: lib/admin.php:173
34
+ #@ wp-embed-facebook
35
  msgid "Template to use"
36
  msgstr ""
37
 
38
+ #: lib/admin.php:182
39
+ #@ wp-embed-facebook
40
  msgid "Embed Max-Width"
41
  msgstr ""
42
 
43
+ #: lib/admin.php:188
44
+ #@ wp-embed-facebook
45
  msgid "Number of Photos <br> on Embedded Albums"
46
  msgstr ""
47
 
48
+ #: lib/admin.php:194
49
+ #@ wp-embed-facebook
50
  msgid "Show follow button <br>on Embedded Profiles"
51
  msgstr ""
52
 
53
+ #: lib/admin.php:202
54
+ #@ wp-embed-facebook
55
  msgid "Embedded Fan Pages"
56
  msgstr ""
57
 
58
+ #: lib/admin.php:207
59
+ #@ wp-embed-facebook
60
  msgid "Show like button"
61
  msgstr ""
62
 
63
+ #: lib/admin.php:213
64
+ #@ wp-embed-facebook
65
  msgid "Show latest posts"
66
  msgstr ""
67
 
68
+ #: lib/admin.php:219
69
+ #@ wp-embed-facebook
70
  msgid "Number of posts"
71
  msgstr ""
72
 
73
+ #: lib/admin.php:227
74
+ #@ wp-embed-facebook
75
  msgid "Raw Embedded Options"
76
  msgstr ""
77
 
78
+ #: lib/admin.php:232
79
+ #@ wp-embed-facebook
80
  msgid "Embed Videos Raw"
81
  msgstr ""
82
 
83
+ #: lib/admin.php:233
84
+ #@ wp-embed-facebook
85
  msgid "not mobile friendly"
86
  msgstr ""
87
 
88
+ #: lib/admin.php:241
89
+ #@ wp-embed-facebook
90
  msgid "Embed Photos Raw"
91
  msgstr ""
92
 
93
+ #: lib/admin.php:259
94
+ #@ wp-embed-facebook
95
  msgid "Advanced Options"
96
  msgstr ""
97
 
98
+ #: lib/admin.php:264
99
+ #@ wp-embed-facebook
100
  msgid "Enqueue Styles"
101
  msgstr ""
102
 
103
+ #: lib/admin.php:270
104
+ #@ wp-embed-facebook
105
  msgid "Add fb-root on top of content"
106
  msgstr ""
107
 
108
+ #: lib/admin.php:270
109
+ #@ wp-embed-facebook
110
  msgid "Some themes may not need this"
111
  msgstr ""
112
 
113
+ #: lib/admin.php:276
114
+ #@ wp-embed-facebook
115
  msgid "Enqueue Lightbox script"
116
  msgstr ""
117
 
118
+ #: lib/admin.php:282
119
+ #@ wp-embed-facebook
120
  msgid "Enqueue WPEmbedFB script"
121
  msgstr ""
122
 
123
+ #: lib/admin.php:297
124
+ #@ wp-embed-facebook
125
  msgid "Save"
126
  msgstr ""
127
 
128
+ #: lib/admin.php:324
129
+ #@ wp-embed-facebook
130
+ msgid "Plugin Web Site"
131
  msgstr ""
132
 
133
+ #: lib/core.php:334
134
+ #, php-format
135
+ #@ wp-embed-facebook
136
+ msgid "%d people like this."
137
  msgstr ""
138
 
139
+ #: templates/classic/event.php:33
140
+ #: templates/default/event.php:37
141
+ #@ wp-embed-facebook
142
+ msgid "Creator: "
143
  msgstr ""
144
 
145
+ #: templates/default/com-page.php:25
146
+ #: templates/default/com-page.php:26
147
+ #: templates/default/page.php:44
148
+ #: templates/default/page.php:45
149
+ #@ wp-embed-facebook
150
+ msgid "Web Site"
151
  msgstr ""
152
 
153
+ #: templates/default/event.php:29
154
+ #@ wp-embed-facebook
155
+ msgid "@ "
156
  msgstr ""
157
 
158
+ #: lib/admin.php:288
159
+ #@ wp-embed-facebook
160
+ msgid "Enqueue Facebook SDK"
161
  msgstr ""
162
 
163
+ #: lib/admin.php:309
164
+ #@ wp-embed-facebook
165
+ msgid "Events with cover"
166
  msgstr ""
167
 
168
+ #: lib/admin.php:312
169
+ #@ wp-embed-facebook
170
+ msgid "Fan Page Full Embed"
171
  msgstr ""
172
 
173
+ #: lib/admin.php:323
174
+ #@ wp-embed-facebook
175
+ msgid "More information"
176
  msgstr ""
177
 
178
+ #: lib/core.php:236
179
+ #@ wp-embed-facebook
180
+ msgid "This facebook link is not public"
181
  msgstr ""
182
 
183
+ #: templates/classic/page.php:37
184
+ #: templates/default/page.php:40
185
+ #@ wp-embed-facebook
186
+ msgid "category"
187
  msgstr ""
188
 
189
+ #: templates/default/posts.php:8
190
+ #@ wp-embed-facebook
191
+ msgid "Embedded post will show on publish"
192
  msgstr ""
193
 
194
+ #: lib/admin.php:301
195
+ #@ wp-embed-facebook
196
+ msgid "PreBuy Premium Version"
197
  msgstr ""
198
+
199
+ #: lib/admin.php:302
200
+ #@ wp-embed-facebook
201
+ msgid "Only $4.99 USD<br><small style=\"font-size: 12px\">Final Price $6.99 USD</small>"
202
+ msgstr ""
203
+
204
+ #: lib/admin.php:303
205
+ #@ wp-embed-facebook
206
+ msgid "Release January 15th, 2015"
207
+ msgstr ""
208
+
209
+ #: lib/admin.php:315
210
+ #@ wp-embed-facebook
211
+ msgid "More Responsive Templates"
212
+ msgstr ""
213
+
214
+ #: lib/admin.php:318
215
+ #@ wp-embed-facebook
216
+ msgid "One Year Premium Support"
217
+ msgstr ""
218
+
219
+ #: lib/admin.php:305
220
+ #@ wp-embed-facebook
221
+ msgid "Pre-Buy Now"
222
+ msgstr ""
223
+
lang/wp-embed-facebook-es_ES.mo CHANGED
Binary file
lang/wp-embed-facebook-es_ES.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP Embed Facebook v1.7\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-10-24 21:27:06+0000\n"
7
  "Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
8
  "Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -20,61 +20,36 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
- #: lib/admin.php:132
24
  #@ wp-embed-facebook
25
  msgid "Facebook application data"
26
  msgstr "Datos de la App de Facebook"
27
 
28
- #: lib/admin.php:241
29
  #@ wp-embed-facebook
30
  msgid "Advanced Options"
31
  msgstr "Opciones Avanzadas"
32
 
33
- #: lib/admin.php:246
34
  #@ wp-embed-facebook
35
  msgid "Enqueue Styles"
36
  msgstr "Incluir css"
37
 
38
- #: lib/admin.php:252
39
  #@ wp-embed-facebook
40
  msgid "Some themes may not need this"
41
  msgstr "Algunos themes pueden no necesitar esto"
42
 
43
- #: lib/admin.php:273
44
  #@ wp-embed-facebook
45
  msgid "Save"
46
  msgstr "Guardar"
47
 
48
- #: lib/admin.php:305
49
  #@ wp-embed-facebook
50
  msgid "Plugin Web Site"
51
  msgstr "Sitio Web del Plugin"
52
 
53
- #: lib/admin.php:277
54
- #@ wp-embed-facebook
55
- msgid "Donate!"
56
- msgstr "¡Dona!"
57
-
58
- #: lib/admin.php:278
59
- #@ wp-embed-facebook
60
- msgid "Help me keep this plugin up to date"
61
- msgstr "Ayúdame a mantener este plugin actualizado"
62
-
63
- #: lib/admin.php:279
64
- #@ wp-embed-facebook
65
- msgid "Click the taco !"
66
- msgstr "¡Click en el Taco!"
67
-
68
- #: lib/admin.php:288
69
- #@ wp-embed-facebook
70
- msgid "Searching for the Premium version ?"
71
- msgstr "¿ Buscas la versión premium ?"
72
-
73
- #: lib/admin.php:300
74
- #@ wp-embed-facebook
75
- msgid "Comming Soon"
76
- msgstr "Proximamente"
77
-
78
  #: templates/default/com-page.php:25
79
  #: templates/default/com-page.php:26
80
  #: templates/default/page.php:44
@@ -83,7 +58,7 @@ msgstr "Proximamente"
83
  msgid "Web Site"
84
  msgstr "Sitio Web"
85
 
86
- #: lib/core.php:321
87
  #, php-format
88
  #@ wp-embed-facebook
89
  msgid "%d people like this."
@@ -101,103 +76,148 @@ msgstr "Creador: "
101
  msgid "category"
102
  msgstr "categoria"
103
 
104
- #: lib/admin.php:150
105
- #@ wp-embed-Facebook
106
  msgid "General Options"
107
- msgstr ""
108
 
109
- #: lib/admin.php:155
110
  #@ wp-embed-facebook
111
  msgid "Template to use"
112
  msgstr "Template a usar"
113
 
114
- #: lib/admin.php:164
115
  #@ wp-embed-facebook
116
  msgid "Embed Max-Width"
117
  msgstr "Ancho máximo del incrustado"
118
 
119
- #: lib/admin.php:170
120
  #@ wp-embed-facebook
121
  msgid "Number of Photos <br> on Embedded Albums"
122
  msgstr "Numero de fotos <br> en Albumes Incrustados"
123
 
124
- #: lib/admin.php:176
125
  #@ wp-embed-facebook
126
  msgid "Show follow button <br>on Embedded Profiles"
127
  msgstr "Mostrar boton de segur <br>en Perfiles Incrustados"
128
 
129
- #: lib/admin.php:184
130
  #@ wp-embed-facebook
131
  msgid "Embedded Fan Pages"
132
  msgstr "Incrustación de Fan Pages"
133
 
134
- #: lib/admin.php:189
135
  #@ wp-embed-facebook
136
  msgid "Show like button"
137
  msgstr "Mostrar boton me gusta"
138
 
139
- #: lib/admin.php:195
140
  #@ wp-embed-facebook
141
  msgid "Show latest posts"
142
  msgstr "Mostrar publicaciones recientes"
143
 
144
- #: lib/admin.php:201
145
  #@ wp-embed-facebook
146
  msgid "Number of posts"
147
  msgstr "Numero de entradas"
148
 
149
- #: lib/admin.php:209
150
  #@ wp-embed-facebook
151
  msgid "Raw Embedded Options"
152
  msgstr "Opciones de incrustaciones en crudo"
153
 
154
- #: lib/admin.php:214
155
  #@ wp-embed-facebook
156
  msgid "Embed Videos Raw"
157
  msgstr "Incrustar videos en crudo"
158
 
159
- #: lib/admin.php:215
160
  #@ wp-embed-facebook
161
  msgid "not mobile friendly"
162
  msgstr "no amigable con mobiles"
163
 
164
- #: lib/admin.php:223
165
  #@ wp-embed-facebook
166
  msgid "Embed Photos Raw"
167
  msgstr "Incrustar fotos en crudo"
168
 
169
- #: lib/admin.php:252
170
  #@ wp-embed-facebook
171
  msgid "Add fb-root on top of content"
172
  msgstr "Agregar fb-root al inicio del contenido"
173
 
174
- #: lib/admin.php:258
175
  #@ wp-embed-facebook
176
  msgid "Enqueue Lightbox script"
177
  msgstr ""
178
 
179
- #: lib/admin.php:264
180
  #@ wp-embed-facebook
181
  msgid "Enqueue WPEmbedFB script"
182
  msgstr ""
183
 
184
- #: lib/admin.php:291
185
  #@ wp-embed-facebook
186
- msgid "Embed Full Pages"
187
- msgstr "Incrustado de paginas completo"
188
 
189
- #: lib/admin.php:294
190
  #@ wp-embed-facebook
191
- msgid "Embed Events with cover"
192
- msgstr "Incrustar eventos con banner"
193
 
194
- #: lib/admin.php:297
195
  #@ wp-embed-facebook
196
- msgid "More Resposive Teplates"
197
- msgstr "Más templates responsivos"
198
 
199
- #: templates/default/event.php:29
200
  #@ wp-embed-facebook
201
- msgid "@ "
202
- msgstr "en"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Embed Facebook v1.7.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2014-11-23 02:32:55+0000\n"
7
  "Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
8
  "Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
+ #: lib/admin.php:150
24
  #@ wp-embed-facebook
25
  msgid "Facebook application data"
26
  msgstr "Datos de la App de Facebook"
27
 
28
+ #: lib/admin.php:259
29
  #@ wp-embed-facebook
30
  msgid "Advanced Options"
31
  msgstr "Opciones Avanzadas"
32
 
33
+ #: lib/admin.php:264
34
  #@ wp-embed-facebook
35
  msgid "Enqueue Styles"
36
  msgstr "Incluir css"
37
 
38
+ #: lib/admin.php:270
39
  #@ wp-embed-facebook
40
  msgid "Some themes may not need this"
41
  msgstr "Algunos themes pueden no necesitar esto"
42
 
43
+ #: lib/admin.php:297
44
  #@ wp-embed-facebook
45
  msgid "Save"
46
  msgstr "Guardar"
47
 
48
+ #: lib/admin.php:324
49
  #@ wp-embed-facebook
50
  msgid "Plugin Web Site"
51
  msgstr "Sitio Web del Plugin"
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  #: templates/default/com-page.php:25
54
  #: templates/default/com-page.php:26
55
  #: templates/default/page.php:44
58
  msgid "Web Site"
59
  msgstr "Sitio Web"
60
 
61
+ #: lib/core.php:334
62
  #, php-format
63
  #@ wp-embed-facebook
64
  msgid "%d people like this."
76
  msgid "category"
77
  msgstr "categoria"
78
 
79
+ #: lib/admin.php:168
80
+ #@ wp-embed-facebook
81
  msgid "General Options"
82
+ msgstr "Opciones Generales"
83
 
84
+ #: lib/admin.php:173
85
  #@ wp-embed-facebook
86
  msgid "Template to use"
87
  msgstr "Template a usar"
88
 
89
+ #: lib/admin.php:182
90
  #@ wp-embed-facebook
91
  msgid "Embed Max-Width"
92
  msgstr "Ancho máximo del incrustado"
93
 
94
+ #: lib/admin.php:188
95
  #@ wp-embed-facebook
96
  msgid "Number of Photos <br> on Embedded Albums"
97
  msgstr "Numero de fotos <br> en Albumes Incrustados"
98
 
99
+ #: lib/admin.php:194
100
  #@ wp-embed-facebook
101
  msgid "Show follow button <br>on Embedded Profiles"
102
  msgstr "Mostrar boton de segur <br>en Perfiles Incrustados"
103
 
104
+ #: lib/admin.php:202
105
  #@ wp-embed-facebook
106
  msgid "Embedded Fan Pages"
107
  msgstr "Incrustación de Fan Pages"
108
 
109
+ #: lib/admin.php:207
110
  #@ wp-embed-facebook
111
  msgid "Show like button"
112
  msgstr "Mostrar boton me gusta"
113
 
114
+ #: lib/admin.php:213
115
  #@ wp-embed-facebook
116
  msgid "Show latest posts"
117
  msgstr "Mostrar publicaciones recientes"
118
 
119
+ #: lib/admin.php:219
120
  #@ wp-embed-facebook
121
  msgid "Number of posts"
122
  msgstr "Numero de entradas"
123
 
124
+ #: lib/admin.php:227
125
  #@ wp-embed-facebook
126
  msgid "Raw Embedded Options"
127
  msgstr "Opciones de incrustaciones en crudo"
128
 
129
+ #: lib/admin.php:232
130
  #@ wp-embed-facebook
131
  msgid "Embed Videos Raw"
132
  msgstr "Incrustar videos en crudo"
133
 
134
+ #: lib/admin.php:233
135
  #@ wp-embed-facebook
136
  msgid "not mobile friendly"
137
  msgstr "no amigable con mobiles"
138
 
139
+ #: lib/admin.php:241
140
  #@ wp-embed-facebook
141
  msgid "Embed Photos Raw"
142
  msgstr "Incrustar fotos en crudo"
143
 
144
+ #: lib/admin.php:270
145
  #@ wp-embed-facebook
146
  msgid "Add fb-root on top of content"
147
  msgstr "Agregar fb-root al inicio del contenido"
148
 
149
+ #: lib/admin.php:276
150
  #@ wp-embed-facebook
151
  msgid "Enqueue Lightbox script"
152
  msgstr ""
153
 
154
+ #: lib/admin.php:282
155
  #@ wp-embed-facebook
156
  msgid "Enqueue WPEmbedFB script"
157
  msgstr ""
158
 
159
+ #: templates/default/event.php:29
160
  #@ wp-embed-facebook
161
+ msgid "@ "
162
+ msgstr "en "
163
 
164
+ #: lib/admin.php:288
165
  #@ wp-embed-facebook
166
+ msgid "Enqueue Facebook SDK"
167
+ msgstr ""
168
 
169
+ #: lib/admin.php:309
170
  #@ wp-embed-facebook
171
+ msgid "Events with cover"
172
+ msgstr "Eventos con portada"
173
 
174
+ #: lib/admin.php:312
175
  #@ wp-embed-facebook
176
+ msgid "Fan Page Full Embed"
177
+ msgstr "Incrustado completo de Fan Page"
178
+
179
+ #: lib/admin.php:323
180
+ #@ wp-embed-facebook
181
+ msgid "More information"
182
+ msgstr "Más información"
183
+
184
+ #: lib/core.php:236
185
+ #@ wp-embed-facebook
186
+ msgid "This facebook link is not public"
187
+ msgstr "Este link de facebook no es publico"
188
+
189
+ #: templates/default/posts.php:8
190
+ #@ wp-embed-facebook
191
+ msgid "Embedded post will show on publish"
192
+ msgstr "Incrustado aparecerá al publicar"
193
+
194
+ #: lib/admin.php:301
195
+ #@ wp-embed-facebook
196
+ msgid "PreBuy Premium Version"
197
+ msgstr "Pre-Compra la Versión Premium"
198
+
199
+ #: lib/admin.php:302
200
+ #@ wp-embed-facebook
201
+ msgid "Only $4.99 USD<br><small style=\"font-size: 12px\">Final Price $6.99 USD</small>"
202
+ msgstr "Solo $4.99 USD<br><small style=\"font-size: 12px\">Precio Final $6.99 USD</small>"
203
+
204
+ #: lib/admin.php:303
205
+ #@ wp-embed-facebook
206
+ msgid "Release January 15th, 2015"
207
+ msgstr "Disponible el 15 de Enero 2015"
208
+
209
+ #: lib/admin.php:315
210
+ #@ wp-embed-facebook
211
+ msgid "More Responsive Templates"
212
+ msgstr "Más Templates Responsivos"
213
+
214
+ #: lib/admin.php:318
215
+ #@ wp-embed-facebook
216
+ msgid "One Year Premium Support"
217
+ msgstr "Un año de soporte premium"
218
+
219
+ #: lib/admin.php:305
220
+ #@ wp-embed-facebook
221
+ msgid "Pre-Buy Now"
222
+ msgstr "Pre-Compra Ahora"
223
 
lib/admin.php CHANGED
@@ -4,7 +4,7 @@ class EmbFbAdmin{
4
  static function admin_enqueue_scripts($hook_suffix){
5
  if($hook_suffix == 'settings_page_embedfacebook'){
6
  global $wp_scripts;
7
- wp_enqueue_script('wpemfb-admin', WP_PLUGIN_URL."/".WPEMFBSLUG.'/lib/admin.js',array('jquery-ui-accordion'));
8
  $queryui = $wp_scripts->query('jquery-ui-core');
9
  $url = "http://ajax.googleapis.com/ajax/libs/jqueryui/".$queryui->ver."/themes/smoothness/jquery-ui.css";
10
  wp_enqueue_style('jquery-ui-start', $url, false, null);
@@ -88,6 +88,11 @@ class EmbFbAdmin{
88
  update_option('wpemfb_enq_wpemfb', 'true');
89
  }else{
90
  update_option('wpemfb_enq_wpemfb', 'false');
 
 
 
 
 
91
  }
92
  }
93
  }
@@ -106,6 +111,7 @@ class EmbFbAdmin{
106
  $checked8 = (get_option('wpemfb_raw_post') === 'true') ? 'checked' : '' ;
107
  $checked9 = (get_option('wpemfb_enq_lightbox') === 'true') ? 'checked' : '' ;
108
  $checked10 = (get_option('wpemfb_enq_wpemfb') === 'true') ? 'checked' : '' ;
 
109
  $sel1 = (get_option('wpemfb_theme') === 'default') ? 'selected' : '' ;
110
  $sel2 = (get_option('wpemfb_theme') === 'classic') ? 'selected' : '' ;
111
  ?>
@@ -159,7 +165,7 @@ class EmbFbAdmin{
159
  </tr>
160
  </table>
161
  </div>
162
- <h5><?php _e('General Options','wp-embed-Facebook') ?></h5>
163
  <div>
164
  <table>
165
  <tbody>
@@ -278,6 +284,12 @@ class EmbFbAdmin{
278
  <input type="checkbox" name="wpemfb_enq_wpemfb" <?php echo $checked10 ?> />
279
  </td>
280
  </tr>
 
 
 
 
 
 
281
  </tbody>
282
  </table>
283
  </div>
@@ -286,34 +298,29 @@ class EmbFbAdmin{
286
  </form>
287
  </div>
288
  <div class="welcome-panel-column welcome-panel-last" >
289
- <h3 style="color:#CF1912;"><?php _e('Donate!', 'wp-embed-facebook') ?></h3>
290
- <p><?php _e('Help me keep this plugin up to date', 'wp-embed-facebook') ?></p>
291
- <p><strong><?php _e('Click the taco !', 'wp-embed-facebook') ?></strong></p>
292
- <p>
293
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=J373TWCMJ5CEY&lc=MX&item_name=WP%20Embed%20Facebook&no_note=1&no_shipping=1&rm=1&return=http%3a%2f%2fwww%2ewpembedfb%2ecom%2fyou%2dare%2dawesome&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted">
294
- <img src="<?php echo plugins_url('/img/taco.png', __FILE__) ?>" >
295
- </a>
296
- </p>
297
- <img src="<?php echo plugins_url('/img/paypal.png', __FILE__) ?>" width="50px" />
298
- <hr>
299
- <p>
300
- <h3 style="color:#CF1912;"><?php _e('Searching for the Premium version ?', 'wp-embed-facebook') ?></h3>
301
  <ul>
302
  <li>
303
- <?php _e('Embed Full Pages', 'wp-embed-facebook') ?>
304
  </li>
305
  <li>
306
- <?php _e('Embed Events with cover', 'wp-embed-facebook') ?>
307
  </li>
308
  <li>
309
- <?php _e('More Resposive Teplates', 'wp-embed-facebook') ?>
310
- </li>
311
- </ul>
312
- <h3 style="color:#23487F; text-align:center;"><?php _e('Comming Soon', 'wp-embed-facebook') ?></h3>
313
- </p>
314
- <hr>
 
315
  <p>
316
- <small>More information</small><br>
317
  <a href="http://www.wpembedfb.com" style="color:#23487F;"><?php _e('Plugin Web Site','wp-embed-facebook') ?></a>
318
  </p>
319
  <hr>
4
  static function admin_enqueue_scripts($hook_suffix){
5
  if($hook_suffix == 'settings_page_embedfacebook'){
6
  global $wp_scripts;
7
+ wp_enqueue_script('wpemfb-admin', WP_PLUGIN_URL."/".WPEMFBSLUG.'/lib/js/admin.js',array('jquery-ui-accordion'));
8
  $queryui = $wp_scripts->query('jquery-ui-core');
9
  $url = "http://ajax.googleapis.com/ajax/libs/jqueryui/".$queryui->ver."/themes/smoothness/jquery-ui.css";
10
  wp_enqueue_style('jquery-ui-start', $url, false, null);
88
  update_option('wpemfb_enq_wpemfb', 'true');
89
  }else{
90
  update_option('wpemfb_enq_wpemfb', 'false');
91
+ }
92
+ if(isset($_POST['wpemfb_enq_fbjs'])){
93
+ update_option('wpemfb_enq_fbjs', 'true');
94
+ }else{
95
+ update_option('wpemfb_enq_fbjs', 'false');
96
  }
97
  }
98
  }
111
  $checked8 = (get_option('wpemfb_raw_post') === 'true') ? 'checked' : '' ;
112
  $checked9 = (get_option('wpemfb_enq_lightbox') === 'true') ? 'checked' : '' ;
113
  $checked10 = (get_option('wpemfb_enq_wpemfb') === 'true') ? 'checked' : '' ;
114
+ $checked11 = (get_option('wpemfb_enq_fbjs') === 'true') ? 'checked' : '' ;
115
  $sel1 = (get_option('wpemfb_theme') === 'default') ? 'selected' : '' ;
116
  $sel2 = (get_option('wpemfb_theme') === 'classic') ? 'selected' : '' ;
117
  ?>
165
  </tr>
166
  </table>
167
  </div>
168
+ <h5><?php _e('General Options','wp-embed-facebook') ?></h5>
169
  <div>
170
  <table>
171
  <tbody>
284
  <input type="checkbox" name="wpemfb_enq_wpemfb" <?php echo $checked10 ?> />
285
  </td>
286
  </tr>
287
+ <tr valign="middle">
288
+ <th><?php _e('Enqueue Facebook SDK','wp-embed-facebook') ?><br></th>
289
+ <td>
290
+ <input type="checkbox" name="wpemfb_enq_fbjs" <?php echo $checked11 ?> />
291
+ </td>
292
+ </tr>
293
  </tbody>
294
  </table>
295
  </div>
298
  </form>
299
  </div>
300
  <div class="welcome-panel-column welcome-panel-last" >
301
+ <h3><?php _e( 'PreBuy Premium Version', 'wp-embed-facebook') ?></h3>
302
+ <h2><?php _e( 'Only $4.99 USD<br><small style="font-size: 12px">Final Price $6.99 USD</small>', 'wp-embed-facebook') ?></h2>
303
+ <h3><?php _e( 'Release January 15th, 2015', 'wp-embed-facebook') ?></h3>
304
+ <br>
305
+ <a class="button button-primary" href="http://www.wpembedfb.com/register"><?php _e('Pre-Buy Now', 'wp-embed-facebook') ?></a>
306
+ <br>
 
 
 
 
 
 
307
  <ul>
308
  <li>
309
+ <?php _e('Events with cover', 'wp-embed-facebook') ?>
310
  </li>
311
  <li>
312
+ <?php _e('Fan Page Full Embed', 'wp-embed-facebook') ?>
313
  </li>
314
  <li>
315
+ <?php _e('More Responsive Templates', 'wp-embed-facebook') ?>
316
+ </li>
317
+ <li>
318
+ <?php _e('One Year Premium Support', 'wp-embed-facebook') ?>
319
+ </li>
320
+ </ul>
321
+ <hr>
322
  <p>
323
+ <small><?php _e( 'More information', 'wp-embed-facebook') ?></small><br>
324
  <a href="http://www.wpembedfb.com" style="color:#23487F;"><?php _e('Plugin Web Site','wp-embed-facebook') ?></a>
325
  </p>
326
  <hr>
lib/core.php CHANGED
@@ -70,8 +70,9 @@ class WP_Embed_FB {
70
  'wpemfb_raw_video' => 'false',
71
  'wpemfb_raw_photo' => 'false',
72
  'wpemfb_raw_post' => 'false',
73
- 'wpemfb_enq_lightbox' =>'true',
74
- 'wpemfb_enq_wpemfb' =>'true',
 
75
  );
76
  }
77
  protected static function whois($install = 'install'){
@@ -108,12 +109,19 @@ class WP_Embed_FB {
108
  if(get_option('wpemfb_enq_wpemfb') == 'true'){
109
  wp_enqueue_script(
110
  'wpemfb',
111
- plugins_url('/'.WPEMFBSLUG.'/lib/wpembedfb.js'),
112
  array( 'jquery' )
113
  );
114
- $translation_array = array( 'local' => get_locale(), 'fb_id'=>get_option('wpemfb_app_id'), 'fb_root'=>get_option('wpemfb_fb_root') );
115
- wp_localize_script( 'wpemfb', 'WEF', $translation_array );
116
  }
 
 
 
 
 
 
 
 
 
117
  }
118
  static function tiny_mce_before_init(){
119
  wp_register_style( 'wpemfb-style', plugins_url('/'.WPEMFBSLUG.'/templates/'.$theme.'/wpemfb.css'));
@@ -371,6 +379,11 @@ class WP_Embed_FB {
371
  self::$fbsdk = FaceInit::$fbsdk;
372
  return self::fb_embed($match);
373
  }
 
 
 
 
 
374
  }
375
 
376
  /*
70
  'wpemfb_raw_video' => 'false',
71
  'wpemfb_raw_photo' => 'false',
72
  'wpemfb_raw_post' => 'false',
73
+ 'wpemfb_enq_lightbox' => 'true',
74
+ 'wpemfb_enq_wpemfb' => 'true',
75
+ 'wpemfb_enq_fbjs' => 'true'
76
  );
77
  }
78
  protected static function whois($install = 'install'){
109
  if(get_option('wpemfb_enq_wpemfb') == 'true'){
110
  wp_enqueue_script(
111
  'wpemfb',
112
+ plugins_url('/'.WPEMFBSLUG.'/lib/js/wpembedfb.js'),
113
  array( 'jquery' )
114
  );
 
 
115
  }
116
+ if(get_option('wpemfb_enq_fbjs') == 'true'){
117
+ wp_enqueue_script(
118
+ 'wpemfbjs',
119
+ plugins_url('/'.WPEMFBSLUG.'/lib/js/fb.js'),
120
+ array( 'jquery' )
121
+ );
122
+ $translation_array = array( 'local' => get_locale(), 'fb_id'=>get_option('wpemfb_app_id') );
123
+ wp_localize_script( 'wpemfbjs', 'WEF', $translation_array );
124
+ }
125
  }
126
  static function tiny_mce_before_init(){
127
  wp_register_style( 'wpemfb-style', plugins_url('/'.WPEMFBSLUG.'/templates/'.$theme.'/wpemfb.css'));
379
  self::$fbsdk = FaceInit::$fbsdk;
380
  return self::fb_embed($match);
381
  }
382
+ static function fb_root($ct){
383
+ $root = '<div id="fb-root"></div>';
384
+ $root .= "\n";
385
+ return $root.$ct;
386
+ }
387
  }
388
 
389
  /*
lib/{admin.js → js/admin.js} RENAMED
File without changes
lib/{wpembedfb.js → js/fb.js} RENAMED
@@ -1,5 +1,3 @@
1
- window.onresize = resize_cover;
2
-
3
  jQuery(document).ready(function() {
4
  jQuery.ajaxSetup({ cache: true });
5
  var script_name = '//connect.facebook.net/'+ WEF.local +'/all.js';
@@ -13,14 +11,4 @@ jQuery(document).ready(function() {
13
  });
14
  });
15
  }
16
- //responsive things
17
- resize_cover();
18
- var width = jQuery(".wpemfb-border").outerWidth();
19
- jQuery(".fb-post").attr("data-width",width+"px");
20
  });
21
-
22
- function resize_cover(){
23
- var width = jQuery(".wpemfb-cover").width();
24
- var height = 0.36867 * width;
25
- jQuery(".wpemfb-cover").height(height);
26
- }
 
 
1
  jQuery(document).ready(function() {
2
  jQuery.ajaxSetup({ cache: true });
3
  var script_name = '//connect.facebook.net/'+ WEF.local +'/all.js';
11
  });
12
  });
13
  }
 
 
 
 
14
  });
 
 
 
 
 
 
lib/js/wpembedfb.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.onresize = resize_cover;
2
+
3
+ jQuery(document).ready(function() {
4
+ resize_cover();
5
+ var width = jQuery(".wpemfb-border").outerWidth();
6
+ jQuery(".fb-post").attr("data-width",width+"px");
7
+ });
8
+
9
+ function resize_cover(){
10
+ var width = jQuery(".wpemfb-cover").width();
11
+ var height = 0.36867 * width;
12
+ jQuery(".wpemfb-cover").height(height);
13
+ }
lib/lightbox2/js/lightbox.min.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"lightbox.min.js","sources":["lightbox.js"],"names":["$","jQuery","LightboxOptions","this","fadeDuration","fitImagesInViewport","resizeDuration","positionFromTop","showImageNumberLabel","alwaysShowNavOnTouchDevices","wrapAround","prototype","albumLabel","curImageNum","albumSize","Lightbox","options","album","currentImageIndex","init","enable","build","self","on","event","start","currentTarget","appendTo","$lightbox","$overlay","$outerContainer","find","$container","containerTopPadding","parseInt","css","containerRightPadding","containerBottomPadding","containerLeftPadding","hide","end","target","attr","changeImage","length","$link","addToAlbum","push","link","title","$window","window","proxy","sizeOverlay","visibility","$links","imageNumber","dataLightboxValue","prop","i","j","top","scrollTop","left","scrollLeft","fadeIn","disableKeyboardNav","$image","addClass","preloader","Image","onload","$preloader","imageHeight","imageWidth","maxImageHeight","maxImageWidth","windowHeight","windowWidth","width","height","sizeContainer","src","document","postResize","newWidth","newHeight","showImage","oldWidth","outerWidth","oldHeight","outerHeight","animate","updateNav","updateDetails","preloadNeighboringImages","enableKeyboardNav","alwaysShowNav","createEvent","e","show","html","location","href","text","removeClass","preloadNext","preloadPrev","keyboardAction","off","KEYCODE_ESC","KEYCODE_LEFTARROW","KEYCODE_RIGHTARROW","keycode","keyCode","key","String","fromCharCode","toLowerCase","match","fadeOut","call"],"mappings":";;;;;;;;CASA,WAEE,GAAIA,GAAIC,OAEJC,EAAkB,WACpB,QAASA,KACPC,KAAKC,aAA8B,IACnCD,KAAKE,qBAA8B,EACnCF,KAAKG,eAA8B,IACnCH,KAAKI,gBAA8B,GACnC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IgB,GAAW,GAAId,EACJ,IAAIa,GAASC,QAG7ByG,KAAKtH"}
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Embed Facebook ===
2
  Contributors: poxtron
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2NUWW3CZVWDQW
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.0
7
- Stable tag: 1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ Embed a Facebook video, page, event, album, photo, profile or post to any Wordpr
12
 
13
  == Description ==
14
 
15
- With this plugin you can embed any public facebook video, page, post, profile, photo or event directly into a wordpress post, without having to write a single line of code. Simply put the facebook url on a separate line on the content of any post, and this plugin will try to fetch data associated with that url and display it on publishing, if the data is not public, like “invite only” events or private profiles, it'll return a link.
16
 
17
  = Supported Embeds =
18
  * Facebook Videos
@@ -45,7 +45,7 @@ width and raw are optional, raw only works for videos and photos
45
 
46
  **[Demo](http://www.wpembedfb.com/demo/)**
47
 
48
- * The information that shown on your post, is from facebook directly, no images or data are stored on your server.
49
 
50
  = On the next version =
51
  * Embed Post Raw
@@ -60,16 +60,25 @@ width and raw are optional, raw only works for videos and photos
60
  1. Copy on a single line any facebook url.
61
  1. Enjoy and tell someone !
62
 
63
- == Customization ==
64
-
65
- 1. Copy the contents of `wp-embed-facebook/templates/default/` to `your-theme/plugins/wp-embed-facebook`
66
- 1. Untick "Enqueue Styles" option to use your own css.
67
- 1. Access all facebook data retrieved from the url using `print_r($fb_data)` on any template file.
68
- 1. Use WP_Embed_FB::like_btn($fb_id,$likes=null,$share=false,$faces=false) to personalize like button.
69
- 1. Click the taco ! ;)
 
 
 
 
 
70
 
71
  == Changelog ==
72
 
 
 
 
 
73
  = 1.7 =
74
  * Better detection of video urls
75
  * FB js now loaded via jquery
@@ -133,3 +142,9 @@ width and raw are optional, raw only works for videos and photos
133
 
134
  = 1.0 =
135
  * Making the plugin.
 
 
 
 
 
 
1
  === WP Embed Facebook ===
2
  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.0.1
7
+ Stable tag: 1.7.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ Embed any public facebook video, page, post, profile, photo or event directly into a wordpress post, without having to write a single line of code. Simply put the facebook url on a separate line on the content of any post, and this plugin will fetch data associated with that url and display it, if the data is not public, like “invite only” events or private profiles, will return a link.
16
 
17
  = Supported Embeds =
18
  * Facebook Videos
45
 
46
  **[Demo](http://www.wpembedfb.com/demo/)**
47
 
48
+ * The information that is shown on your post, is from facebook directly, no images or data are stored on your server.
49
 
50
  = On the next version =
51
  * Embed Post Raw
60
  1. Copy on a single line any facebook url.
61
  1. Enjoy and tell someone !
62
 
63
+ == Frequently Asked Questions ==
64
+
65
+ = I can only see "Embedded post will show on publish" =
66
+
67
+ It is posible that another plugin or your theme already has the Facebook SDK for javascript, you can disable the enqueue of the script on the advanced options
68
+
69
+ == Screenshots ==
70
+
71
+ 1. Fan Page Embed
72
+ 2. Album
73
+ 3. Profile
74
+ 4. Event
75
 
76
  == Changelog ==
77
 
78
+ = 1.7.1 =
79
+ * Documentation Update
80
+ * New advanced option
81
+
82
  = 1.7 =
83
  * Better detection of video urls
84
  * FB js now loaded via jquery
142
 
143
  = 1.0 =
144
  * Making the plugin.
145
+
146
+ == Upgrade Notice ==
147
+
148
+ = 1.7.1 =
149
+ Documentation Update & New advanced option
150
+
wp-embed-fb.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Embed Facebook
4
  Plugin URI: http://www.wpembedfb.com
5
  Description: Embed a Facebook video, photo, album, event, page, profile, or post. Copy any facebook url to a single line on your post, or use shortcode [facebook='url' width='' ] more info at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
6
  Author: Miguel Sirvent
7
- Version: 1.7
8
  Author URI: http://profiles.wordpress.org/poxtron/
9
  */
10
 
@@ -28,8 +28,10 @@ add_filter('the_content', array('WP_Embed_FB','the_content'),10,2);
28
  add_shortcode('facebook', array('WP_Embed_FB','shortcode') );
29
 
30
  //optional filter to content anonymous function
31
- if( get_option('wpemfb_fb_root') === 'true' )
32
- add_filter('the_content', function($ct){ return '<div id="fb-root"></div>'.PHP_EOL.$ct; },10,1);
 
 
33
  // wp-admin functions
34
 
35
  if(is_admin()){
4
  Plugin URI: http://www.wpembedfb.com
5
  Description: Embed a Facebook video, photo, album, event, page, profile, or post. Copy any facebook url to a single line on your post, or use shortcode [facebook='url' width='' ] more info at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
6
  Author: Miguel Sirvent
7
+ Version: 1.7.1
8
  Author URI: http://profiles.wordpress.org/poxtron/
9
  */
10
 
28
  add_shortcode('facebook', array('WP_Embed_FB','shortcode') );
29
 
30
  //optional filter to content anonymous function
31
+ if( get_option('wpemfb_fb_root') === 'true' ){
32
+ add_filter('the_content', array('WP_Embed_FB','fb_root'),10,1);
33
+ }
34
+
35
  // wp-admin functions
36
 
37
  if(is_admin()){