Version Description
- 07 February 2022 =
- Added Yoast Video SEO plugin integration.
- Restored content analysis functionality for newer Yoast SEO versions.
Download this release
Release Info
Developer | SiteOrigin |
Plugin | Page Builder by SiteOrigin |
Version | 2.16.2 |
Comparing to | |
See all releases |
Code changes from version 2.16.1 to 2.16.2
- compat/yoast.php +70 -47
- inc/admin.php +3 -2
- lang/siteorigin-panels.pot +44 -44
- readme.txt +6 -2
- siteorigin-panels.php +7 -4
compat/yoast.php
CHANGED
@@ -1,64 +1,87 @@
|
|
1 |
<?php
|
2 |
-
/**
|
3 |
-
* If Yoast OpenGraph is enabled, we'll need disable PB when it gets the excerpt
|
4 |
-
* to avoid conflicts with other plugins.
|
5 |
-
*
|
6 |
-
*/
|
7 |
-
function siteorigin_yoast_opengraph_panels_disable( $content ) {
|
8 |
-
global $wp_current_filter;
|
9 |
-
if ( count( $wp_current_filter ) > 2 && $wp_current_filter[1] == 'wpseo_head' ) {
|
10 |
-
// Temporarily disable Page Builder for this instance of the_content.
|
11 |
-
add_filter( 'siteorigin_panels_filter_content_enabled', '__return_false' );
|
12 |
-
} else {
|
13 |
-
add_filter( 'siteorigin_panels_filter_content_enabled', '__return_true' );
|
14 |
-
}
|
15 |
-
return $content;
|
16 |
-
}
|
17 |
-
|
18 |
-
// If Yoast OpenGraph is enabled, disable Page Builder as needed.
|
19 |
if (
|
20 |
class_exists( 'WPSEO_Options' ) &&
|
21 |
method_exists( 'WPSEO_Options', 'get' ) &&
|
22 |
WPSEO_Options::get( 'opengraph' )
|
23 |
) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
add_filter( 'the_content', 'siteorigin_yoast_opengraph_panels_disable', 1 );
|
25 |
}
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
$
|
43 |
-
|
44 |
-
|
|
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
|
51 |
-
|
52 |
-
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
58 |
}
|
59 |
}
|
|
|
|
|
60 |
}
|
61 |
|
62 |
-
|
63 |
}
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
if (
|
3 |
class_exists( 'WPSEO_Options' ) &&
|
4 |
method_exists( 'WPSEO_Options', 'get' ) &&
|
5 |
WPSEO_Options::get( 'opengraph' )
|
6 |
) {
|
7 |
+
/**
|
8 |
+
* If Yoast OpenGraph is enabled, we'll need disable PB when it gets the excerpt
|
9 |
+
* to avoid conflicts with other plugins.
|
10 |
+
*
|
11 |
+
*/
|
12 |
+
function siteorigin_yoast_opengraph_panels_disable( $content ) {
|
13 |
+
global $wp_current_filter;
|
14 |
+
if ( count( $wp_current_filter ) > 2 && $wp_current_filter[1] == 'wpseo_head' ) {
|
15 |
+
// Temporarily disable Page Builder for this instance of the_content.
|
16 |
+
add_filter( 'siteorigin_panels_filter_content_enabled', '__return_false' );
|
17 |
+
} else {
|
18 |
+
add_filter( 'siteorigin_panels_filter_content_enabled', '__return_true' );
|
19 |
+
}
|
20 |
+
return $content;
|
21 |
+
}
|
22 |
+
|
23 |
+
// If Yoast OpenGraph is enabled, disable Page Builder as needed.
|
24 |
add_filter( 'the_content', 'siteorigin_yoast_opengraph_panels_disable', 1 );
|
25 |
}
|
26 |
|
27 |
+
if ( defined( 'WPSEO_FILE' ) ) {
|
28 |
+
/**
|
29 |
+
* Returns a list of all images added using Page Builder to allow for their inclusion in the Yoast Sitemap.
|
30 |
+
*
|
31 |
+
* @param $images an array of all detected images used in the current post.
|
32 |
+
* @param $post_id the current post id.
|
33 |
+
*
|
34 |
+
* @return array
|
35 |
+
*/
|
36 |
+
function siteorigin_yoast_sitemap_images_compat( $images, $post_id ) {
|
37 |
+
if (
|
38 |
+
get_post_meta( $post_id, 'panels_data', true ) &&
|
39 |
+
extension_loaded( 'xml' ) &&
|
40 |
+
class_exists( 'DOMDocument' )
|
41 |
+
) {
|
42 |
+
$content = SiteOrigin_Panels::renderer()->render(
|
43 |
+
$post_id,
|
44 |
+
false
|
45 |
+
);
|
46 |
|
47 |
+
libxml_use_internal_errors( true );
|
48 |
+
$dom = new DOMDocument();
|
49 |
+
$dom->loadHTML( '<?xml encoding="UTF-8">' . $content );
|
50 |
+
libxml_clear_errors();
|
51 |
|
52 |
+
foreach ( $dom->getElementsByTagName( 'img' ) as $img ) {
|
53 |
+
$src = $img->getAttribute( 'src' );
|
54 |
|
55 |
+
if ( ! empty( $src ) && $src == esc_url( $src ) ) {
|
56 |
+
$images[] = array(
|
57 |
+
'src' => $src,
|
58 |
+
);
|
59 |
+
}
|
60 |
}
|
61 |
}
|
62 |
+
|
63 |
+
return $images;
|
64 |
}
|
65 |
|
66 |
+
add_filter( 'wpseo_sitemap_urlimages', 'siteorigin_yoast_sitemap_images_compat', 10, 2 );
|
67 |
}
|
68 |
+
|
69 |
+
if ( function_exists( 'yoast_wpseo_video_seo_init' ) ) {
|
70 |
+
/**
|
71 |
+
* If the Yoast SEO: Video plugin is trying to index a post, and the post has a page builder layout, render it using Page Builder.
|
72 |
+
*
|
73 |
+
* @param $content The content to analyze.
|
74 |
+
* @param $vid Array with video info, usually empty.
|
75 |
+
* @param $post Post object.
|
76 |
+
*
|
77 |
+
* @return string
|
78 |
+
*/
|
79 |
+
function siteorigin_yoast_video_render_page_builder( $content, $vid, $post ) {
|
80 |
+
if ( ! empty( $_POST['panels_data'] ) ) {
|
81 |
+
$content = SiteOrigin_Panels::renderer()->render( $post->ID );
|
82 |
+
}
|
83 |
+
return $content;
|
84 |
+
|
85 |
+
}
|
86 |
+
add_filter( 'wpseo_video_index_content', 'siteorigin_yoast_video_render_page_builder', 10, 3 );
|
87 |
+
}
|
inc/admin.php
CHANGED
@@ -567,8 +567,9 @@ class SiteOrigin_Panels_Admin {
|
|
567 |
if (
|
568 |
defined( 'WPSEO_FILE' ) &&
|
569 |
(
|
570 |
-
wp_script_is( 'yoast-seo-
|
571 |
-
wp_script_is( 'yoast-seo-
|
|
|
572 |
)
|
573 |
) {
|
574 |
wp_enqueue_script(
|
567 |
if (
|
568 |
defined( 'WPSEO_FILE' ) &&
|
569 |
(
|
570 |
+
wp_script_is( 'yoast-seo-metabox' ) || // <= 14.5.
|
571 |
+
wp_script_is( 'yoast-seo-admin-global-script' ) || // => 14.6 <= 17.9.
|
572 |
+
wp_script_is( 'yoast-seo-post-edit-classic' ) // => 18
|
573 |
)
|
574 |
) {
|
575 |
wp_enqueue_script(
|
lang/siteorigin-panels.pot
CHANGED
@@ -36,15 +36,15 @@ msgstr ""
|
|
36 |
msgid "https://siteorigin.com"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: siteorigin-panels.php:
|
40 |
msgid "Read More"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: siteorigin-panels.php:
|
44 |
msgid "Edit Home Page"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: siteorigin-panels.php:
|
48 |
msgid "Live Editor"
|
49 |
msgstr ""
|
50 |
|
@@ -165,7 +165,7 @@ msgstr ""
|
|
165 |
msgid "Addons"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: inc/admin.php:186, inc/admin.php:
|
169 |
msgid "Page Builder"
|
170 |
msgstr ""
|
171 |
|
@@ -463,165 +463,165 @@ msgid "Unknown error. Failed to load the form. Please check your internet connec
|
|
463 |
msgstr ""
|
464 |
|
465 |
#. translators: This is the default name given to a user's home page.
|
466 |
-
#: inc/admin.php:
|
467 |
msgid "Home Page"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: inc/admin.php:
|
471 |
msgid "Untitled Widget"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: inc/admin.php:
|
475 |
msgid "You need to install 1{%1$s} to use the widget 2{%2$s}."
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: inc/admin.php:
|
479 |
msgid "Save and reload this page to start using the widget after you've installed it."
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: inc/admin.php:
|
483 |
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."
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: inc/admin.php:
|
487 |
msgid "The supplied nonce is invalid."
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: inc/admin.php:
|
491 |
msgid "Invalid nonce."
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: inc/admin.php:
|
495 |
msgid "Please specify the type of widget form to be rendered."
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: inc/admin.php:
|
499 |
msgid "Missing widget type."
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: inc/admin.php:
|
503 |
msgid "%s Widget"
|
504 |
msgid_plural "%s Widgets"
|
505 |
msgstr[0] ""
|
506 |
msgstr[1] ""
|
507 |
|
508 |
-
#: inc/admin.php:
|
509 |
msgid "Get the row, cell, and widget %link%."
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: inc/admin.php:
|
513 |
msgid "Animations Addon"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: inc/admin.php:
|
517 |
msgid "Get the %link%. Build custom post types with reusable Page Builder layouts."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: inc/admin.php:
|
521 |
msgid "CPT Builder Addon"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: inc/admin.php:
|
525 |
msgid "Get the %link%. Add beautiful and customizable text overlays with animations to your images."
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: inc/admin.php:
|
529 |
msgid "Image Overlay Addon"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: inc/admin.php:
|
533 |
msgid "Get a %link% for the SiteOrigin Image, Masonry, and Slider Widgets."
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: inc/admin.php:
|
537 |
msgid "Lightbox Addon"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: inc/admin.php:
|
541 |
msgid "Link an entire Page Builder row, cell, or widget with the %link%."
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: inc/admin.php:
|
545 |
msgid "Link Overlay Addon"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: inc/admin.php:
|
549 |
msgid "Get the %link%. Create a widget once, use it everywhere. Update it and the changes reflect in all instances of the widget."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: inc/admin.php:
|
553 |
msgid "Mirror Widgets Addon"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: inc/admin.php:
|
557 |
msgid "Upload multiple image frames at once to Widgets Bundle Slider and Image Grid type widgets with %link%."
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: inc/admin.php:
|
561 |
msgid "SiteOrigin Premium"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: inc/admin.php:
|
565 |
msgid "Add parallax background images to your slider type widgets with %link%."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: inc/admin.php:
|
569 |
msgid "Hide rows and widgets based for logged-in or logged-out users with the %link%."
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: inc/admin.php:
|
573 |
msgid "Toggle Visibility Addon"
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: inc/admin.php:
|
577 |
msgid "Show or hide rows and widgets between a selected date range with the %link%."
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: inc/admin.php:
|
581 |
msgid "Hide rows and widgets on specific devices with the %link%."
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: inc/admin.php:
|
585 |
msgid "Get a %link% with SiteOrigin Premium."
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: inc/admin.php:
|
589 |
msgid "Tooltip Addon"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: inc/admin.php:
|
593 |
msgid "Use Google Fonts in SiteOrigin Widgets with the %link%."
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: inc/admin.php:
|
597 |
msgid "Webfont Selector Addon"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: inc/admin.php:
|
601 |
msgid "Get fast email support for Page Builder with %link%."
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: inc/admin.php:
|
605 |
msgid "SiteOrigin Preimum"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: inc/admin.php:
|
609 |
msgid "Get the %link%. Create custom templates for the Product, Archives, Shop, Cart, and Checkout pages."
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: inc/admin.php:
|
613 |
msgid "WooCommerce Templates Addon"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: inc/admin.php:
|
617 |
msgid "Toggle editor selection menu"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: inc/admin.php:
|
621 |
msgid "SiteOrigin Page Builder"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: inc/admin.php:
|
625 |
msgid "Block Editor"
|
626 |
msgstr ""
|
627 |
|
36 |
msgid "https://siteorigin.com"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: siteorigin-panels.php:395
|
40 |
msgid "Read More"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: siteorigin-panels.php:570
|
44 |
msgid "Edit Home Page"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: siteorigin-panels.php:590, tpl/js-templates.php:34, tpl/js-templates.php:36
|
48 |
msgid "Live Editor"
|
49 |
msgstr ""
|
50 |
|
165 |
msgid "Addons"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: inc/admin.php:186, inc/admin.php:628, inc/admin.php:1302, inc/admin.php:1307, inc/settings.php:237, tpl/js-templates.php:212
|
169 |
msgid "Page Builder"
|
170 |
msgstr ""
|
171 |
|
463 |
msgstr ""
|
464 |
|
465 |
#. translators: This is the default name given to a user's home page.
|
466 |
+
#: inc/admin.php:711, inc/home.php:26
|
467 |
msgid "Home Page"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: inc/admin.php:812
|
471 |
msgid "Untitled Widget"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: inc/admin.php:996
|
475 |
msgid "You need to install 1{%1$s} to use the widget 2{%2$s}."
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: inc/admin.php:1002
|
479 |
msgid "Save and reload this page to start using the widget after you've installed it."
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: inc/admin.php:1018
|
483 |
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."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: inc/admin.php:1205, inc/styles-admin.php:25
|
487 |
msgid "The supplied nonce is invalid."
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: inc/admin.php:1206, inc/styles-admin.php:26
|
491 |
msgid "Invalid nonce."
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: inc/admin.php:1212
|
495 |
msgid "Please specify the type of widget form to be rendered."
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: inc/admin.php:1213
|
499 |
msgid "Missing widget type."
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: inc/admin.php:1320
|
503 |
msgid "%s Widget"
|
504 |
msgid_plural "%s Widgets"
|
505 |
msgstr[0] ""
|
506 |
msgstr[1] ""
|
507 |
|
508 |
+
#: inc/admin.php:1363
|
509 |
msgid "Get the row, cell, and widget %link%."
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: inc/admin.php:1365
|
513 |
msgid "Animations Addon"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: inc/admin.php:1368
|
517 |
msgid "Get the %link%. Build custom post types with reusable Page Builder layouts."
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: inc/admin.php:1370
|
521 |
msgid "CPT Builder Addon"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: inc/admin.php:1373
|
525 |
msgid "Get the %link%. Add beautiful and customizable text overlays with animations to your images."
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: inc/admin.php:1375
|
529 |
msgid "Image Overlay Addon"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: inc/admin.php:1378
|
533 |
msgid "Get a %link% for the SiteOrigin Image, Masonry, and Slider Widgets."
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: inc/admin.php:1380
|
537 |
msgid "Lightbox Addon"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: inc/admin.php:1383
|
541 |
msgid "Link an entire Page Builder row, cell, or widget with the %link%."
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: inc/admin.php:1385
|
545 |
msgid "Link Overlay Addon"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: inc/admin.php:1388
|
549 |
msgid "Get the %link%. Create a widget once, use it everywhere. Update it and the changes reflect in all instances of the widget."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: inc/admin.php:1390
|
553 |
msgid "Mirror Widgets Addon"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: inc/admin.php:1393
|
557 |
msgid "Upload multiple image frames at once to Widgets Bundle Slider and Image Grid type widgets with %link%."
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: inc/admin.php:1395, inc/admin.php:1400
|
561 |
msgid "SiteOrigin Premium"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: inc/admin.php:1398
|
565 |
msgid "Add parallax background images to your slider type widgets with %link%."
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: inc/admin.php:1403
|
569 |
msgid "Hide rows and widgets based for logged-in or logged-out users with the %link%."
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: inc/admin.php:1405, inc/admin.php:1410, inc/admin.php:1415
|
573 |
msgid "Toggle Visibility Addon"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: inc/admin.php:1408
|
577 |
msgid "Show or hide rows and widgets between a selected date range with the %link%."
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: inc/admin.php:1413
|
581 |
msgid "Hide rows and widgets on specific devices with the %link%."
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: inc/admin.php:1418
|
585 |
msgid "Get a %link% with SiteOrigin Premium."
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: inc/admin.php:1420
|
589 |
msgid "Tooltip Addon"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: inc/admin.php:1423
|
593 |
msgid "Use Google Fonts in SiteOrigin Widgets with the %link%."
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: inc/admin.php:1425
|
597 |
msgid "Webfont Selector Addon"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: inc/admin.php:1428
|
601 |
msgid "Get fast email support for Page Builder with %link%."
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: inc/admin.php:1430
|
605 |
msgid "SiteOrigin Preimum"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: inc/admin.php:1435
|
609 |
msgid "Get the %link%. Create custom templates for the Product, Archives, Shop, Cart, and Checkout pages."
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: inc/admin.php:1437
|
613 |
msgid "WooCommerce Templates Addon"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: inc/admin.php:1630
|
617 |
msgid "Toggle editor selection menu"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: inc/admin.php:1631, inc/admin.php:1678, inc/settings.php:237, settings/tpl/settings.php:9
|
621 |
msgid "SiteOrigin Page Builder"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: inc/admin.php:1632
|
625 |
msgid "Block Editor"
|
626 |
msgstr ""
|
627 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Tags: page builder, responsive, parallax, widgets, blocks, gallery, layout, grid
|
|
3 |
Requires at least: 4.7
|
4 |
Tested up to: 5.9
|
5 |
Requires PHP: 5.6.20
|
6 |
-
Stable tag: 2.16.
|
7 |
-
Build time: 2022-
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
Donate link: https://siteorigin.com/downloads/premium/
|
@@ -107,6 +107,10 @@ SiteOrigin Premium includes access to our professional email support service, pe
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
110 |
= 2.16.1 - 26 January 2022 =
|
111 |
* Sidebar Emulator: Accounted for a potential notice when setting widget ID.
|
112 |
* Updated the `Tested up to tag` to `5.9`.
|
3 |
Requires at least: 4.7
|
4 |
Tested up to: 5.9
|
5 |
Requires PHP: 5.6.20
|
6 |
+
Stable tag: 2.16.2
|
7 |
+
Build time: 2022-02-07T14:25:12+02:00
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
Donate link: https://siteorigin.com/downloads/premium/
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 2.16.2 - 07 February 2022 =
|
111 |
+
* Added Yoast Video SEO plugin integration.
|
112 |
+
* Restored content analysis functionality for newer Yoast SEO versions.
|
113 |
+
|
114 |
= 2.16.1 - 26 January 2022 =
|
115 |
* Sidebar Emulator: Accounted for a potential notice when setting widget ID.
|
116 |
* Updated the `Tested up to tag` to `5.9`.
|
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.16.
|
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.16.
|
15 |
if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
|
17 |
}
|
@@ -202,8 +202,11 @@ class SiteOrigin_Panels {
|
|
202 |
require_once plugin_dir_path( __FILE__ ) . 'compat/widget-options.php';
|
203 |
}
|
204 |
|
205 |
-
// Compatibility with Yoast
|
206 |
-
if (
|
|
|
|
|
|
|
207 |
require_once plugin_dir_path( __FILE__ ) . 'compat/yoast.php';
|
208 |
}
|
209 |
|
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.16.2
|
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.16.2' );
|
15 |
if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
|
17 |
}
|
202 |
require_once plugin_dir_path( __FILE__ ) . 'compat/widget-options.php';
|
203 |
}
|
204 |
|
205 |
+
// Compatibility with Yoast plugins.
|
206 |
+
if (
|
207 |
+
defined( 'WPSEO_FILE' ) ||
|
208 |
+
function_exists( 'yoast_wpseo_video_seo_init' )
|
209 |
+
) {
|
210 |
require_once plugin_dir_path( __FILE__ ) . 'compat/yoast.php';
|
211 |
}
|
212 |
|