Read more →"/> Deprecated Functions - My WordPress Playground

Deprecated Functions

By Amor


While trying WordPress 3.4 RC1 in my local install, I saw the following notices on deprecated functions.

deprecated functions

add_custom_background is deprecated since version 3.4!
Use add_theme_support( 'custom-background', $args ) instead.

add_custom_image_header is deprecated since version 3.4!
Use add_theme_support(' custom-header', $args ) instead.

When a function is deprecated it means it has been replaced with a new one, so it’s no longer supported. You have to use the newest functions as the deprecated ones will be removed in later versions. Theme authors would then have to update their themes. So I am updating mine.

Copyright © 2023 • My WordPress Playground on WordPress and Ghostbird child theme designed by Amor • 0.284 seconds query