Some Depreciated functions
-
Deprecation notice for Elementor
Hi — I use your plugin and a scan (via the free Update Guard plugin) flagged some WordPress deprecations in it. Sharing in case it’s useful for a future update. These are calls to APIs WordPress has retired; left in place they can cause warnings, silently-broken features, or (for removed hooks/files) fatals.
Findings (3):
- [MEDIUM] wpmu_new_blog (Hook)
Retired in 5.1.0.
Replacement: wp_initialize_site.
Silent — the callback simply never runs, so a feature quietly does nothing. - [LOW] get_theme (Function)
Retired in 3.4.0.
Replacement: wp_get_theme( $stylesheet ).
Deprecated — still works for now, but slated for eventual removal. - [LOW] .error() (jQuery)
Retired in 5.6.
Replacement: on( “error”, … ).
Still works — WordPress ships jQuery Migrate, which keeps this name alive (with a console warning).
Environment: WordPress 7.1, PHP 8.5.3.
(Reported by a site owner using the free Update Guard plugin.)
- [MEDIUM] wpmu_new_blog (Hook)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.