From eff0c5ddd50698b41c87a40885bfedd8be58baae Mon Sep 17 00:00:00 2001
From: Marco Martins <marcomartins@fimdalinha.com>
Date: Thu, 14 Jun 2018 16:10:53 +0300
Subject: [PATCH] 44360 - wp-includes/theme-compat
---
wp-includes/theme-compat/comments.php | 8 +++++---
wp-includes/theme-compat/sidebar.php | 12 ++++++------
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/wp-includes/theme-compat/comments.php b/wp-includes/theme-compat/comments.php
index 0f2e901..9736ff7 100644
a
|
b
|
if ( post_password_required() ) { ?> |
33 | 33 | <h3 id="comments"> |
34 | 34 | <?php |
35 | 35 | if ( 1 == get_comments_number() ) { |
36 | | /* translators: %s: post title */ |
37 | | printf( __( 'One response to %s' ), '“' . get_the_title() . '”' ); |
| 36 | printf( |
| 37 | /* translators: %s: post title */ |
| 38 | __( 'One response to %s' ), '“' . get_the_title() . '”' |
| 39 | ); |
38 | 40 | } else { |
39 | | /* translators: 1: number of comments, 2: post title */ |
40 | 41 | printf( |
| 42 | /* translators: 1: number of comments, 2: post title */ |
41 | 43 | _n( '%1$s response to %2$s', '%1$s responses to %2$s', get_comments_number() ), |
42 | 44 | number_format_i18n( get_comments_number() ), '“' . get_the_title() . '”' |
43 | 45 | ); |
diff --git a/wp-includes/theme-compat/sidebar.php b/wp-includes/theme-compat/sidebar.php
index 45ef03d..64b5bb5 100644
a
|
b
|
_deprecated_file( |
41 | 41 | <?php elseif ( is_category() ) : /* If this is a category archive */ ?> |
42 | 42 | <p> |
43 | 43 | <?php |
44 | | /* translators: %s: category name */ |
45 | 44 | printf( |
| 45 | /* translators: %s is the category name */ |
46 | 46 | __( 'You are currently browsing the archives for the %s category.' ), |
47 | 47 | single_cat_title( '', false ) |
48 | 48 | ); |
… |
… |
_deprecated_file( |
52 | 52 | <?php elseif ( is_day() ) : /* If this is a daily archive */ ?> |
53 | 53 | <p> |
54 | 54 | <?php |
55 | | /* translators: 1: site link, 2: archive date */ |
56 | 55 | printf( |
| 56 | /* translators: 1: site link, 2: archive date */ |
57 | 57 | __( 'You are currently browsing the %1$s blog archives for the day %2$s.' ), |
58 | 58 | sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ), |
59 | 59 | get_the_time( __( 'l, F jS, Y' ) ) |
… |
… |
_deprecated_file( |
64 | 64 | <?php elseif ( is_month() ) : /* If this is a monthly archive */ ?> |
65 | 65 | <p> |
66 | 66 | <?php |
67 | | /* translators: 1: site link, 2: archive month */ |
68 | 67 | printf( |
| 68 | /* translators: 1: site link, 2: archive month */ |
69 | 69 | __( 'You are currently browsing the %1$s blog archives for %2$s.' ), |
70 | 70 | sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ), |
71 | 71 | get_the_time( __( 'F, Y' ) ) |
… |
… |
_deprecated_file( |
76 | 76 | <?php elseif ( is_year() ) : /* If this is a yearly archive */ ?> |
77 | 77 | <p> |
78 | 78 | <?php |
79 | | /* translators: 1: site link, 2: archive year */ |
80 | 79 | printf( |
| 80 | /* translators: 1: site link, 2: archive year */ |
81 | 81 | __( 'You are currently browsing the %1$s blog archives for the year %2$s.' ), |
82 | 82 | sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ), |
83 | 83 | get_the_time( 'Y' ) |
… |
… |
_deprecated_file( |
88 | 88 | <?php elseif ( is_search() ) : /* If this is a search result */ ?> |
89 | 89 | <p> |
90 | 90 | <?php |
91 | | /* translators: 1: site link, 2: search query */ |
92 | 91 | printf( |
| 92 | /* translators: 1: site link, 2: search query */ |
93 | 93 | __( 'You have searched the %1$s blog archives for <strong>‘%2$s’</strong>. If you are unable to find anything in these search results, you can try one of these links.' ), |
94 | 94 | sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ), |
95 | 95 | esc_html( get_search_query() ) |
… |
… |
_deprecated_file( |
100 | 100 | <?php elseif ( isset( $_GET['paged'] ) && ! empty( $_GET['paged'] ) ) : /* If this set is paginated */ ?> |
101 | 101 | <p> |
102 | 102 | <?php |
103 | | /* translators: %s: site link */ |
104 | 103 | printf( |
| 104 | /* translators: %s: site link */ |
105 | 105 | __( 'You are currently browsing the %s blog archives.' ), |
106 | 106 | sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ) |
107 | 107 | ); |