Skip to content

Commit c22740b

Browse files
committed
Fixed deprecation issue
1 parent 5b3461b commit c22740b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function get_const( $const, $filter_validate = null ) {
6060
* @link https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/shortcodes.php#L540 Original source
6161
* @since 2.0.5
6262
*/
63-
public function set_default_atts( $pairs, $atts ) {
63+
public static function set_default_atts( $pairs, $atts ) {
6464

6565
$atts = (array)$atts;
6666
$result = array();

0 commit comments

Comments
 (0)