@@ -410,10 +410,6 @@ class DeprecatedFunctionsSniff extends AbstractFunctionRestrictionsSniff {
410410 'alt ' => 'wp_register_widget_control() ' ,
411411 'version ' => '2.8.0 ' ,
412412 ),
413- 'sanitize_url ' => array (
414- 'alt ' => 'esc_url_raw() ' ,
415- 'version ' => '2.8.0 ' ,
416- ),
417413 'the_author_aim ' => array (
418414 'alt ' => 'the_author_meta( \'aim \') ' ,
419415 'version ' => '2.8.0 ' ,
@@ -988,7 +984,7 @@ class DeprecatedFunctionsSniff extends AbstractFunctionRestrictionsSniff {
988984 'version ' => '3.5.0 ' ,
989985 ),
990986 'wp_cache_reset ' => array (
991- 'alt ' => 'WP_Object_Cache::reset () ' ,
987+ 'alt ' => 'wp_cache_switch_to_blog () ' ,
992988 'version ' => '3.5.0 ' ,
993989 ),
994990 'wp_create_thumbnail ' => array (
@@ -1369,6 +1365,137 @@ class DeprecatedFunctionsSniff extends AbstractFunctionRestrictionsSniff {
13691365 'alt ' => 'wp_get_user_request() ' ,
13701366 'version ' => '5.4.0 ' ,
13711367 ),
1368+
1369+ // WP 5.5.0.
1370+ '_wp_register_meta_args_whitelist ' => array (
1371+ 'alt ' => '_wp_register_meta_args_allowed_list() ' ,
1372+ 'version ' => '5.5.0 ' ,
1373+ ),
1374+ 'add_option_whitelist ' => array (
1375+ 'alt ' => 'add_allowed_options() ' ,
1376+ 'version ' => '5.5.0 ' ,
1377+ ),
1378+ 'remove_option_whitelist ' => array (
1379+ 'alt ' => 'remove_allowed_options() ' ,
1380+ 'version ' => '5.5.0 ' ,
1381+ ),
1382+ 'wp_blacklist_check ' => array (
1383+ 'alt ' => 'wp_check_comment_disallowed_list() ' ,
1384+ 'version ' => '5.5.0 ' ,
1385+ ),
1386+ 'wp_make_content_images_responsive ' => array (
1387+ 'alt ' => 'wp_filter_content_tags() ' ,
1388+ 'version ' => '5.5.0 ' ,
1389+ ),
1390+ 'wp_unregister_GLOBALS ' => array (
1391+ 'alt ' => '' ,
1392+ 'version ' => '5.5.0 ' ,
1393+ ),
1394+
1395+ // WP 5.7.0.
1396+ 'noindex ' => array (
1397+ 'alt ' => 'wp_robots_noindex() ' ,
1398+ 'version ' => '5.7.0 ' ,
1399+ ),
1400+ 'wp_no_robots ' => array (
1401+ 'alt ' => 'wp_robots_no_robots() ' ,
1402+ 'version ' => '5.7.0 ' ,
1403+ ),
1404+ 'wp_sensitive_page_meta ' => array (
1405+ 'alt ' => 'wp_robots_sensitive_page() ' ,
1406+ 'version ' => '5.7.0 ' ,
1407+ ),
1408+
1409+ // WP 5.8.0.
1410+ '_excerpt_render_inner_columns_blocks ' => array (
1411+ 'alt ' => '_excerpt_render_inner_blocks() ' ,
1412+ 'version ' => '5.8.0 ' ,
1413+ ),
1414+
1415+ // WP 5.9.0.
1416+ 'readonly ' => array (
1417+ 'alt ' => 'wp_readonly() ' ,
1418+ 'version ' => '5.9.0 ' ,
1419+ ),
1420+
1421+ // WP 5.9.1.
1422+ 'wp_render_duotone_filter_preset ' => array (
1423+ 'alt ' => 'wp_get_duotone_filter_property() ' ,
1424+ 'version ' => '5.9.1 ' ,
1425+ ),
1426+
1427+ // WP 6.0.0.
1428+ 'image_attachment_fields_to_save ' => array (
1429+ 'alt ' => '' ,
1430+ 'version ' => '6.0.0 ' ,
1431+ ),
1432+ 'wp_add_iframed_editor_assets_html ' => array (
1433+ 'alt ' => '' ,
1434+ 'version ' => '6.0.0 ' ,
1435+ ),
1436+ 'wp_skip_border_serialization ' => array (
1437+ 'alt ' => 'wp_should_skip_block_supports_serialization() ' ,
1438+ 'version ' => '6.0.0 ' ,
1439+ ),
1440+ 'wp_skip_dimensions_serialization ' => array (
1441+ 'alt ' => 'wp_should_skip_block_supports_serialization() ' ,
1442+ 'version ' => '6.0.0 ' ,
1443+ ),
1444+ 'wp_skip_spacing_serialization ' => array (
1445+ 'alt ' => 'wp_should_skip_block_supports_serialization() ' ,
1446+ 'version ' => '6.0.0 ' ,
1447+ ),
1448+
1449+ // WP 6.0.2.
1450+ 'the_meta ' => array (
1451+ 'alt ' => 'get_post_meta() ' ,
1452+ 'version ' => '6.0.2 ' ,
1453+ ),
1454+
1455+ // WP 6.0.3.
1456+ // Verified; see https://core.trac.wordpress.org/ticket/56791#comment:10.
1457+ '_filter_query_attachment_filenames ' => array (
1458+ 'alt ' => 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" ) ' ,
1459+ 'version ' => '6.0.3 ' ,
1460+ ),
1461+
1462+ // WP 6.1.0.
1463+ '_get_path_to_translation ' => array (
1464+ 'alt ' => 'WP_Textdomain_Registry ' ,
1465+ 'version ' => '6.1.0 ' ,
1466+ ),
1467+ '_get_path_to_translation_from_lang_dir ' => array (
1468+ 'alt ' => 'WP_Textdomain_Registry ' ,
1469+ 'version ' => '6.1.0 ' ,
1470+ ),
1471+ '_wp_multiple_block_styles ' => array (
1472+ 'alt ' => '' ,
1473+ 'version ' => '6.1.0 ' ,
1474+ ),
1475+ 'global_terms ' => array (
1476+ 'alt ' => '' ,
1477+ 'version ' => '6.1.0 ' ,
1478+ ),
1479+ 'global_terms_enabled ' => array (
1480+ 'alt ' => '' ,
1481+ 'version ' => '6.1.0 ' ,
1482+ ),
1483+ 'install_global_terms ' => array (
1484+ 'alt ' => '' ,
1485+ 'version ' => '6.1.0 ' ,
1486+ ),
1487+ 'sync_category_tag_slugs ' => array (
1488+ 'alt ' => '' ,
1489+ 'version ' => '6.1.0 ' ,
1490+ ),
1491+ 'wp_get_attachment_thumb_file ' => array (
1492+ 'alt ' => '' ,
1493+ 'version ' => '6.1.0 ' ,
1494+ ),
1495+ 'wp_typography_get_css_variable_inline_style ' => array (
1496+ 'alt ' => 'wp_style_engine_get_styles() ' ,
1497+ 'version ' => '6.1.0 ' ,
1498+ ),
13721499 );
13731500
13741501 /**
0 commit comments