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/integrations/admin/indexing-tool-integration.php +4 -34 18.428.5 View file →
@@ -127,11 +127,13 @@
127 127 }
128 128
129 129 /**
130 130 * Register hooks.
131 + *
132 + * @return void
131 133 */
132 134 public function register_hooks() {
133 - \add_action( 'wpseo_tools_overview_list_items', [ $this, 'render_indexing_list_item' ], 10 );
135 + \add_action( 'wpseo_tools_overview_list_items_internal', [ $this, 'render_indexing_list_item' ], 10 );
134 136 \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ], 10 );
135 137 }
136 138
137 139 /**
@@ -175,9 +177,9 @@
175 177 protected function render_indexing_error() {
176 178 $presenter = new Indexing_Error_Presenter(
177 179 $this->short_link_helper,
178 180 $this->product_helper,
179 - $this->addon_manager
181 + $this->addon_manager,
180 182 );
181 183
182 184 return $presenter->present();
183 185 }
@@ -242,38 +244,6 @@
242 244 }
243 245 }
244 246
245 247 return $importing_endpoints;
246 - }
247 -
248 - /**
249 - * Returns the total number of unindexed objects.
250 - *
251 - * @deprecated 15.3
252 - * @codeCoverageIgnore
253 - *
254 - * @param int $unindexed_count The total number of unindexed indexables.
255 - *
256 - * @return int The total number of unindexed objects.
257 - */
258 - public function get_unindexed_indexables_count( $unindexed_count = 0 ) {
259 - \_deprecated_function( __METHOD__, 'WPSEO 15.3' );
260 -
261 - return $this->indexing_helper->get_unindexed_count();
262 - }
263 -
264 - /**
265 - * Returns the total number of unindexed objects and applies a filter for third party integrations.
266 - *
267 - * @deprecated 15.3
268 - * @codeCoverageIgnore
269 - *
270 - * @param int $unindexed_count The total number of unindexed objects.
271 - *
272 - * @return int The total number of unindexed objects.
273 - */
274 - public function get_unindexed_count( $unindexed_count = 0 ) {
275 - \_deprecated_function( __METHOD__, 'WPSEO 15.3' );
276 -
277 - return $this->indexing_helper->get_filtered_unindexed_count();
278 248 }
279 249 }