Permalink
Browse files

Small changes to sync the child theme with parent theme version 1.2

  • Loading branch information...
1 parent a358c0b commit 2250661e1c180bf5a7a12733a582fd1d73b9ed34 @jlyman committed Oct 19, 2013
Showing with 14 additions and 7 deletions.
  1. +3 −1 README.md
  2. +1 −1 content-aside.php
  3. +1 −1 content-image.php
  4. +3 −0 content-page.php
  5. +1 −1 content.php
  6. +2 −2 functions.php
  7. +3 −1 readme.txt
View
@@ -39,4 +39,6 @@ Changelog
* 1.1.1
* Match the official 1.1.1 version, released with WP 3.5
* 1.1.2
- * Fix for typo in functions.php to allow Schema.org markup in posts.
+ * Fix for typo in functions.php to allow Schema.org markup in posts.
+* 1.2
+ * Match the official 1.2 release
View
@@ -10,7 +10,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemscope itemtype="http://schema.org/Article">
<div class="aside">
- <h1 class="entry-title" itemprop="headline"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a></h1>
+ <h1 class="entry-title" itemprop="headline"><a href="<?php the_permalink(); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a></h1>
<div class="entry-content" itemprop="articleBody">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
</div><!-- .entry-content -->
View
@@ -14,7 +14,7 @@
</div><!-- .entry-content -->
<footer class="entry-meta">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" itemprop="url">
+ <a href="<?php the_permalink(); ?>" rel="bookmark" itemprop="url">
<h1><?php the_title(); ?></h1>
<h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" itemprop="datePublished"><?php echo get_the_date(); ?></time></h2>
</a>
View
@@ -10,6 +10,9 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemscope itemtype="http://schema.org/Article">
<header class="entry-header">
+ <?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
+ <?php the_post_thumbnail(); ?>
+ <?php endif; ?>
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
</header>
View
@@ -20,7 +20,7 @@
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
<?php else : ?>
<h1 class="entry-title" itemprop="headline">
- <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a>
+ <a href="<?php the_permalink(); ?>" rel="bookmark" itemprop="url"><?php the_title(); ?></a>
</h1>
<?php endif; // is_single() ?>
<?php if ( comments_open() ) : ?>
View
@@ -72,10 +72,10 @@ function twentytwelve_comment( $comment, $args, $depth ) {
<header class="comment-meta comment-author vcard" itemprop="creator" itemscope itemtype="http://schema.org/Person">
<?php
echo get_avatar( $comment, 44 );
- printf( '<cite class="fn">%1$s %2$s</cite>',
+ printf( '<cite><b class="fn">%1$s</b> %2$s</cite>',
get_comment_author_link(),
// If current post author is also comment author, make it known visually.
- ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
+ ( $comment->user_id === $post->post_author ) ? '<span>' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''
);
printf( '<a href="%1$s"><time datetime="%2$s" itemprop="commentTime">%3$s</time></a>',
esc_url( get_comment_link( $comment->comment_ID ) ),
View
@@ -32,4 +32,6 @@ No idea. I highly doubt it. But you will be contributing to machine readable dat
= 1.1.1 =
* Match the official 1.1.1 version, released with WP 3.5
= 1.1.2 =
-* Fix for typo in functions.php to allow Schema.org markup in posts.
+* Fix for typo in functions.php to allow Schema.org markup in posts.
+= 1.2 =
+* Match the official 1.2 release

0 comments on commit 2250661

Please sign in to comment.