Changeset 11501
- Timestamp:
- 02/02/2022 02:49:00 AM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php
r11431 r11501 42 42 43 43 if ( empty( $screenshot ) ) { 44 $prefix = is_ssl() ? 'https://' : 'http://s.'; 45 $screenshot = $prefix.'wordpress.com/mshots/v1/http%3A%2F%2F' . get_site_domain( true, false ); 44 $screenshot = 'https://wordpress.com/mshots/v1/http%3A%2F%2F' . get_site_domain( true, false ); 46 45 } elseif ( function_exists( 'jetpack_photon_url' ) ) { 47 46 $screenshot = jetpack_photon_url( $screenshot ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
r11496 r11501 5 5 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 6 6 7 $prefix = is_ssl() ? 'https://' : 'http://s.'; 8 wp_enqueue_style( 'blog-wp4', $prefix.'wordpress.org/style/blog-wp4.css', array(), 4 ); 9 wp_enqueue_style( 'showcase', get_stylesheet_uri(), array(), 20 ); 7 wp_enqueue_style( 'blog-wp4', 'https://wordpress.org/style/blog-wp4.css', array(), 4 ); 8 wp_enqueue_style( 'showcase', get_stylesheet_uri(), array( 'dashicons' ), 20 ); 10 9 11 10 ?>
Note: See TracChangeset
for help on using the changeset viewer.