Changes between Initial Version and Version 1 of Ticket #54840, comment 5
- Timestamp:
- 01/25/2022 08:59:24 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54840, comment 5
initial v1 1 1 Replying to [comment:3 costdev]: 2 > PR added with unit tests. Milestoning for 6.0. 2 > PR added with unit tests. Milestoning for 6.0.' 3 4 EDIT: Sorry, I just had some bad code hanging around in my testing. It does not seem to be a problem with get_terms. 3 5 4 6 I don't know if this should be posted here as a comment, or if a new ticket should be created, but this seems to happen with get_terms() also. If you choose to fetch by name but don't run esc_attr() first, it will not find a term with single quotes in it. One would think get_terms() would find a term inserted by wp_insert_term() without modifications.