Sfoglia il codice sorgente

Merge branch 'master' of github.com:Automattic/themes

Allan Cole 7 anni fa
parent
commit
ec25a132d4
49 ha cambiato i file con 15 aggiunte e 5 eliminazioni
  1. BIN
      affinity/assets/img/autumn.jpg
  2. BIN
      affinity/assets/img/camera.jpg
  3. BIN
      affinity/assets/img/car.jpg
  4. BIN
      affinity/assets/img/thumbs/camera.jpg
  5. BIN
      affinity/assets/img/thumbs/car.jpg
  6. BIN
      affinity/assets/img/thumbs/tulips.jpg
  7. BIN
      affinity/assets/img/tulips.jpg
  8. BIN
      affinity/assets/img/typewriter.jpg
  9. BIN
      affinity/screenshot.png
  10. 10 1
      altofocus/inc/extras.php
  11. BIN
      altofocus/screenshot.png
  12. BIN
      button-2/screenshot.png
  13. BIN
      canard/screenshot.png
  14. BIN
      dara/screenshot.png
  15. BIN
      gazette/screenshot.png
  16. BIN
      illustratr/screenshot.png
  17. BIN
      independent-publisher-2/screenshot.png
  18. BIN
      intergalactic-2/screenshot.png
  19. BIN
      ixion/screenshot.png
  20. BIN
      karuna/assets/images/header-thumb.jpg
  21. BIN
      karuna/assets/images/header.jpg
  22. BIN
      karuna/assets/images/header2-thumb.jpg
  23. BIN
      karuna/assets/images/header2.jpg
  24. BIN
      karuna/assets/images/header3-thumb.jpg
  25. BIN
      karuna/assets/images/header3.jpg
  26. BIN
      karuna/screenshot.png
  27. BIN
      libre-2/screenshot.png
  28. BIN
      libretto/images/grain.jpg
  29. BIN
      libretto/screenshot.png
  30. BIN
      lodestar/assets/images/header.jpg
  31. BIN
      lodestar/screenshot.png
  32. BIN
      penscratch-2/screenshot.png
  33. BIN
      pique/assets/images/default-header.jpg
  34. BIN
      pique/screenshot.png
  35. BIN
      publication/screenshot.png
  36. 2 2
      radcliffe-2/inc/template-tags.php
  37. BIN
      radcliffe-2/screenshot.png
  38. BIN
      radcliffe-2/styles/colorful.png
  39. BIN
      radcliffe-2/styles/default.png
  40. BIN
      radcliffe-2/styles/modern.png
  41. BIN
      radcliffe-2/styles/vintage.png
  42. BIN
      rebalance/screenshot.png
  43. 2 1
      scratchpad/inc/custom-header.php
  44. BIN
      scratchpad/screenshot.png
  45. 1 1
      scratchpad/style.css
  46. BIN
      shoreditch/screenshot.png
  47. BIN
      sketch/screenshot.png
  48. BIN
      textbook/screenshot.png
  49. BIN
      toujours/screenshot.png

BIN
affinity/assets/img/autumn.jpg


BIN
affinity/assets/img/camera.jpg


BIN
affinity/assets/img/car.jpg


BIN
affinity/assets/img/thumbs/camera.jpg


BIN
affinity/assets/img/thumbs/car.jpg


BIN
affinity/assets/img/thumbs/tulips.jpg


BIN
affinity/assets/img/tulips.jpg


BIN
affinity/assets/img/typewriter.jpg


BIN
affinity/screenshot.png


+ 10 - 1
altofocus/inc/extras.php

@@ -139,6 +139,12 @@ add_action( 'wp_head', 'altofocus_pingback_header' );
 function altofocus_slideshow_gallery_filter( $output, $attr ) {
 
 	global $post;
+	
+	static $count = 0;
+	
+	if ( $count > 0 ) {
+		return $output; // Ensure the gallery output is replaced once.
+	}
 
 	static $instance = 0;
 	$instance++;
@@ -222,5 +228,8 @@ function altofocus_slideshow_gallery_filter( $output, $attr ) {
 	}
 
 	$output .= '</section>';
+	
+	$count++; // Update counter after successful replacement.
+	
 	return $output;
-}
+}

