You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: classes/suggested-tasks/providers/class-disable-comment-pagination.php
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -99,8 +99,12 @@ protected function get_title() {
99
99
* @return string
100
100
*/
101
101
protectedfunctionget_description() {
102
-
/* translators: %d is the number of comments per page */
103
-
return\sprintf( \esc_html__( 'When comment pagination is enabled, your site creates a new page for every %d comments. This is not helping your website in search engines, and can break up the ongoing conversation. That\'s why we recommend to disable comment pagination.', 'progress-planner' ), (int) \get_option( 'comments_per_page' ) );
102
+
return\sprintf(
103
+
/* translators: %d is the number of comments per page, %s is the "recommend to disable comment pagination" link */
104
+
\esc_html__( 'When comment pagination is enabled, your site creates a new page for every %1$d comments. This is not helping your website in search engines, and can break up the ongoing conversation. That\'s why we %2$s.', 'progress-planner' ),
@@ -133,8 +137,12 @@ public function print_popover_instructions() {
133
137
?>
134
138
<p>
135
139
<?php
136
-
/* translators: %d is the number of comments per page */
137
-
\printf( \esc_html__( 'When comment pagination is enabled, your site creates a new page for every %d comments. This is not helping your website in search engines, and can break up the ongoing conversation. That\'s why we recommend to disable comment pagination.', 'progress-planner' ), (int) \get_option( 'comments_per_page' ) );
140
+
\printf(
141
+
/* translators: %d is the number of comments per page, %s is the "recommend to disable comment pagination" link */
142
+
\esc_html__( 'When comment pagination is enabled, your site creates a new page for every %1$d comments. This is not helping your website in search engines, and can break up the ongoing conversation. That\'s why we %2$s.', 'progress-planner' ),
0 commit comments