Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skin.php

    r42761 r44513  
    192192            echo '<script type="text/javascript">
    193193                    (function( wp ) {
    194                         if ( wp && wp.updates.decrementCount ) {
     194                        if ( wp && wp.updates && wp.updates.decrementCount )
    195195                            wp.updates.decrementCount( "' . $type . '" );
    196196                        }
Note: See TracChangeset for help on using the changeset viewer.