Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 890 forks source link

Extend `post` and `page` features to all applicable post types #8105

Closed moorscode closed 6 years ago

moorscode commented 6 years ago

We need to introduce a helper function which returns a list of post types that we need to consider in our features.

This is a basic list that can be sub-filtered in the specific implementation to allow for more fine-grained control.

We need to implement a couple of levels to make sure we only include post types which are 'workable' for the features we want to show on them.

This includes:

We also need to implement checks to deal with an empty list of post types.

Based upon https://github.com/Yoast/wordpress-seo-premium/pull/1380

andizer commented 6 years ago

WIP: I've created branch 8105-add-accessible-posts-helper. So this can picked up by somebody else if necessary.

moorscode commented 6 years ago

Related https://github.com/Yoast/wordpress-seo/issues/2751