New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce meta description presenter #13411
Conversation
…ription-presenter
…ription-presenter
…ription-presenter
/** | ||
* @var Meta_Description_Presenter | ||
*/ | ||
protected $post_type_meta_description_presenter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid excessively long variable names like $post_type_meta_description_presenter. Keep variable name length under 30.
* @param Meta_Description_Presenter $post_type_meta_description_presenter | ||
*/ | ||
public function __construct( | ||
Post_Type_Meta_Description_Presenter $post_type_meta_description_presenter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid excessively long variable names like $post_type_meta_description_presenter. Keep variable name length under 30.
Summary
Introduces the first presenter for indexables. Intended primarily to serve as an example for future development.
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test instructions
This PR can be tested by following these steps:
YOAST_SEO_EXPERIMENTAL_PHP56
andYOAST_SEO_INDEXABLES
feature flags.Documentation
Quality assurance