Completed
Push — add/wpcom-shortcodes ( de7010...4a8929 )
by
unknown
58:43 queued 50:51
created
modules/shortcodes/class.filter-embedded-html-objects.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
 		return $html;
91 91
 	}
92 92
 
93
+	/**
94
+	 * @param string $regexp
95
+	 */
93 96
 	static public function regexp_entities( $regexp ) {
94 97
 		return preg_replace(
95 98
 			'/\[\^&([^\]]+)\]\*\+/',
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
 		return self::dispatch( $matches );
129 132
 	}
130 133
 
134
+	/**
135
+	 * @param string[] $matches
136
+	 */
131 137
 	static function dispatch( $matches ) {
132 138
 		$html  = preg_replace( '%&#0*58;//%', '://', $matches[0] );
133 139
 		$attrs = self::get_attrs( $html );
Please login to merge, or discard this patch.