WordPress.org

Make WordPress Core

Ticket #9012: switch-to-in-link-category.patch

File switch-to-in-link-category.patch, 512 bytes (added by chmac, 7 years ago)

Switch the ids to in-link-category

  • wp-admin/js/link.dev.js

     
    1717                        return; 
    1818                noSyncChecks = true; 
    1919                var th = $(this), c = th.is(':checked'), id = th.val().toString(); 
    20                 $('#in-category-' + id + ', #in-popular-category-' + id).attr( 'checked', c ); 
     20                $('#in-link-category-' + id + ', #in-popular-category-' + id).attr( 'checked', c ); 
    2121                noSyncChecks = false; 
    2222        }; 
    2323