WordPress.org

Make WordPress Core

Changeset 12870


Ignore:
Timestamp:
01/27/2010 02:06:06 PM (8 years ago)
Author:
ryan
Message:

Cast length to int. Props josephscott. fixes #12046

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r12864 r12870  
    25572557                        $encdata = split("\n", $enc);
    25582558                        $enclosure['url'] = trim(htmlspecialchars($encdata[0]));
    2559                         $enclosure['length'] = trim($encdata[1]);
     2559                        $enclosure['length'] = (int) trim($encdata[1]);
    25602560                        $enclosure['type'] = trim($encdata[2]);
    25612561                        break 2;
Note: See TracChangeset for help on using the changeset viewer.