Changeset 602 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/masthead.php
- Timestamp:
- 05/09/2014 07:30:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/masthead.php
r81 r602 1 1 <?php 2 add_filter('wp_get_attachment_image_attributes', 'wporg_relative_images'); 3 function wporg_relative_images($attr) { 4 $url = $attr['src']; 5 $attr['src'] = set_url_scheme( $url ); 6 return $attr; 7 } 8 ?> 2 9 <header class="masthead"> 3 10 <?php while ( have_posts() ) : the_post(); ?>
Note: See TracChangeset
for help on using the changeset viewer.