Changeset 44785 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 03/01/2019 08:57:26 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/deprecated.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r43174 r44785 1879 1879 // We have a thumbnail desired, specified and existing 1880 1880 1881 $src_file = basename($src);1881 $src_file = wp_basename($src); 1882 1882 } elseif ( wp_attachment_is_image( $post->ID ) ) { 1883 1883 // We have an image without a thumbnail … … 1889 1889 1890 1890 $icon_dir = apply_filters( 'icon_dir', get_template_directory() . '/images' ); 1891 $src_file = $icon_dir . '/' . basename($src);1891 $src_file = $icon_dir . '/' . wp_basename($src); 1892 1892 } 1893 1893 … … 3059 3059 function get_theme_data( $theme_file ) { 3060 3060 _deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' ); 3061 $theme = new WP_Theme( basename( dirname( $theme_file ) ), dirname( dirname( $theme_file ) ) );3061 $theme = new WP_Theme( wp_basename( dirname( $theme_file ) ), dirname( dirname( $theme_file ) ) ); 3062 3062 3063 3063 $theme_data = array(
Note: See TracChangeset
for help on using the changeset viewer.