WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #16567, comment 9


Ignore:
Timestamp:
09/14/12 09:19:58 (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16567, comment 9

    v1 v2  
    1919 
    2020[attachment:16567.2.diff] removes unnecessary checks from `ajax-actions.php`. 
    21 `is_array()` is removed as well, since `wp_insert_term()` only returns an array or a `WP_Error` object. 
     21`is_array()` is removed as well, since unlike `term_exists()`, `wp_insert_term()` always returns either an array or a `WP_Error` object.