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-static-posts-page-presentation.php +3 -4 18.7 → trunk View file →
@@ -30,15 +30,14 @@
30 30 return $this->model->canonical;
31 31 }
32 32
33 33 $current_page = $this->pagination->get_current_archive_page_number();
34 - $permalink = $this->get_permalink();
35 34
36 35 if ( $current_page > 1 ) {
37 - return $this->pagination->get_paginated_url( $permalink, $current_page );
36 + return $this->pagination->get_paginated_url( $this->permalink, $current_page );
38 37 }
39 38
40 - return $permalink;
39 + return $this->permalink;
41 40 }
42 41
43 42 /**
44 43 * Generates the Open Graph URL.
@@ -45,7 +44,7 @@
45 44 *
46 45 * @return string The Open Graph URL.
47 46 */
48 47 public function generate_open_graph_url() {
49 - return $this->get_permalink();
48 + return $this->permalink;
50 49 }
51 50 }