rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -10,14 +10,17 @@ use Yoast\WP\SEO\Models\Indexable;
*
* Presentation object for indexables.
*
* @property Indexable $model The indexable.
* @property Pagination_Helper $pagination The pagination helper. Should be defined in the parent
* class because of trait issues in PHP 5.6.
* For a detailed explanation of the issue, see
* {@link https://github.com/Yoast/wordpress-seo/pull/18820}.
* @property Indexable $model The indexable.
*/
trait Archive_Adjacent {
/**
* Holds the Pagination_Helper instance.
*
* @var Pagination_Helper
*/
protected $pagination;
/**
* Sets the helpers for the trait.
*

View File

@@ -3,7 +3,6 @@
namespace Yoast\WP\SEO\Presentations;
use Yoast\WP\SEO\Helpers\Author_Archive_Helper;
use Yoast\WP\SEO\Helpers\Pagination_Helper;
use Yoast\WP\SEO\Helpers\Post_Type_Helper;
/**
@@ -29,13 +28,6 @@ class Indexable_Author_Archive_Presentation extends Indexable_Presentation {
*/
protected $author_archive;
/**
* Holds the Pagination_Helper instance.
*
* @var Pagination_Helper
*/
protected $pagination;
/**
* Indexable_Author_Archive_Presentation constructor.
*

View File

@@ -2,8 +2,6 @@
namespace Yoast\WP\SEO\Presentations;
use Yoast\WP\SEO\Helpers\Pagination_Helper;
/**
* Class Indexable_Home_Page_Presentation.
*
@@ -13,13 +11,6 @@ class Indexable_Home_Page_Presentation extends Indexable_Presentation {
use Archive_Adjacent;
/**
* Holds the Pagination_Helper instance.
*
* @var Pagination_Helper
*/
protected $pagination;
/**
* Generates the canonical.
*

View File

@@ -2,8 +2,6 @@
namespace Yoast\WP\SEO\Presentations;
use Yoast\WP\SEO\Helpers\Pagination_Helper;
/**
* Class Indexable_Post_Type_Archive_Presentation.
*
@@ -13,13 +11,6 @@ class Indexable_Post_Type_Archive_Presentation extends Indexable_Presentation {
use Archive_Adjacent;
/**
* Holds the Pagination_Helper instance.
*
* @var Pagination_Helper
*/
protected $pagination;
/**
* Generates the canonical.
*

View File

@@ -3,7 +3,6 @@
namespace Yoast\WP\SEO\Presentations;
use WP_Term;
use Yoast\WP\SEO\Helpers\Pagination_Helper;
use Yoast\WP\SEO\Helpers\Taxonomy_Helper;
use Yoast\WP\SEO\Wrappers\WP_Query_Wrapper;
@@ -18,13 +17,6 @@ class Indexable_Term_Archive_Presentation extends Indexable_Presentation {
use Archive_Adjacent;
/**
* Holds the Pagination_Helper instance.
*
* @var Pagination_Helper
*/
protected $pagination;
/**
* Holds the WP query wrapper instance.
*