WordPress.org

Make WordPress Core

Ticket #9930: 9930.3.patch

File 9930.3.patch, 469 bytes (added by hakre, 9 years ago)

Refreshed against trunk, added + and INF

  • wp-includes/functions.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress
     
    270270                case 'b' :
    271271                case 'i' :
    272272                case 'd' :
    273                         return (bool) preg_match( "/^{$token}:[0-9.E-]+;\$/", $data );
     273                        return (bool) preg_match( "/^{$token}:[0-9.EeINF+-]+;\$/", $data );
    274274        }
    275275        return false;
    276276}