Merge branch 'woocommerce:trunk' into trunk

This commit is contained in:
Sandeep Rajakrishnan 2021-09-07 19:01:44 +05:30 committed by GitHub
commit 78bc4779ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ jQuery(
$( 'select[name="_backorders"] option[value="' + backorders + '"]', '.inline-edit-row' ).attr( 'selected', 'selected' ); $( 'select[name="_backorders"] option[value="' + backorders + '"]', '.inline-edit-row' ).attr( 'selected', 'selected' );
if ( 'yes' === featured ) { if ( 'yes' === featured ) {
$( 'input[name="_featured"]', '.inline-edit-row' ).attr( 'checked', 'checked' ); $( 'input[name="_featured"]', '.inline-edit-row' ).prop( 'checked', true );
} else { } else {
$( 'input[name="_featured"]', '.inline-edit-row' ).prop( 'checked', false ); $( 'input[name="_featured"]', '.inline-edit-row' ).prop( 'checked', false );
} }