Page Builder by SiteOrigin - Version 2.11.7

Version Description

  • 07 December 2020 =
  • SEO: Generated preview_url before preview_content. Resolves Live Editor preview issue when a post loop is present in the page.
Download this release

Release Info

Developer SiteOrigin
Plugin Icon 128x128 Page Builder by SiteOrigin
Version 2.11.7
Comparing to
See all releases

Code changes from version 2.11.6 to 2.11.7

inc/admin.php CHANGED
@@ -198,6 +198,8 @@ class SiteOrigin_Panels_Admin {
198
  */
199
  function render_meta_boxes( $post ) {
200
  $panels_data = $this->get_current_admin_panels_data();
 
 
201
  include plugin_dir_path( __FILE__ ) . '../tpl/metabox-panels.php';
202
  }
203
 
198
  */
199
  function render_meta_boxes( $post ) {
200
  $panels_data = $this->get_current_admin_panels_data();
201
+ $preview_url = SiteOrigin_Panels::preview_url();
202
+ $preview_content = $this->generate_panels_preview( $post->ID, $panels_data );
203
  include plugin_dir_path( __FILE__ ) . '../tpl/metabox-panels.php';
204
  }
205
 
lang/siteorigin-panels.pot CHANGED
@@ -157,367 +157,367 @@ msgstr ""
157
  msgid "Addons"
158
  msgstr ""
159
 
160
- #: inc/admin.php:179, inc/admin.php:592, inc/admin.php:1253, inc/admin.php:1258, inc/settings.php:202, tpl/js-templates.php:197
161
  msgid "Page Builder"
162
  msgstr ""
163
 
164
- #: inc/admin.php:332
165
  msgid "All Widgets"
166
  msgstr ""
167
 
168
- #: inc/admin.php:359
169
  msgid "Missing Widget"
170
  msgstr ""
171
 
172
- #: inc/admin.php:360
173
  msgid "Page Builder doesn't know about this widget."
174
  msgstr ""
175
 
176
  #. translators: Number of seconds since
177
- #: inc/admin.php:364
178
  msgid "%d seconds"
179
  msgstr ""
180
 
181
  #. translators: Number of minutes since
182
- #: inc/admin.php:366
183
  msgid "%d minutes"
184
  msgstr ""
185
 
186
  #. translators: Number of hours since
187
- #: inc/admin.php:368
188
  msgid "%d hours"
189
  msgstr ""
190
 
191
  #. translators: A single second since
192
- #: inc/admin.php:371
193
  msgid "%d second"
194
  msgstr ""
195
 
196
  #. translators: A single minute since
197
- #: inc/admin.php:373
198
  msgid "%d minute"
199
  msgstr ""
200
 
201
  #. translators: A single hour since
202
- #: inc/admin.php:375
203
  msgid "%d hour"
204
  msgstr ""
205
 
206
  #. translators: Time ago - eg. "1 minute before".
207
- #: inc/admin.php:378
208
  msgid "%s before"
209
  msgstr ""
210
 
211
- #: inc/admin.php:379
212
  msgid "Now"
213
  msgstr ""
214
 
215
- #: inc/admin.php:383
216
  msgid "Current"
217
  msgstr ""
218
 
219
- #: inc/admin.php:384
220
  msgid "Original"
221
  msgstr ""
222
 
223
- #: inc/admin.php:385
224
  msgid "Version restored"
225
  msgstr ""
226
 
227
- #: inc/admin.php:386
228
  msgid "Converted to editor"
229
  msgstr ""
230
 
231
  #. translators: Message displayed in the history when a widget is deleted
232
- #: inc/admin.php:390
233
  msgid "Widget deleted"
234
  msgstr ""
235
 
236
  #. translators: Message displayed in the history when a widget is added
237
- #: inc/admin.php:392
238
  msgid "Widget added"
239
  msgstr ""
240
 
241
  #. translators: Message displayed in the history when a widget is edited
242
- #: inc/admin.php:394
243
  msgid "Widget edited"
244
  msgstr ""
245
 
246
  #. translators: Message displayed in the history when a widget is duplicated
247
- #: inc/admin.php:396
248
  msgid "Widget duplicated"
249
  msgstr ""
250
 
251
  #. translators: Message displayed in the history when a widget position is changed
252
- #: inc/admin.php:398
253
  msgid "Widget moved"
254
  msgstr ""
255
 
256
  #. translators: Message displayed in the history when a row is deleted
257
- #: inc/admin.php:402
258
  msgid "Row deleted"
259
  msgstr ""
260
 
261
  #. translators: Message displayed in the history when a row is added
262
- #: inc/admin.php:404
263
  msgid "Row added"
264
  msgstr ""
265
 
266
  #. translators: Message displayed in the history when a row is edited
267
- #: inc/admin.php:406
268
  msgid "Row edited"
269
  msgstr ""
270
 
271
  #. translators: Message displayed in the history when a row position is changed
272
- #: inc/admin.php:408
273
  msgid "Row moved"
274
  msgstr ""
275
 
276
  #. translators: Message displayed in the history when a row is duplicated
277
- #: inc/admin.php:410
278
  msgid "Row duplicated"
279
  msgstr ""
280
 
281
  #. translators: Message displayed in the history when a row is pasted
282
- #: inc/admin.php:412
283
  msgid "Row pasted"
284
  msgstr ""
285
 
286
- #: inc/admin.php:415
287
  msgid "Cell resized"
288
  msgstr ""
289
 
290
- #: inc/admin.php:418
291
  msgid "Prebuilt layout loaded"
292
  msgstr ""
293
 
294
- #: inc/admin.php:422
295
  msgid "Loading prebuilt layout"
296
  msgstr ""
297
 
298
- #: inc/admin.php:423
299
  msgid "Would you like to copy this editor's existing content to Page Builder?"
300
  msgstr ""
301
 
302
- #: inc/admin.php:424
303
  msgid "Would you like to clear your Page Builder content and revert to using the standard visual editor?"
304
  msgstr ""
305
 
306
  #. translators: This is the title for a widget called "Layout Builder"
307
- #: inc/admin.php:426
308
  msgid "Layout Builder Widget"
309
  msgstr ""
310
 
311
  #. translators: A standard confirmation message
312
- #: inc/admin.php:428, tpl/js-templates.php:97, tpl/js-templates.php:422
313
  msgid "Are you sure?"
314
  msgstr ""
315
 
316
  #. translators: When a layout file is ready to be inserted. %s is the filename.
317
- #: inc/admin.php:430
318
  msgid "%s is ready to insert."
319
  msgstr ""
320
 
321
- #: inc/admin.php:434
322
  msgid "Add Widget Below"
323
  msgstr ""
324
 
325
- #: inc/admin.php:435
326
  msgid "Add Widget to Cell"
327
  msgstr ""
328
 
329
- #: inc/admin.php:436, tpl/js-templates.php:224
330
  msgid "Search Widgets"
331
  msgstr ""
332
 
333
- #: inc/admin.php:438, tpl/js-templates.php:17, tpl/js-templates.php:19
334
  msgid "Add Row"
335
  msgstr ""
336
 
337
- #: inc/admin.php:439
338
  msgid "Column"
339
  msgstr ""
340
 
341
- #: inc/admin.php:441
342
  msgid "Cell Actions"
343
  msgstr ""
344
 
345
- #: inc/admin.php:442
346
  msgid "Paste Widget"
347
  msgstr ""
348
 
349
- #: inc/admin.php:444
350
  msgid "Widget Actions"
351
  msgstr ""
352
 
353
- #: inc/admin.php:445
354
  msgid "Edit Widget"
355
  msgstr ""
356
 
357
- #: inc/admin.php:446
358
  msgid "Duplicate Widget"
359
  msgstr ""
360
 
361
- #: inc/admin.php:447
362
  msgid "Delete Widget"
363
  msgstr ""
364
 
365
- #: inc/admin.php:448
366
  msgid "Copy Widget"
367
  msgstr ""
368
 
369
- #: inc/admin.php:449
370
  msgid "Paste Widget Below"
371
  msgstr ""
372
 
373
- #: inc/admin.php:451
374
  msgid "Row Actions"
375
  msgstr ""
376
 
377
- #: inc/admin.php:452, tpl/js-templates.php:95
378
  msgid "Edit Row"
379
  msgstr ""
380
 
381
- #: inc/admin.php:453, tpl/js-templates.php:96
382
  msgid "Duplicate Row"
383
  msgstr ""
384
 
385
- #: inc/admin.php:454, tpl/js-templates.php:97
386
  msgid "Delete Row"
387
  msgstr ""
388
 
389
- #: inc/admin.php:455
390
  msgid "Copy Row"
391
  msgstr ""
392
 
393
- #: inc/admin.php:456
394
  msgid "Paste Row"
395
  msgstr ""
396
 
397
- #: inc/admin.php:458
398
  msgid "Draft"
399
  msgstr ""
400
 
401
- #: inc/admin.php:459
402
  msgid "Untitled"
403
  msgstr ""
404
 
405
- #: inc/admin.php:461
406
  msgid "New Row"
407
  msgstr ""
408
 
409
- #: inc/admin.php:462, inc/admin.php:470, inc/styles.php:193, tpl/js-templates.php:62
410
  msgid "Row"
411
  msgstr ""
412
 
413
- #: inc/admin.php:465
414
  msgid "Hmmm... Adding layout elements is not enabled. Please check if Page Builder has been configured to allow adding elements."
415
  msgstr ""
416
 
417
- #: inc/admin.php:466
418
  msgid "Add a {{%= items[0] %}} to get started."
419
  msgstr ""
420
 
421
- #: inc/admin.php:467
422
  msgid "Add a {{%= items[0] %}} or {{%= items[1] %}} to get started."
423
  msgstr ""
424
 
425
- #: inc/admin.php:468
426
  msgid "Add a {{%= items[0] %}}, {{%= items[1] %}} or {{%= items[2] %}} to get started."
427
  msgstr ""
428
 
429
- #: inc/admin.php:469, inc/styles.php:345, tpl/js-templates.php:61
430
  msgid "Widget"
431
  msgstr ""
432
 
433
- #: inc/admin.php:471, tpl/js-templates.php:63
434
  msgid "Prebuilt Layout"
435
  msgstr ""
436
 
437
- #: inc/admin.php:473
438
  msgid "Read our %s if you need help."
439
  msgstr ""
440
 
441
- #: inc/admin.php:474, tpl/js-templates.php:64
442
  msgid "documentation"
443
  msgstr ""
444
 
445
- #: inc/admin.php:483
446
  msgid "Page Builder layouts"
447
  msgstr ""
448
 
449
- #: inc/admin.php:484
450
  msgid "Error uploading or importing file."
451
  msgstr ""
452
 
453
- #: inc/admin.php:491
454
  msgid "Unknown error. Failed to load the form. Please check your internet connection, contact your web site administrator, or try again later."
455
  msgstr ""
456
 
457
  #. translators: This is the default name given to a user's home page
458
- #: inc/admin.php:675, inc/home.php:26
459
  msgid "Home Page"
460
  msgstr ""
461
 
462
- #: inc/admin.php:776
463
  msgid "Untitled Widget"
464
  msgstr ""
465
 
466
- #: inc/admin.php:956
467
  msgid "You need to install 1{%1$s} to use the widget 2{%2$s}."
468
  msgstr ""
469
 
470
- #: inc/admin.php:962
471
  msgid "Save and reload this page to start using the widget after you've installed it."
472
  msgstr ""
473
 
474
- #: inc/admin.php:978
475
  msgid "The widget 1{%1$s} is not available. Please try locate and install the missing plugin. Post on the 2{support forums} if you need help."
476
  msgstr ""
477
 
478
- #: inc/admin.php:1156, inc/styles-admin.php:23
479
  msgid "The supplied nonce is invalid."
480
  msgstr ""
481
 
482
- #: inc/admin.php:1157, inc/styles-admin.php:24
483
  msgid "Invalid nonce."
484
  msgstr ""
485
 
486
- #: inc/admin.php:1163
487
  msgid "Please specify the type of widget form to be rendered."
488
  msgstr ""
489
 
490
- #: inc/admin.php:1164
491
  msgid "Missing widget type."
492
  msgstr ""
493
 
494
- #: inc/admin.php:1271
495
  msgid "%s Widget"
496
  msgid_plural "%s Widgets"
497
  msgstr[0] ""
498
  msgstr[1] ""
499
 
500
- #: inc/admin.php:1314
501
  msgid "Get a lightbox addon for SiteOrigin widgets"
502
  msgstr ""
503
 
504
- #: inc/admin.php:1318
505
  msgid "Get the row, cell and widget animations addon"
506
  msgstr ""
507
 
508
- #: inc/admin.php:1322
509
  msgid "Get premium email support for SiteOrigin Page Builder"
510
  msgstr ""
511
 
512
- #: inc/admin.php:1507
513
  msgid "Toggle editor selection menu"
514
  msgstr ""
515
 
516
- #: inc/admin.php:1508, inc/admin.php:1555, inc/settings.php:202, settings/tpl/settings.php:9
517
  msgid "SiteOrigin Page Builder"
518
  msgstr ""
519
 
520
- #: inc/admin.php:1509
521
  msgid "Block Editor"
522
  msgstr ""
523
 
157
  msgid "Addons"
158
  msgstr ""
159
 
160
+ #: inc/admin.php:179, inc/admin.php:594, inc/admin.php:1255, inc/admin.php:1260, inc/settings.php:202, tpl/js-templates.php:197
161
  msgid "Page Builder"
162
  msgstr ""
163
 
164
+ #: inc/admin.php:334
165
  msgid "All Widgets"
166
  msgstr ""
167
 
168
+ #: inc/admin.php:361
169
  msgid "Missing Widget"
170
  msgstr ""
171
 
172
+ #: inc/admin.php:362
173
  msgid "Page Builder doesn't know about this widget."
174
  msgstr ""
175
 
176
  #. translators: Number of seconds since
177
+ #: inc/admin.php:366
178
  msgid "%d seconds"
179
  msgstr ""
180
 
181
  #. translators: Number of minutes since
182
+ #: inc/admin.php:368
183
  msgid "%d minutes"
184
  msgstr ""
185
 
186
  #. translators: Number of hours since
187
+ #: inc/admin.php:370
188
  msgid "%d hours"
189
  msgstr ""
190
 
191
  #. translators: A single second since
192
+ #: inc/admin.php:373
193
  msgid "%d second"
194
  msgstr ""
195
 
196
  #. translators: A single minute since
197
+ #: inc/admin.php:375
198
  msgid "%d minute"
199
  msgstr ""
200
 
201
  #. translators: A single hour since
202
+ #: inc/admin.php:377
203
  msgid "%d hour"
204
  msgstr ""
205
 
206
  #. translators: Time ago - eg. "1 minute before".
207
+ #: inc/admin.php:380
208
  msgid "%s before"
209
  msgstr ""
210
 
211
+ #: inc/admin.php:381
212
  msgid "Now"
213
  msgstr ""
214
 
215
+ #: inc/admin.php:385
216
  msgid "Current"
217
  msgstr ""
218
 
219
+ #: inc/admin.php:386
220
  msgid "Original"
221
  msgstr ""
222
 
223
+ #: inc/admin.php:387
224
  msgid "Version restored"
225
  msgstr ""
226
 
227
+ #: inc/admin.php:388
228
  msgid "Converted to editor"
229
  msgstr ""
230
 
231
  #. translators: Message displayed in the history when a widget is deleted
232
+ #: inc/admin.php:392
233
  msgid "Widget deleted"
234
  msgstr ""
235
 
236
  #. translators: Message displayed in the history when a widget is added
237
+ #: inc/admin.php:394
238
  msgid "Widget added"
239
  msgstr ""
240
 
241
  #. translators: Message displayed in the history when a widget is edited
242
+ #: inc/admin.php:396
243
  msgid "Widget edited"
244
  msgstr ""
245
 
246
  #. translators: Message displayed in the history when a widget is duplicated
247
+ #: inc/admin.php:398
248
  msgid "Widget duplicated"
249
  msgstr ""
250
 
251
  #. translators: Message displayed in the history when a widget position is changed
252
+ #: inc/admin.php:400
253
  msgid "Widget moved"
254
  msgstr ""
255
 
256
  #. translators: Message displayed in the history when a row is deleted
257
+ #: inc/admin.php:404
258
  msgid "Row deleted"
259
  msgstr ""
260
 
261
  #. translators: Message displayed in the history when a row is added
262
+ #: inc/admin.php:406
263
  msgid "Row added"
264
  msgstr ""
265
 
266
  #. translators: Message displayed in the history when a row is edited
267
+ #: inc/admin.php:408
268
  msgid "Row edited"
269
  msgstr ""
270
 
271
  #. translators: Message displayed in the history when a row position is changed
272
+ #: inc/admin.php:410
273
  msgid "Row moved"
274
  msgstr ""
275
 
276
  #. translators: Message displayed in the history when a row is duplicated
277
+ #: inc/admin.php:412
278
  msgid "Row duplicated"
279
  msgstr ""
280
 
281
  #. translators: Message displayed in the history when a row is pasted
282
+ #: inc/admin.php:414
283
  msgid "Row pasted"
284
  msgstr ""
285
 
286
+ #: inc/admin.php:417
287
  msgid "Cell resized"
288
  msgstr ""
289
 
290
+ #: inc/admin.php:420
291
  msgid "Prebuilt layout loaded"
292
  msgstr ""
293
 
294
+ #: inc/admin.php:424
295
  msgid "Loading prebuilt layout"
296
  msgstr ""
297
 
298
+ #: inc/admin.php:425
299
  msgid "Would you like to copy this editor's existing content to Page Builder?"
300
  msgstr ""
301
 
302
+ #: inc/admin.php:426
303
  msgid "Would you like to clear your Page Builder content and revert to using the standard visual editor?"
304
  msgstr ""
305
 
306
  #. translators: This is the title for a widget called "Layout Builder"
307
+ #: inc/admin.php:428
308
  msgid "Layout Builder Widget"
309
  msgstr ""
310
 
311
  #. translators: A standard confirmation message
312
+ #: inc/admin.php:430, tpl/js-templates.php:97, tpl/js-templates.php:422
313
  msgid "Are you sure?"
314
  msgstr ""
315
 
316
  #. translators: When a layout file is ready to be inserted. %s is the filename.
317
+ #: inc/admin.php:432
318
  msgid "%s is ready to insert."
319
  msgstr ""
320
 
321
+ #: inc/admin.php:436
322
  msgid "Add Widget Below"
323
  msgstr ""
324
 
325
+ #: inc/admin.php:437
326
  msgid "Add Widget to Cell"
327
  msgstr ""
328
 
329
+ #: inc/admin.php:438, tpl/js-templates.php:224
330
  msgid "Search Widgets"
331
  msgstr ""
332
 
333
+ #: inc/admin.php:440, tpl/js-templates.php:17, tpl/js-templates.php:19
334
  msgid "Add Row"
335
  msgstr ""
336
 
337
+ #: inc/admin.php:441
338
  msgid "Column"
339
  msgstr ""
340
 
341
+ #: inc/admin.php:443
342
  msgid "Cell Actions"
343
  msgstr ""
344
 
345
+ #: inc/admin.php:444
346
  msgid "Paste Widget"
347
  msgstr ""
348
 
349
+ #: inc/admin.php:446
350
  msgid "Widget Actions"
351
  msgstr ""
352
 
353
+ #: inc/admin.php:447
354
  msgid "Edit Widget"
355
  msgstr ""
356
 
357
+ #: inc/admin.php:448
358
  msgid "Duplicate Widget"
359
  msgstr ""
360
 
361
+ #: inc/admin.php:449
362
  msgid "Delete Widget"
363
  msgstr ""
364
 
365
+ #: inc/admin.php:450
366
  msgid "Copy Widget"
367
  msgstr ""
368
 
369
+ #: inc/admin.php:451
370
  msgid "Paste Widget Below"
371
  msgstr ""
372
 
373
+ #: inc/admin.php:453
374
  msgid "Row Actions"
375
  msgstr ""
376
 
377
+ #: inc/admin.php:454, tpl/js-templates.php:95
378
  msgid "Edit Row"
379
  msgstr ""
380
 
381
+ #: inc/admin.php:455, tpl/js-templates.php:96
382
  msgid "Duplicate Row"
383
  msgstr ""
384
 
385
+ #: inc/admin.php:456, tpl/js-templates.php:97
386
  msgid "Delete Row"
387
  msgstr ""
388
 
389
+ #: inc/admin.php:457
390
  msgid "Copy Row"
391
  msgstr ""
392
 
393
+ #: inc/admin.php:458
394
  msgid "Paste Row"
395
  msgstr ""
396
 
397
+ #: inc/admin.php:460
398
  msgid "Draft"
399
  msgstr ""
400
 
401
+ #: inc/admin.php:461
402
  msgid "Untitled"
403
  msgstr ""
404
 
405
+ #: inc/admin.php:463
406
  msgid "New Row"
407
  msgstr ""
408
 
409
+ #: inc/admin.php:464, inc/admin.php:472, inc/styles.php:193, tpl/js-templates.php:62
410
  msgid "Row"
411
  msgstr ""
412
 
413
+ #: inc/admin.php:467
414
  msgid "Hmmm... Adding layout elements is not enabled. Please check if Page Builder has been configured to allow adding elements."
415
  msgstr ""
416
 
417
+ #: inc/admin.php:468
418
  msgid "Add a {{%= items[0] %}} to get started."
419
  msgstr ""
420
 
421
+ #: inc/admin.php:469
422
  msgid "Add a {{%= items[0] %}} or {{%= items[1] %}} to get started."
423
  msgstr ""
424
 
425
+ #: inc/admin.php:470
426
  msgid "Add a {{%= items[0] %}}, {{%= items[1] %}} or {{%= items[2] %}} to get started."
427
  msgstr ""
428
 
429
+ #: inc/admin.php:471, inc/styles.php:345, tpl/js-templates.php:61
430
  msgid "Widget"
431
  msgstr ""
432
 
433
+ #: inc/admin.php:473, tpl/js-templates.php:63
434
  msgid "Prebuilt Layout"
435
  msgstr ""
436
 
437
+ #: inc/admin.php:475
438
  msgid "Read our %s if you need help."
439
  msgstr ""
440
 
441
+ #: inc/admin.php:476, tpl/js-templates.php:64
442
  msgid "documentation"
443
  msgstr ""
444
 
445
+ #: inc/admin.php:485
446
  msgid "Page Builder layouts"
447
  msgstr ""
448
 
449
+ #: inc/admin.php:486
450
  msgid "Error uploading or importing file."
451
  msgstr ""
452
 
453
+ #: inc/admin.php:493
454
  msgid "Unknown error. Failed to load the form. Please check your internet connection, contact your web site administrator, or try again later."
455
  msgstr ""
456
 
457
  #. translators: This is the default name given to a user's home page
458
+ #: inc/admin.php:677, inc/home.php:26
459
  msgid "Home Page"
460
  msgstr ""
461
 
462
+ #: inc/admin.php:778
463
  msgid "Untitled Widget"
464
  msgstr ""
465
 
466
+ #: inc/admin.php:958
467
  msgid "You need to install 1{%1$s} to use the widget 2{%2$s}."
468
  msgstr ""
469
 
470
+ #: inc/admin.php:964
471
  msgid "Save and reload this page to start using the widget after you've installed it."
472
  msgstr ""
473
 
474
+ #: inc/admin.php:980
475
  msgid "The widget 1{%1$s} is not available. Please try locate and install the missing plugin. Post on the 2{support forums} if you need help."
476
  msgstr ""
477
 
478
+ #: inc/admin.php:1158, inc/styles-admin.php:23
479
  msgid "The supplied nonce is invalid."
480
  msgstr ""
481
 
482
+ #: inc/admin.php:1159, inc/styles-admin.php:24
483
  msgid "Invalid nonce."
484
  msgstr ""
485
 
486
+ #: inc/admin.php:1165
487
  msgid "Please specify the type of widget form to be rendered."
488
  msgstr ""
489
 
490
+ #: inc/admin.php:1166
491
  msgid "Missing widget type."
492
  msgstr ""
493
 
494
+ #: inc/admin.php:1273
495
  msgid "%s Widget"
496
  msgid_plural "%s Widgets"
497
  msgstr[0] ""
498
  msgstr[1] ""
499
 
500
+ #: inc/admin.php:1316
501
  msgid "Get a lightbox addon for SiteOrigin widgets"
502
  msgstr ""
503
 
504
+ #: inc/admin.php:1320
505
  msgid "Get the row, cell and widget animations addon"
506
  msgstr ""
507
 
508
+ #: inc/admin.php:1324
509
  msgid "Get premium email support for SiteOrigin Page Builder"
510
  msgstr ""
511
 
512
+ #: inc/admin.php:1509
513
  msgid "Toggle editor selection menu"
514
  msgstr ""
515
 
516
+ #: inc/admin.php:1510, inc/admin.php:1557, inc/settings.php:202, settings/tpl/settings.php:9
517
  msgid "SiteOrigin Page Builder"
518
  msgstr ""
519
 
520
+ #: inc/admin.php:1511
521
  msgid "Block Editor"
522
  msgstr ""
523
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery,
3
  Requires at least: 4.7
4
  Tested up to: 5.5
5
  Requires PHP: 5.6.20
6
- Stable tag: 2.11.6
7
- Build time: 2020-12-01T20:33:35+02:00
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
  Donate link: https://siteorigin.com/downloads/premium/
@@ -97,6 +97,9 @@ We've tried to ensure that Page Builder is compatible with most plugin widgets.
97
 
98
  == Changelog ==
99
 
 
 
 
100
  = 2.11.6 - 01 December 2020 =
101
  * New: `Page Builder Layout CSS Output Location` setting that controls where PB outputs its CSS. Located at `Settings > Page Builder > Layout`.
102
  * SEO: Improved content analysis process for slower servers and connections.
3
  Requires at least: 4.7
4
  Tested up to: 5.5
5
  Requires PHP: 5.6.20
6
+ Stable tag: 2.11.7
7
+ Build time: 2020-12-07T15:12:01+02:00
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
  Donate link: https://siteorigin.com/downloads/premium/
97
 
98
  == Changelog ==
99
 
100
+ = 2.11.7 - 07 December 2020 =
101
+ * SEO: Generated `preview_url` before `preview_content`. Resolves Live Editor preview issue when a post loop is present in the page.
102
+
103
  = 2.11.6 - 01 December 2020 =
104
  * New: `Page Builder Layout CSS Output Location` setting that controls where PB outputs its CSS. Located at `Settings > Page Builder > Layout`.
105
  * SEO: Improved content analysis process for slower servers and connections.
siteorigin-panels.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Page Builder by SiteOrigin
4
  Plugin URI: https://siteorigin.com/page-builder/
5
  Description: A drag and drop, responsive page builder that simplifies building your website.
6
- Version: 2.11.6
7
  Author: SiteOrigin
8
  Author URI: https://siteorigin.com
9
  License: GPL3
@@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
11
  Donate link: http://siteorigin.com/page-builder/#donate
12
  */
13
 
14
- define( 'SITEORIGIN_PANELS_VERSION', '2.11.6' );
15
  if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
16
  define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
17
  }
