PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
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/deprecated/frontend/breadcrumbs.php +2 -3 18.228.5 View file →
@@ -105,11 +105,9 @@
105 105 *
106 106 * @return static The instance.
107 107 */
108 108 public static function get_instance() {
109 - if ( is_null( self::$instance ) ) {
110 - self::$instance = new self();
111 - }
109 + self::$instance ??= new self();
112 110
113 111 return self::$instance;
114 112 }
115 113
@@ -131,8 +129,9 @@
131 129 */
132 130 private function render() {
133 131 $presenter = new Breadcrumbs_Presenter();
134 132 $context = $this->context_memoizer->for_current_page();
133 +
135 134 /** This filter is documented in src/integrations/front-end-integration.php */
136 135 $presentation = apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
137 136 $presenter->presentation = $presentation;
138 137 $presenter->replace_vars = $this->replace_vars;