[wp-trac] [WordPress Trac] #65055: _pad_term_counts() uses string-concatenated SQL without prepared statement
WordPress Trac
noreply at wordpress.org
Tue Apr 14 06:48:06 UTC 2026
#65055: _pad_term_counts() uses string-concatenated SQL without prepared statement
--------------------------+------------------------------
Reporter: rajeshcp | Owner: rajeshcp
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: trunk
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by abcd95):
* keywords: has-patch needs-testing => has-patch
Comment:
Replying to [comment:4 liaison]:
Thanks @liaison! agreed on the alignment with _update_post_term_count().
The updated patch incorporating post_type_exists() filtering looks solid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65055#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list