WordPress.org

Make WordPress Core

Ticket #24365: 24365.diff

File 24365.diff, 521 bytes (added by leewillis77, 13 months ago)

Possible patch

  • wp-admin/includes/upgrade.php

     
    14271427        if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting || 'tag_base' == $setting ) 
    14281428                $option = untrailingslashit( $option ); 
    14291429 
    1430         @ $kellogs = unserialize( $option ); 
     1430        @ $kellogs = maybe_unserialize( $option ); 
    14311431        if ( $kellogs !== false ) 
    14321432                return $kellogs; 
    14331433        else