Make WordPress Core

Ticket #46563: class-wp-upgrader-skin.php.diff

File class-wp-upgrader-skin.php.diff, 693 bytes (added by WebFactory, 5 years ago)
  • trunk/src/wp-admin/includes/class-wp-upgrader-skin.php

    diff --git a/trunk/src/wp-admin/includes/class-wp-upgrader-skin.php b/trunk/src/wp-admin/includes/class-wp-upgrader-skin.php
    a b  
    191191                } else {
    192192                        echo '<script type="text/javascript">
    193193                                        (function( wp ) {
    194                                                 if ( wp && wp.updates && wp.updates.decrementCount )
     194                                                if ( wp && wp.updates && wp.updates.decrementCount ) {
    195195                                                        wp.updates.decrementCount( "' . $type . '" );
    196196                                                }
    197197                                        })( window.wp );