Closed lapubell closed 2 years ago
When creating a new CPT, if the name ends in Y then we get bad grammer in the post archive permalink.
Example: CPT Name: "facility"
$f = new PostType('facility');
Now, when visiting the post archive, the permalink says /facilitys instead of /facilities.
/facilitys
/facilities
When creating a new CPT, if the name ends in Y then we get bad grammer in the post archive permalink.
Example: CPT Name: "facility"
Now, when visiting the post archive, the permalink says
/facilitys
instead of/facilities
.