| @@ -55,8 +55,20 @@ | ||
| 55 | 55 | wp_cache_delete( 'lastpostmodified:gmt:' . $post_type, 'timeinfo' ); // #17455. |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | + * Notify Google of the updated sitemap. | |
| 60 | + * | |
| 61 | + * @deprecated 22.0 | |
| 62 | + * @codeCoverageIgnore | |
| 63 | + * | |
| 64 | + * @return void | |
| 65 | + */ | |
| 66 | + public function ping_search_engines() { | |
| 67 | + _deprecated_function( __METHOD__, 'Yoast SEO 22.0' ); | |
| 68 | + } | |
| 69 | + | |
| 70 | + /** | |
| 59 | 71 | * While bulk importing, just save unique post_types. |
| 60 | 72 | * |
| 61 | 73 | * When importing is done, if we have a post_type that is saved in the sitemap |
| 62 | 74 | * try to ping the search engines. |