BIN
altofocus/screenshot.png


BIN
button-2/screenshot.png


BIN
canard/screenshot.png


BIN
dara/screenshot.png


BIN
gazette/screenshot.png


BIN
illustratr/screenshot.png


BIN
independent-publisher-2/screenshot.png


BIN
intergalactic-2/screenshot.png


BIN
ixion/screenshot.png


BIN
karuna/assets/images/header-thumb.jpg


BIN
karuna/assets/images/header.jpg


BIN
karuna/assets/images/header2-thumb.jpg


BIN
karuna/assets/images/header2.jpg


BIN
karuna/assets/images/header3-thumb.jpg


BIN
karuna/assets/images/header3.jpg


BIN
karuna/screenshot.png


BIN
libre-2/screenshot.png


BIN
libretto/images/grain.jpg


BIN
libretto/screenshot.png


BIN
lodestar/assets/images/header.jpg


BIN
lodestar/screenshot.png


BIN
penscratch-2/screenshot.png


BIN
pique/assets/images/default-header.jpg


BIN
pique/screenshot.png


BIN
publication/screenshot.png


+ 2 - 2
radcliffe-2/inc/template-tags.php

@@ -66,14 +66,14 @@ function radcliffe_2_entry_footer() {
 	if ( 'post' === get_post_type() ) {
 		/* translators: used between list items, there is a space after the comma */
 		$categories_list = get_the_category_list( esc_html__( ', ', 'radcliffe-2' ) );
-		if ( $categories_list ) {
+		if ( $categories_list && ! is_wp_error( $categories_list ) ) {
 			/* translators: 1: list of categories. */
 			echo '<span class="cat-links">' . radcliffe_2_get_svg( array( 'icon' => 'category', 'title' => esc_html__( 'Categories', 'radcliffe-2' ) ) ) . $categories_list . '</span>';
 		}
 
 		/* translators: used between list items, there is a space after the comma */
 		$tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'radcliffe-2' ) );
-		if ( $tags_list ) {
+		if ( $tags_list && ! is_wp_error( $tags_list ) ) {
 			/* translators: 1: list of tags. */
 			echo '<span class="tags-links">' . radcliffe_2_get_svg( array( 'icon' => 'tag', 'title' => esc_html__( 'Tags', 'radcliffe-2' ) ) ) . $tags_list . '</span>';
 		}

BIN
radcliffe-2/screenshot.png


BIN
radcliffe-2/styles/colorful.png


BIN
radcliffe-2/styles/default.png


BIN
radcliffe-2/styles/modern.png


BIN
radcliffe-2/styles/vintage.png


BIN
rebalance/screenshot.png


+ 2 - 1
scratchpad/inc/custom-header.php

@@ -65,7 +65,8 @@ function scratchpad_header_style() {
 		// If the user has set a custom color for the text use that.
 		else :
 	?>
-		.site-title a {
+		#masthead .site-title a,
+		#masthead .site-description {
 			color: #<?php echo esc_attr( $header_text_color ); ?>;
 		}
 	<?php endif; ?>

BIN
scratchpad/screenshot.png


+ 1 - 1
scratchpad/style.css

@@ -4,7 +4,7 @@ Theme URI: http://theme.wordpress.com/themes/scratchpad
 Author: Automattic
 Author URI: http://wordpress.com/themes
 Description: A colorful theme for collecting your ideas.
-Version: 1.0.5-wpcom
+Version: 1.0.6-wpcom
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: scratchpad

BIN
shoreditch/screenshot.png


BIN
sketch/screenshot.png


BIN
textbook/screenshot.png


BIN
toujours/screenshot.png