Skip to content

Commit 9f43fe5

Browse files
authored
Fix "Deprecated: Non-static method EmbedSnap::renderEmbedSnap()"
1 parent 483b64d commit 9f43fe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/EmbedSnap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function onParserFirstCallInit( $parser ) {
3131
}
3232

3333
/** Function to render the iframes for the <snap> tags */
34-
public function renderEmbedSnap( $input, $argv, $parser ) {
34+
public static function renderEmbedSnap( $input, $argv, $parser ) {
3535
$project = '';
3636
$user = '';
3737
$width = $width_max = 930;

0 commit comments

Comments
 (0)