{"id":19011480,"date":"2026-09-04T10:06:17","date_gmt":"2026-09-04T10:06:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/some-depreciated-functions\/"},"modified":"2026-09-04T10:06:17","modified_gmt":"2026-09-04T10:06:17","slug":"some-depreciated-functions","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/some-depreciated-functions\/","title":{"rendered":"Some Depreciated functions"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Deprecation notice for Elementor<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hi \u2014 I use your plugin and a scan (via the free Update Guard plugin) flagged some WordPress deprecations in it. Sharing in case it&#8217;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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Findings (3):<\/p>\n\n\n\n<ul>\n<li>[MEDIUM] wpmu_new_blog (Hook)<br \/>Retired in 5.1.0.<br \/>Replacement: wp_initialize_site.<br \/>Silent \u2014 the callback simply never runs, so a feature quietly does nothing.<\/li>\n\n\n\n<li>[LOW] get_theme (Function)<br \/>Retired in 3.4.0.<br \/>Replacement: wp_get_theme( $stylesheet ).<br \/>Deprecated \u2014 still works for now, but slated for eventual removal.<\/li>\n\n\n\n<li>[LOW] .error() (jQuery)<br \/>Retired in 5.6.<br \/>Replacement: on( &#8220;error&#8221;, \u2026 ).<br \/>Still works \u2014 WordPress ships jQuery Migrate, which keeps this name alive (with a console warning).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Environment: WordPress 7.1, PHP 8.5.3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(Reported by a site owner using the free Update Guard plugin.)<\/p>\n","protected":false},"template":"","class_list":["post-19011480","topic","type-topic","status-publish","hentry","topic-tag-depreciated","topic-tag-function","topic-tag-outdated"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19011480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19011480\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19011480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}