Make WordPress Core

Changeset 11871


Ignore:
Timestamp:
08/24/2009 07:39:08 PM (15 years ago)
Author:
azaozz
Message:

Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r11840 r11871  
    255255    if ( isset($post_data['post_category']) ) {
    256256        if ( is_array($post_data['post_category']) && ! empty($post_data['post_category']) )
    257             $new_cats = array_map( absint, $post_data['post_category'] );
     257            $new_cats = array_map( 'absint', $post_data['post_category'] );
    258258        else
    259259            unset($post_data['post_category']);
Note: See TracChangeset for help on using the changeset viewer.