Lines:
1 to 100 of 116
<?php /* class Tests_Media */ /* function Tests_Media::wpSetUpBeforeClass() – */ /* function Tests_Media::wpTearDownAfterClass() – */ /* function Tests_Media::tearDownAfterClass() – */ /* function Tests_Media::setUp() – */ /* function Tests_Media::test_img_caption_shortcode_added() – */ /* function Tests_Media::test_img_caption_shortcode_with_empty_params() – */ /* function Tests_Media::test_img_caption_shortcode_with_empty_params_but_content() – */ /* function Tests_Media::test_img_caption_shortcode_short_circuit_filter() – */ /* function Tests_Media::_return_alt_caption() – Filter used in test_img_caption_shortcode_short_circuit_filter() */ /* function Tests_Media::test_img_caption_shortcode_empty_width() – */ /* function Tests_Media::test_img_caption_shortcode_empty_caption() – */ /* function Tests_Media::test_img_caption_shortcode_empty_caption_and_content() – */ /* function Tests_Media::test_img_caption_shortcode_with_old_format() – */ /* function Tests_Media::test_img_caption_shortcode_with_old_format_id_and_align() – */ /* function Tests_Media::test_img_caption_shortcode_with_old_format_and_class() – */ /* function Tests_Media::test_new_img_caption_shortcode_with_html_caption() – */ /* function Tests_Media::test_new_img_caption_shortcode_new_format() – */ /* function Tests_Media::test_new_img_caption_shortcode_new_format_and_linked_image() – */ /* function Tests_Media::test_new_img_caption_shortcode_new_format_and_linked_image_with_newline() – */ /* function Tests_Media::test_img_caption_shortcode_has_aria_describedby() – */ /* function Tests_Media::test_add_remove_oembed_provider() – */ /* function Tests_Media::test_autoembed_empty() – */ /* function Tests_Media::test_autoembed_no_paragraphs_around_urls() – */ /* function Tests_Media::data_autoembed() – */ /* function Tests_Media::test_autoembed() – */ /* function Tests_Media::test_wp_prepare_attachment_for_js() – */ /* function Tests_Media::test_wp_prepare_attachment_for_js_without_image_sizes() – */ /* function Tests_Media::test_wp_convert_bytes_to_hr() – */ /* function Tests_Media::test_get_attached_images() – */ /* function Tests_Media::test_post_galleries_images() – */ /* function Tests_Media::test_post_galleries_images_without_global_post() – */ /* function Tests_Media::test_post_galleries_ignores_global_post() – */ /* function Tests_Media::test_post_galleries_respects_id_attrs() – */ /* function Tests_Media::test_post_gallery_images() – */ /* function Tests_Media::test_get_media_embedded_in_content() – */ /* function Tests_Media::test_get_media_embedded_in_content_order() – */ /* function Tests_Media::test_wp_audio_shortcode_with_empty_params() – */ /* function Tests_Media::test_wp_audio_shortcode_with_bad_attr() – */ /* function Tests_Media::test_wp_audio_shortcode_attributes() – */ /* function Tests_Media::test_video_shortcode_body() – Test [video] shortcode processing */ /* function Tests_Media::test_wp_video_shortcode_with_empty_params() – */ /* function Tests_Media::test_wp_video_shortcode_with_bad_attr() – */ /* function Tests_Media::test_wp_video_shortcode_attributes() – */ /* function Tests_Media::test_wp_video_shortcode_youtube_remove_feature() – */ /* function Tests_Media::test_wp_video_shortcode_youtube_force_ssl() – */ /* function Tests_Media::test_wp_video_shortcode_vimeo_force_ssl_remove_query_args() – */ /* function Tests_Media::test_wp_video_shortcode_vimeo_adds_loop() – */ /* function Tests_Media::test_wp_video_shortcode_vimeo_force_adds_loop_true() – */ /* function Tests_Media::test_add_image_size() – */ /* function Tests_Media::test_remove_image_size() – */ /* function Tests_Media::test_has_image_size() – */ /* function Tests_Media::test_attachment_url_to_postid() – */ /* function Tests_Media::test_attachment_url_to_postid_schemes() – */ /* function Tests_Media::test_attachment_url_to_postid_filtered() – */ /* function Tests_Media::_upload_dir() – */ /* function Tests_Media::test_attachment_url_to_postid_with_empty_url() – */ /* function Tests_Media::test_media_handle_upload_sets_post_excerpt() – */ /* function Tests_Media::test_media_handle_upload_expected_titles() – */ /* function Tests_Media::test_multiline_cdata() – */ /* function Tests_Media::test_multiline_comment() – */ /* function Tests_Media::test_multiline_comment_with_embeds() – */ /* function Tests_Media::filter_wp_embed_shortcode_custom() – */ /* function Tests_Media::test_oembed_explicit_media_link() – */ /* function Tests_Media::test_wp_get_attachment_image_defaults() – Tests the default output of `wp_get_attachment_image()`. */ /* function Tests_Media::test_wp_get_attachment_image_with_alt() – Test that `wp_get_attachment_image()` returns a proper alt value. */ /* function Tests_Media::test_wp_get_attachment_image_url() – */ /* function Tests_Media::test_wp_get_attachment_caption() – */ /* function Tests_Media::test_wp_get_attachment_caption_empty() – */ /* function Tests_Media::_get_image_size_array_from_meta() – Helper function to get image size array from size "name" */ /* function Tests_Media::_src_first() – Helper function to move the src image to the first position in the expected srcset string. */ /* function Tests_Media::test_wp_calculate_image_srcset() – */ /* function Tests_Media::test_wp_calculate_image_srcset_no_date_uploads() – */ /* function Tests_Media::test_wp_calculate_image_srcset_with_edits() – */ /* function Tests_Media::test_wp_calculate_image_srcset_with_absolute_path_in_meta() – */ /* function Tests_Media::test_wp_calculate_image_srcset_false() – */ /* function Tests_Media::test_wp_calculate_image_srcset_no_width() – */ /* function Tests_Media::test_wp_calculate_image_srcset_ratio_variance() – */ /* function Tests_Media::test_wp_calculate_image_srcset_include_src() – */ /* function Tests_Media::test_wp_calculate_image_srcset_corrupted_image_meta() – */ /* function Tests_Media::test_wp_calculate_image_srcset_with_spaces_in_filenames() – */ /* function Tests_Media::test_wp_get_attachment_image_srcset() – */ /* function Tests_Media::test_wp_get_attachment_image_srcset_single_srcset() – */ /* function Tests_Media::test_wp_get_attachment_image_srcset_invalidsize() – */ /* function Tests_Media::test_wp_get_attachment_image_sizes() – */ /* function Tests_Media::test_wp_calculate_image_sizes() – */ /* function Tests_Media::test_wp_make_content_images_responsive() – */ /* function Tests_Media::test_wp_make_content_images_responsive_wrong() – When rendering attributes for responsive images, we rely on the ‘wp-image-*’ class to find the image by ID. */ /* function Tests_Media::test_wp_make_content_images_responsive_with_preexisting_srcset() – */ /* function Tests_Media::test_wp_calculate_image_srcset_animated_gifs() – */ /* function Tests_Media::test_wp_make_content_images_responsive_schemes() – */ /* function Tests_Media::test_wp_get_attachment_image_with_https_on() – */ /* function Tests_Media::test_get_image_send_to_editor_defaults() – */ /* function Tests_Media::test_get_image_send_to_editor_defaults_with_optional_params() – */ /* function Tests_Media::test_get_image_send_to_editor_defaults_no_caption_no_rel() – */ /* function Tests_Media::test_wp_get_attachment_image_should_use_wp_get_attachment_metadata() – Tests if wp_get_attachment_image() uses wp_get_attachment_metadata(). */ /* function Tests_Media::_filter_36246() – */