Changeset 10020 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
- Timestamp:
- 07/07/2020 02:01:55 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r10000 r10020 671 671 ); 672 672 673 $theme_data = implode( '', file( $theme_file ) ); 673 $context = stream_context_create( array( 674 'http' => array( 675 'user_agent' => 'WordPress.org Theme Directory' 676 ) 677 ) ); 678 679 $theme_data = file_get_contents( $theme_file, false, $context ); 680 674 681 $theme_data = str_replace( '\r', '\n', $theme_data ); 675 682 preg_match( '|^[ \t\/*#@]*Theme Name:(.*)$|mi', $theme_data, $theme_name );
Note: See TracChangeset
for help on using the changeset viewer.