3
  Plugin Name: Page Builder by SiteOrigin
4
  Plugin URI: https://siteorigin.com/page-builder/
5
  Description: A drag and drop, responsive page builder that simplifies building your website.
6
+ Version: 2.11.7
7
  Author: SiteOrigin
8
  Author URI: https://siteorigin.com
9
  License: GPL3
11
  Donate link: http://siteorigin.com/page-builder/#donate
12
  */
13
 
14
+ define( 'SITEORIGIN_PANELS_VERSION', '2.11.7' );
15
  if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
16
  define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
17
  }
tpl/metabox-panels.php CHANGED
@@ -3,13 +3,12 @@ global $post;
3
  $builder_id = uniqid();
4
  $builder_type = apply_filters( 'siteorigin_panels_post_builder_type', 'editor_attached', $post, $panels_data );
5
  $builder_supports = apply_filters( 'siteorigin_panels_builder_supports', array(), $post, $panels_data );
6
- $preview = SiteOrigin_Panels_Admin::single()->generate_panels_preview( $post->ID, $panels_data );
7
  ?>
8
 
9
  <div id="siteorigin-panels-metabox"
10
  data-builder-type="<?php echo esc_attr( $builder_type ) ?>"
11
- data-preview-url="<?php echo SiteOrigin_Panels::preview_url() ?>"
12
- data-preview-markup="<?php echo esc_attr( json_encode( $preview ) ); ?>"
13
  data-builder-supports="<?php echo esc_attr( json_encode( $builder_supports ) ) ?>"
14
  <?php if( !empty( $_GET['so_live_editor'] ) ) echo 'data-live-editor="1"' ?>
15
  >
3
  $builder_id = uniqid();
4
  $builder_type = apply_filters( 'siteorigin_panels_post_builder_type', 'editor_attached', $post, $panels_data );
5
  $builder_supports = apply_filters( 'siteorigin_panels_builder_supports', array(), $post, $panels_data );
 
6
  ?>
7
 
8
  <div id="siteorigin-panels-metabox"
9
  data-builder-type="<?php echo esc_attr( $builder_type ) ?>"
10
+ data-preview-url="<?php echo $preview_url; ?>"
11
+ data-preview-markup="<?php echo esc_attr( json_encode( $preview_content ) ); ?>"
12
  data-builder-supports="<?php echo esc_attr( json_encode( $builder_supports ) ) ?>"
13
  <?php if( !empty( $_GET['so_live_editor'] ) ) echo 'data-live-editor="1"' ?>
14
  >