[wp-trac] [WordPress Trac] #40954: Create Category within posts screen error
WordPress Trac
noreply at wordpress.org
Sun Apr 21 22:44:01 UTC 2024
#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 smirnov20):
Please note the following:
Replace 'add-category' with the actual action name used in your WordPress
admin-ajax call.
Adjust the data sent in the jQuery.ajax call according to your specific
requirements.
Ensure that the response from the admin-ajax call is in the expected
format and contains the necessary information for updating the category
list and parent select box.
This code assumes the use of jQuery for making AJAX requests and
manipulating the DOM. If you're using a different library or framework,
adjust the code accordingly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40954#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list