Make WordPress Core

Changeset 4807


Ignore:
Timestamp:
01/25/2007 06:27:47 PM (19 years ago)
Author:
ryan
Message:

Cast categoryId to string to be compliant. fixes #3662

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/xmlrpc.php

    r4710 r4807  
    978978            $categories[] = array(
    979979                'categoryName' => get_cat_name($catid),
    980                 'categoryId' => $catid,
     980                'categoryId' => (string) $catid,
    981981                'isPrimary' => $isPrimary
    982982            );
  • trunk/xmlrpc.php

    r4806 r4807  
    14341434            $categories[] = array(
    14351435                'categoryName' => get_cat_name($catid),
    1436                 'categoryId' => $catid,
     1436                'categoryId' => (string) $catid,
    14371437                'isPrimary' => $isPrimary
    14381438            );
Note: See TracChangeset for help on using the changeset viewer.