Changes between Initial Version and Version 1 of Ticket #46187, comment 7
- Timestamp:
- 11/24/2020 05:16:09 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46187, comment 7
initial v1 1 Well, both of those arguments are notvalid.1 Well, none of those arguments is valid. 2 2 3 3 You need to follow the coding standards in the code you write and you are not responsible for the dynamic part of the filter. An example of that is `save_post_{$post->post_type}`, where `post_type` can have some characters like `-` which apparently are not as per the coding standards for filter names, although there is nothing mentioned about filter names in WPCS. Another example is `admin_post_{$action}`, where I can write anything as `$action`, including `/`.