Skip to content

Commit 6a5cad2

Browse files
Update Facebook SDK version
1 parent e743d4b commit 6a5cad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/class-mongoose-page-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public function facebook_page_plugin( $filter ) {
470470
if ( 'sdk' === $a['method'] ) {
471471

472472
$return .= sprintf(
473-
'<div id="fb-root"></div><script async defer crossorigin="anonymous" src="https://connect.facebook.net/%1$s/sdk.js#xfbml=1&version=v17.0"></script>', // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
473+
'<div id="fb-root"></div><script async defer crossorigin="anonymous" src="https://connect.facebook.net/%1$s/sdk.js#xfbml=1&version=v23.0"></script>', // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
474474
esc_attr( $a['language'] )
475475
);
476476

0 commit comments

Comments
 (0)