Changeset 37505
- Timestamp:
- 05/22/2016 06:31:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r37034 r37505 96 96 97 97 /** 98 * Filter the maximum image size dimensions for the editor.98 * Filters the maximum image size dimensions for the editor. 99 99 * 100 100 * @since 2.5.0 … … 169 169 170 170 /** 171 * Filter whether to preempt the output of image_downsize().171 * Filters whether to preempt the output of image_downsize(). 172 172 * 173 173 * Passing a truthy value to the filter will effectively short-circuit … … 340 340 341 341 /** 342 * Filter the value of the attachment's image tag class attribute.342 * Filters the value of the attachment's image tag class attribute. 343 343 * 344 344 * @since 2.6.0 … … 355 355 356 356 /** 357 * Filter the HTML content for the image tag.357 * Filters the HTML content for the image tag. 358 358 * 359 359 * @since 2.6.0 … … 432 432 433 433 /** 434 * Filter dimensions to constrain down-sampled images to.434 * Filters dimensions to constrain down-sampled images to. 435 435 * 436 436 * @since 4.1.0 … … 478 478 479 479 /** 480 * Filter whether to preempt calculating the image resize dimensions.480 * Filters whether to preempt calculating the image resize dimensions. 481 481 * 482 482 * Passing a non-null value to the filter will effectively short-circuit … … 690 690 691 691 /** 692 * Filter the output of image_get_intermediate_size()692 * Filters the output of image_get_intermediate_size() 693 693 * 694 694 * @since 4.4.0 … … 721 721 722 722 /** 723 * Filter the list of intermediate image sizes.723 * Filters the list of intermediate image sizes. 724 724 * 725 725 * @since 2.5.0 … … 768 768 } 769 769 /** 770 * Filter the image src result.770 * Filters the image src result. 771 771 * 772 772 * @since 4.3.0 … … 841 841 842 842 /** 843 * Filter the list of attachment image attributes.843 * Filters the list of attachment image attributes. 844 844 * 845 845 * @since 2.8.0 … … 1044 1044 1045 1045 /** 1046 * Filter the maximum image width to be included in a 'srcset' attribute.1046 * Filters the maximum image width to be included in a 'srcset' attribute. 1047 1047 * 1048 1048 * @since 4.4.0 … … 1086 1086 1087 1087 /* 1088 * Filter out images that are wider than '$max_srcset_image_width' unless1088 * Filters out images that are wider than '$max_srcset_image_width' unless 1089 1089 * that file is in the 'src' attribute. 1090 1090 */ … … 1125 1125 1126 1126 /** 1127 * Filter an image's 'srcset' sources.1127 * Filters an image's 'srcset' sources. 1128 1128 * 1129 1129 * @since 4.4.0 … … 1233 1233 1234 1234 /** 1235 * Filter the output of 'wp_calculate_image_sizes()'.1235 * Filters the output of 'wp_calculate_image_sizes()'. 1236 1236 * 1237 1237 * @since 4.4.0 … … 1468 1468 1469 1469 /** 1470 * Filter the default caption shortcode output.1470 * Filters the default caption shortcode output. 1471 1471 * 1472 1472 * If the filtered output isn't empty, it will be used instead of generating … … 1507 1507 1508 1508 /** 1509 * Filter the width of an image's caption.1509 * Filters the width of an image's caption. 1510 1510 * 1511 1511 * By default, the caption is 10 pixels greater than the width of the image, … … 1590 1590 1591 1591 /** 1592 * Filter the default gallery shortcode output.1592 * Filters the default gallery shortcode output. 1593 1593 * 1594 1594 * If the filtered output isn't empty, it will be used instead of generating … … 1674 1674 1675 1675 /** 1676 * Filter whether to print default gallery styles.1676 * Filters whether to print default gallery styles. 1677 1677 * 1678 1678 * @since 3.1.0 … … 1708 1708 1709 1709 /** 1710 * Filter the default gallery shortcode CSS styles.1710 * Filters the default gallery shortcode CSS styles. 1711 1711 * 1712 1712 * @since 2.5.0 … … 1876 1876 1877 1877 /** 1878 * Filter the playlist output.1878 * Filters the playlist output. 1879 1879 * 1880 1880 * Passing a non-empty value to the filter will short-circuit generation … … 2082 2082 function wp_mediaelement_fallback( $url ) { 2083 2083 /** 2084 * Filter the Mediaelement fallback output for no-JS.2084 * Filters the Mediaelement fallback output for no-JS. 2085 2085 * 2086 2086 * @since 3.6.0 … … 2101 2101 function wp_get_audio_extensions() { 2102 2102 /** 2103 * Filter the list of supported audio formats.2103 * Filters the list of supported audio formats. 2104 2104 * 2105 2105 * @since 3.6.0 … … 2136 2136 2137 2137 /** 2138 * Filter the editable list of keys to look up data from an attachment's metadata.2138 * Filters the editable list of keys to look up data from an attachment's metadata. 2139 2139 * 2140 2140 * @since 3.9.0 … … 2176 2176 2177 2177 /** 2178 * Filter the default audio shortcode output.2178 * Filters the default audio shortcode output. 2179 2179 * 2180 2180 * If the filtered output isn't empty, it will be used instead of generating the default audio template. … … 2244 2244 2245 2245 /** 2246 * Filter the media library used for the audio shortcode.2246 * Filters the media library used for the audio shortcode. 2247 2247 * 2248 2248 * @since 3.6.0 … … 2257 2257 2258 2258 /** 2259 * Filter the class attribute for the audio shortcode output container.2259 * Filters the class attribute for the audio shortcode output container. 2260 2260 * 2261 2261 * @since 3.6.0 … … 2311 2311 2312 2312 /** 2313 * Filter the audio shortcode output.2313 * Filters the audio shortcode output. 2314 2314 * 2315 2315 * @since 3.6.0 … … 2334 2334 function wp_get_video_extensions() { 2335 2335 /** 2336 * Filter the list of supported video formats.2336 * Filters the list of supported video formats. 2337 2337 * 2338 2338 * @since 3.6.0 … … 2380 2380 2381 2381 /** 2382 * Filter the default video shortcode output.2382 * Filters the default video shortcode output. 2383 2383 * 2384 2384 * If the filtered output isn't empty, it will be used instead of generating … … 2481 2481 2482 2482 /** 2483 * Filter the media library used for the video shortcode.2483 * Filters the media library used for the video shortcode. 2484 2484 * 2485 2485 * @since 3.6.0 … … 2494 2494 2495 2495 /** 2496 * Filter the class attribute for the video shortcode output container.2496 * Filters the class attribute for the video shortcode output container. 2497 2497 * 2498 2498 * @since 3.6.0 … … 2569 2569 2570 2570 /** 2571 * Filter the output of the video shortcode.2571 * Filters the output of the video shortcode. 2572 2572 * 2573 2573 * @since 3.6.0 … … 2652 2652 2653 2653 /** 2654 * Filter the adjacent image link.2654 * Filters the adjacent image link. 2655 2655 * 2656 2656 * The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, … … 2811 2811 2812 2812 /** 2813 * Filter the maximum upload size allowed in php.ini.2813 * Filters the maximum upload size allowed in php.ini. 2814 2814 * 2815 2815 * @since 2.5.0 … … 2889 2889 2890 2890 /** 2891 * Filter the list of image editing library classes.2891 * Filters the list of image editing library classes. 2892 2892 * 2893 2893 * @since 3.5.0 … … 2954 2954 2955 2955 /** 2956 * Filter the Plupload default settings.2956 * Filters the Plupload default settings. 2957 2957 * 2958 2958 * @since 3.4.0 … … 2967 2967 2968 2968 /** 2969 * Filter the Plupload default parameters.2969 * Filters the Plupload default parameters. 2970 2970 * 2971 2971 * @since 3.4.0 … … 3185 3185 3186 3186 /** 3187 * Filter the attachment data prepared for JavaScript.3187 * Filters the attachment data prepared for JavaScript. 3188 3188 * 3189 3189 * @since 3.5.0 … … 3456 3456 3457 3457 /** 3458 * Filter the media view settings.3458 * Filters the media view settings. 3459 3459 * 3460 3460 * @since 3.5.0 … … 3466 3466 3467 3467 /** 3468 * Filter the media view strings.3468 * Filters the media view strings. 3469 3469 * 3470 3470 * @since 3.5.0 … … 3527 3527 3528 3528 /** 3529 * Filter arguments used to retrieve media attached to the given post.3529 * Filters arguments used to retrieve media attached to the given post. 3530 3530 * 3531 3531 * @since 3.6.0 … … 3540 3540 3541 3541 /** 3542 * Filter the list of media attached to the given post.3542 * Filters the list of media attached to the given post. 3543 3543 * 3544 3544 * @since 3.6.0 … … 3564 3564 3565 3565 /** 3566 * Filter the embedded media types that are allowed to be returned from the content blob.3566 * Filters the embedded media types that are allowed to be returned from the content blob. 3567 3567 * 3568 3568 * @since 4.2.0 … … 3634 3634 3635 3635 /** 3636 * Filter the list of all found galleries in the given post.3636 * Filters the list of all found galleries in the given post. 3637 3637 * 3638 3638 * @since 3.6.0 … … 3658 3658 3659 3659 /** 3660 * Filter the first-found post gallery.3660 * Filters the first-found post gallery. 3661 3661 * 3662 3662 * @since 3.6.0 … … 3760 3760 3761 3761 /** 3762 * Filter an attachment id found by URL.3762 * Filters an attachment id found by URL. 3763 3763 * 3764 3764 * @since 4.2.0
Note: See TracChangeset
for help on using the changeset viewer.