Skip to content

Commit 29a5596

Browse files
committed
Purge v5.0.0 deprecations.
1 parent 9b511b2 commit 29a5596

33 files changed

+20
-9355
lines changed

autodescription.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: The SEO Framework
44
* Plugin URI: https://theseoframework.com/
55
* Description: An automated, advanced, accessible, unbranded and extremely fast SEO solution for your WordPress website.
6-
* Version: 5.1.3-dev-19
6+
* Version: 5.1.3-dev-20
77
* Author: Sybre Waaijer
88
* Author URI: https://theseoframework.com/
99
* Troy: https://repo.theseoframework.com/

inc/classes/bridges/index.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

inc/classes/bridges/scripts.class.php

Lines changed: 0 additions & 52 deletions
This file was deleted.

inc/classes/bridges/sitemap.class.php

Lines changed: 0 additions & 89 deletions
This file was deleted.

inc/classes/builders/index.php

Lines changed: 0 additions & 8 deletions
This file was deleted.

inc/classes/builders/scripts.class.php

Lines changed: 0 additions & 78 deletions
This file was deleted.

inc/classes/builders/sitemap/index.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

inc/classes/builders/sitemap/main.class.php

Lines changed: 0 additions & 56 deletions
This file was deleted.

inc/classes/front/meta/generator/description.class.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,6 @@ public static function generate_description() {
5151

5252
$description = Meta\Description::get_description();
5353

54-
if ( \has_filter( 'the_seo_framework_description_output' ) ) {
55-
/**
56-
* @since 2.3.0
57-
* @since 2.7.0 Added output within filter.
58-
* @since 5.0.0 Deprecated.
59-
* @deprecated
60-
* @param string $description The generated description.
61-
* @param int $id The page or term ID.
62-
*/
63-
$description = (string) \apply_filters_deprecated(
64-
'the_seo_framework_description_output',
65-
[
66-
$description,
67-
\The_SEO_Framework\Helper\Query::get_the_real_id(),
68-
],
69-
'5.0.0 of The SEO Framework',
70-
'the_seo_framework_meta_render_data',
71-
);
72-
}
73-
7454
if ( \strlen( $description ) )
7555
yield 'description' => [
7656
'attributes' => [

0 commit comments

Comments
 (0)