Skip to content

Commit 4e4327e

Browse files
committed
CS fix
1 parent b45c581 commit 4e4327e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

classes/suggested-tasks/providers/class-hello-world.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function get_description() {
9595
return \esc_html__( 'On install, WordPress creates a "Hello World!" post. This post is not needed and should be deleted.', 'progress-planner' );
9696
}
9797

98-
$hello_world_post_url = \get_permalink( $hello_world_post_id );
98+
$hello_world_post_url = (string) \get_permalink( $hello_world_post_id );
9999

100100
return '<p>' . \sprintf(
101101
/* translators: %s: Link to the post. */

classes/suggested-tasks/providers/class-sample-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected function get_description() {
9494
return \esc_html__( 'On install, WordPress creates a "Sample Page" page. This page does not add value to your website and solely exists to show what a page can look like. Therefore, "Sample Page" is not needed and should be deleted.', 'progress-planner' );
9595
}
9696

97-
$sample_page_url = \get_permalink( $sample_page_id );
97+
$sample_page_url = (string) \get_permalink( $sample_page_id );
9898

9999
return '<p>' . \sprintf(
100100
/* translators: %s: Link to the post. */

0 commit comments

Comments
 (0)