We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b280c commit b90ed7fCopy full SHA for b90ed7f
includes/embeds/class-amp-facebook-embed-handler.php
@@ -13,6 +13,12 @@
13
* @internal
14
*/
15
class AMP_Facebook_Embed_Handler extends AMP_Base_Embed_Handler {
16
+
17
+ /**
18
+ * URL pattern.
19
+ *
20
+ * @var string
21
+ */
22
const URL_PATTERN = '#https?://(www\.)?facebook\.com/.*#i';
23
24
/**
@@ -58,7 +64,7 @@ public function unregister_embed() {
58
64
}
59
65
60
66
61
- * WordPress OEmbed rendering callback.
67
+ * WordPress oEmbed rendering callback.
62
68
*
63
69
* @param array $matches URL pattern matches.
70
* @param array $attr Matched attributes.
0 commit comments