Skip to content

Commit 7a1360a

Browse files
committed
Minileven: Replace depreciated function
add_custom_background has been depreciated since 3.4.
1 parent 225b70f commit 7a1360a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/minileven/theme/pub/minileven/functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function minileven_setup() {
6464
add_theme_support( 'post-formats', array( 'gallery' ) );
6565

6666
// Add support for custom backgrounds
67-
add_custom_background();
67+
add_theme_support( 'custom-background' );
6868

6969
// Add support for post thumbnails
7070
add_theme_support( 'post-thumbnails' );

0 commit comments

Comments
 (0)