[wp-trac] [WordPress Trac] #40954: Create Category within posts screen error
WordPress Trac
noreply at wordpress.org
Mon Nov 3 11:37:10 UTC 2025
#40954: Create Category within posts screen error
-------------------------------+-------------------------
Reporter: cfastenrath | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version: 4.8
Severity: normal | Resolution: invalid
Keywords: close | Focuses: javascript
-------------------------------+-------------------------
Comment (by zeeshanrokri):
Response from admin-ajax call:
{{{#!php
<?php
<?xml version='1.0' encoding='UTF-8' standalone='yes'?><wp_ajax><response
action='add-category_9'><category id='9'
position='-1'><response_data><![CDATA[<li id='category-9'><label
class="selectit"><input value="9" type="checkbox" name="post_category[]"
id="in-category-9" checked='checked' />
again</label></li>]]></response_data><supplemental><newcat_parent><![CDATA[<select
name='newcategory_parent' id='newcategory_parent' class='postform' >
<option value='-1'>— Übergeordnete Kategorie
—</option>
<option class="level-0" value="9">again</option>
<option class="level-0" value="1">Allgemein</option>
<option class="level-0" value="8">Nochmal</option>
<option class="level-0" value="7">Test</option>
</select>
]]></newcat_parent></supplemental></category></response></wp_ajax>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40954#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list