Changeset 43571 for trunk/src/wp-includes/media.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r43154 r43571 1553 1553 'caption' => '', 1554 1554 'class' => '', 1555 ), $attr, 'caption' 1555 ), 1556 $attr, 1557 'caption' 1556 1558 ); 1557 1559 … … 1723 1725 'exclude' => '', 1724 1726 'link' => '', 1725 ), $attr, 'gallery' 1727 ), 1728 $attr, 1729 'gallery' 1726 1730 ); 1727 1731 … … 1898 1902 */ 1899 1903 function wp_underscore_playlist_templates() { 1900 ?>1904 ?> 1901 1905 <script type="text/html" id="tmpl-wp-playlist-current-item"> 1902 1906 <# if ( data.image ) { #> … … 1937 1941 </div> 1938 1942 </script> 1939 <?php1943 <?php 1940 1944 } 1941 1945 … … 1950 1954 wp_enqueue_style( 'wp-mediaelement' ); 1951 1955 wp_enqueue_script( 'wp-playlist' ); 1952 ?>1956 ?> 1953 1957 <!--[if lt IE 9]><script>document.createElement('<?php echo esc_js( $type ); ?>');</script><![endif]--> 1954 <?php1958 <?php 1955 1959 add_action( 'wp_footer', 'wp_underscore_playlist_templates', 0 ); 1956 1960 add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 ); … … 2040 2044 'images' => true, 2041 2045 'artists' => true, 2042 ), $attr, 'playlist' 2046 ), 2047 $attr, 2048 'playlist' 2043 2049 ); 2044 2050 … … 2189 2195 <?php 2190 2196 echo (int) $theme_width; 2191 ?>2197 ?> 2192 2198 " 2193 2199 <?php … … 3295 3301 /** This filter is documented in wp-admin/includes/media.php */ 3296 3302 $possible_sizes = apply_filters( 3297 'image_size_names_choose', array( 3303 'image_size_names_choose', 3304 array( 3298 3305 'thumbnail' => __( 'Thumbnail' ), 3299 3306 'medium' => __( 'Medium' ), … … 3561 3568 WHERE post_type = %s 3562 3569 ORDER BY post_date DESC 3563 ", 'attachment' 3570 ", 3571 'attachment' 3564 3572 ) 3565 3573 ); … … 4127 4135 $data_to_export = array(); 4128 4136 4129 $user = get_user_by( 'email' 4137 $user = get_user_by( 'email', $email_address ); 4130 4138 if ( false === $user ) { 4131 4139 return array( … … 4152 4160 if ( $attachment_url ) { 4153 4161 $post_data_to_export = array( 4154 array( 'name' => __( 'URL' ), 'value' => $attachment_url ), 4162 array( 4163 'name' => __( 'URL' ), 4164 'value' => $attachment_url, 4165 ), 4155 4166 ); 4156 4167
Note: See TracChangeset
for help on using the changeset viewer.