[wp-trac] [WordPress Trac] #11302: Bulk editing posts should pre-fill fields with the same value / allow for removal
WordPress Trac
noreply at wordpress.org
Sun Nov 12 16:43:59 UTC 2023
#11302: Bulk editing posts should pre-fill fields with the same value / allow for
removal
-------------------------+-------------------------------------------------
Reporter: pavelevap | Owner: francina
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.5
Component: Quick/Bulk | Version: 2.9
Edit |
Severity: normal | Resolution:
Keywords: | Focuses: accessibility, javascript,
| administration
-------------------------+-------------------------------------------------
Comment (by oglekler):
Update: Patch is working. There is just another '"' is missed after `name`
argument. But I am suggesting to add this check as well:
{{{
if ( ! $( this ).parent().find(
'input[name="indeterminate_post_category[]"]' ).length ) {
// Set indeterminate states for the backend.
$( this ).after( '<input type="hidden"
name="indeterminate_post_category[]" value="' + $( this ).val() + '">' );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11302#comment:93>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list