WebDevStudios / custom-post-type-ui

Admin UI settings for creating custom post types and taxonomies in WordPress
https://webdevstudios.com
GNU General Public License v2.0
627 stars 143 forks source link

Include checks for "has_archive_string" saved value before warning about post type slug conflict #936

Open tw2113 opened 1 year ago

tw2113 commented 1 year ago

This will be particularly true for page slug checks, and if has_archive is also set to true for the post type.

Logic being if it's going to have a custom archive slug that won't match a page, allow it without notification. Same thing if not set to have an archive in the first place.