PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/presentations/indexable-home-page-presentation.php +3 -5 18.9 → trunk View file →
@@ -20,20 +20,18 @@
20 20 if ( $this->model->canonical ) {
21 21 return $this->model->canonical;
22 22 }
23 23
24 - $permalink = $this->get_permalink();
25 -
26 - if ( ! $permalink ) {
24 + if ( ! $this->permalink ) {
27 25 return '';
28 26 }
29 27
30 28 $current_page = $this->pagination->get_current_archive_page_number();
31 29 if ( $current_page > 1 ) {
32 - return $this->pagination->get_paginated_url( $permalink, $current_page );
30 + return $this->pagination->get_paginated_url( $this->permalink, $current_page );
33 31 }
34 32
35 - return $permalink;
33 + return $this->permalink;
36 34 }
37 35
38 36 /**
39 37 * Generates the meta description.