Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/11/2013 06:10:20 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Use implode() instead of join() through-out project. See #2331.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/functions.php

    r4848 r4896  
    12531253
    12541254    // Join post statuses together
    1255     $post_status = "'" . join( "', '", $post_status ) . "'";
     1255    $post_status = "'" . implode( "', '", $post_status ) . "'";
    12561256
    12571257    // Check for cache and set if needed
     
    12961296
    12971297    // Join post statuses together
    1298     $post_status = "'" . join( "', '", $post_status ) . "'";
     1298    $post_status = "'" . implode( "', '", $post_status ) . "'";
    12991299
    13001300    // Check for cache and set if needed
     
    13391339
    13401340    // Join post statuses together
    1341     $post_status = "'" . join( "', '", $post_status ) . "'";
     1341    $post_status = "'" . implode( "', '", $post_status ) . "'";
    13421342
    13431343    // Check for cache and set if needed
     
    14001400
    14011401    // Join post statuses together
    1402     $post_status = "'" . join( "', '", $post_status ) . "'";
     1402    $post_status = "'" . implode( "', '", $post_status ) . "'";
    14031403
    14041404    // Check for cache and set if needed
Note: See TracChangeset for help on using the changeset viewer.