Skip to content

Conversation

@Ref34t
Copy link

@Ref34t Ref34t commented Aug 7, 2025

  • Rename McpCustomPostTypesTools to McpCustomPostsTools to accurately reflect functionality
  • Update method names from 'custom_post_type' to 'custom_post' throughout the class
  • Fix descriptions and comments to clarify these handle individual posts, not post type definitions
  • Update class loader and test references to use new class name

Resolves #85: Methods in McpCustomPostTypesTools.php were incorrectly named as they handle custom posts rather than post type definitions.

- Rename McpCustomPostTypesTools to McpCustomPostsTools to accurately reflect functionality
- Update method names from 'custom_post_type' to 'custom_post' throughout the class
- Fix descriptions and comments to clarify these handle individual posts, not post type definitions
- Update class loader and test references to use new class name

Resolves Automattic#85: Methods in McpCustomPostTypesTools.php were incorrectly named
as they handle custom posts rather than post type definitions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Most of custom post type tools are not for custom post types

1 participant