Make WordPress Core

Ticket #41535: 41535.1.patch

File 41535.1.patch, 548 bytes (added by antonioeatgoat, 6 years ago)

Simplified showNotice.warn()

  • src/wp-admin/js/common.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    9090showNotice = {
    9191        warn : function() {
    9292                var msg = commonL10n.warnDelete || '';
    93                 if ( confirm( msg ) ) {
    94                         return true;
    95                 }
    9693
    97                 return false;
     94                return ( confirm( msg ) );
    9895        },
    9996
    10097    warnOffline : function() {