Test_WP_Widget_Custom_HTML::filter_widget_custom_html_content() – Filters the content of the Custom HTML widget using the dedicated widget_custom_html_content filter.
Test_WP_Widget_Custom_HTML::filter_widget_text() – Filters the content of the Custom HTML widget using the legacy widget_text filter.
Test_WP_Widget_Custom_HTML::grant_unfiltered_html_cap() – Grant unfiltered_html cap via map_meta_cap.
Test_WP_Widget_Custom_HTML::revoke_unfiltered_html_cap() – Revoke unfiltered_html cap via map_meta_cap.
Test_WP_Widget_Custom_HTML::test_enqueue_admin_scripts_when_logged_in_and_syntax_highlighting_off() – Test enqueue_admin_scripts method. Condition: logged_in, syntax_highlighting is off.
Test_WP_Widget_Custom_HTML::test_enqueue_admin_scripts_when_logged_in_and_syntax_highlighting_on() – Test enqueue_admin_scripts method. Condition: logged_in, syntax_highlighting is on.
Test_WP_Widget_Custom_HTML::test_render_control_template_scripts() – Test render_control_template_scripts method.
Test_WP_Widget_Custom_HTML::test_render_links_with_target() – Ensure that rel="noopener noreferrer" is added to links with a target.
Test_WP_Widget_Custom_HTML::test_render_links_without_target() – Ensure that rel="noopener noreferrer" is not added to links without a target.
Tests_Admin_wpCommunityEvents::_http_request_bad_response_code() – Simulates an HTTP response with a non-200 response code.
Tests_Admin_wpCommunityEvents::_http_request_invalid_response() – Simulates an HTTP response with a body that does not have the required properties.
Tests_Admin_wpCommunityEvents::_http_request_valid_response() – Simulates an HTTP response with valid location and event data.
Tests_Ajax_CustomizeManager::test_handle_changeset_trash_request() – Test request for trashing a changeset.
Tests_Ajax_CustomizeManager::test_handle_dismiss_autosave_or_lock_request() – Test request for dismissing autosave changesets.