Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/19/2017 03:25:37 AM (9 years ago)
Author:
johnjamesjacoby
Message:

in_array(): be strict whenever possible.

Use wp_parse_id_list() on certain array values to ensure proper results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/akismet.php

    r6272 r6415  
    441441
    442442            // Key should not be ignored
    443             if ( ! in_array( $key, $ignore ) && is_string( $value ) ) {
     443            if ( ! in_array( $key, $ignore, true ) && is_string( $value ) ) {
    444444                $post_data[ $key ] = $value;
    445445
Note: See TracChangeset for help on using the changeset viewer.