Test_Nav_Menus::get_iri_current_menu_items() – Provides IRI matching data for _wp_menu_item_classes_by_context() test.
Test_WP_Widget_Media_Image::test_render_control_template_scripts() – Test render_control_template_scripts method.
Tests_Admin_Includes_Post::test_bulk_edit_posts_should_preserve_post_format_when_unchanged() – The bulk_edit_posts() function should preserve the post format when it’s unchanged.
Tests_Admin_Includes_Post::test_bulk_edit_posts_should_set_post_format_before_wp_update_post_runs() –
Tests_Admin_Includes_Post::test_edit_post_auto_draft() – edit_post() should convert an existing auto-draft to a draft.
Tests_Admin_Includes_Post::test_edit_post_should_parse_tax_input_by_name_rather_than_slug_for_nonhierarchical_taxonomies() –
Tests_Admin_Includes_Post::test_get_sample_permalink_html_should_use_correct_permalink_for_view_post_link_when_changing_slug() –
Tests_Admin_Includes_Post::test_get_sample_permalink_html_should_use_default_permalink_for_view_post_link_when_pretty_permalinks_are_disabled() –
Tests_Admin_Includes_Post::test_get_sample_permalink_html_should_use_pretty_permalink_for_view_attachment_link_when_pretty_permalinks_are_enabled() –
Tests_Admin_Includes_Post::test_get_sample_permalink_html_should_use_pretty_permalink_for_view_post_link_when_pretty_permalinks_are_enabled() –
Tests_Admin_Includes_Post::test_get_sample_permalink_html_should_use_preview_links_for_draft_and_pending_posts_with_no_post_name() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_allow_daylike_slugs_if_permastruct_does_not_cause_an_archive_conflict() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_allow_yearlike_slugs_if_permastruct_does_not_cause_an_archive_conflict() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_avoid_slugs_that_would_create_clashes_with_day_archives() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_avoid_slugs_that_would_create_clashes_with_month_archives() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_avoid_slugs_that_would_create_clashes_with_year_archives() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_ignore_potential_day_conflicts_for_invalid_day() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_ignore_potential_month_conflicts_for_invalid_monthnum() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_iterate_slug_suffix_when_a_date_conflict_is_found() –
Tests_Admin_Includes_Post::test_get_sample_permalink_should_return_pretty_permalink_for_posts_with_post_status_future() –
Tests_Admin_Includes_Post::test_post_exists_should_not_match_a_page_for_post() – Test that post_exists() doesn’t find an existing page as a post.
Tests_Admin_Includes_Post::test_post_exists_should_support_post_type() – Test the post type support in post_exists().
Tests_Admin_Includes_Schema::wpSetUpBeforeClass() – Make sure the schema code is loaded before the tests are run.
Tests_Admin_Includes_Schema::wpTearDownAfterClass() – Drop tables that were created before running the tests.
Tests_Admin_IncludesComment::test_must_match_date_and_author() – Verify that both the comment date and author must match for a comment to exist.
Tests_Admin_IncludesFile::data_download_url_should_reject_filename_from_invalid_content_disposition_header() – Data provider for test_download_url_should_reject_filename_from_invalid_content_disposition_header.
Tests_Admin_IncludesFile::data_download_url_should_respect_filename_from_content_disposition_header() – Data provider for test_download_url_should_respect_filename_from_content_disposition_header.
Tests_Admin_IncludesFile::filter_content_disposition_header_with_filename_with_form_data_context() – Filter callback for data_download_url_should_reject_filename_from_invalid_content_disposition_header.
Tests_Admin_IncludesFile::filter_content_disposition_header_with_filename_with_inline_context() – Filter callback for data_download_url_should_reject_filename_from_invalid_content_disposition_header.
Tests_Admin_IncludesFile::filter_content_disposition_header_with_filename_with_path_traversal() – Filter callback for data_download_url_should_respect_filename_from_content_disposition_header.
Tests_Admin_IncludesFile::filter_content_disposition_header_with_filename_without_context() – Filter callback for data_download_url_should_reject_filename_from_invalid_content_disposition_header.
Tests_Admin_IncludesFile::filter_content_disposition_header_with_filename_without_quotes() – Filter callback for data_download_url_should_respect_filename_from_content_disposition_header.
Tests_Admin_IncludesFile::filter_content_disposition_header_with_filename() – Filter callback for data_download_url_should_respect_filename_from_content_disposition_header.
Tests_Admin_IncludesFile::test_download_url_empty_url() – Verify that a WP_Error object is returned when invalid input is passed as the `$url` parameter.
Tests_Admin_IncludesFile::test_download_url_no_warning_for_url_without_path_with_signature_verification() – Test that PHP 8.1 "passing null to non-nullable" deprecation notice is not thrown when the `$url` does not have a path component, and signature verification via a local file is requested.
Tests_Admin_IncludesFile::test_download_url_no_warning_for_url_without_path() – Test that PHP 8.1 "passing null to non-nullable" deprecation notice is not thrown when the `$url` does not have a path component.
Tests_Admin_IncludesFile::test_download_url_should_reject_filename_from_invalid_content_disposition_header() –
Tests_Admin_IncludesFile::test_download_url_should_respect_filename_from_content_disposition_header() –
Tests_Admin_includesListTable::_test_list_hierarchical_page() – Helper function to test the output of a page which uses `WP_Posts_List_Table`.
Tests_Admin_includesListTable::test_empty_trash_button_should_not_be_shown_if_there_are_no_comments() –