Skip to content

Commit b90ed7f

Browse files
pierlonwestonruter
andcommitted
Add docblock for URL_PATTERN constant
Co-authored-by: Weston Ruter <[email protected]>
1 parent 57b280c commit b90ed7f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

includes/embeds/class-amp-facebook-embed-handler.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
* @internal
1414
*/
1515
class AMP_Facebook_Embed_Handler extends AMP_Base_Embed_Handler {
16+
17+
/**
18+
* URL pattern.
19+
*
20+
* @var string
21+
*/
1622
const URL_PATTERN = '#https?://(www\.)?facebook\.com/.*#i';
1723

1824
/**
@@ -58,7 +64,7 @@ public function unregister_embed() {
5864
}
5965

6066
/**
61-
* WordPress OEmbed rendering callback.
67+
* WordPress oEmbed rendering callback.
6268
*
6369
* @param array $matches URL pattern matches.
6470
* @param array $attr Matched attributes.

0 commit comments

Comments
 (0)