[wp-meta] [Making WordPress.org] #7981: Fix category ID selector in WordPress.tv editor
Making WordPress.org
noreply at wordpress.org
Thu May 22 15:55:03 UTC 2025
#7981: Fix category ID selector in WordPress.tv editor
--------------------------+-----------------------
Reporter: nilovelez | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: WordPress.tv | Keywords: has-patch
--------------------------+-----------------------
In one of the last versions of WordPress, the code for each checkbox in
the categories meta tag of the classic editor has changed from:
{{{
<input value="107686937" type="checkbox" name="post_category[]" id="in-
category-107686937">
}}}
to:
{{{
<input value="107686937" type="checkbox" name="post_category[]" id="in-
category-107686937-2">
}}}
That "-2" breaks the selector of the javascript used in the WPTV editor to
apply categories.
The change has tobe made in line 523 of
https://meta.svn.wordpress.org/sites/trunk/wordpress.tv/public_html/wp-
content/themes/wptv2/plugins/wordpresstv-anon-upload/anon-upload.php
I include the required patch, with base in
https://meta.svn.wordpress.org/sites/trunk/wordpress.tv/public_html/wp-
content/themes/wptv2/
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7981>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list