Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/13/2017 08:47:03 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Admin: prefer implode() over join().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/topics.php

    r6573 r6697  
    293293            }
    294294
    295             $sendback = add_query_arg( array( 'updated' => $updated, 'ids' => join( ',', $post_ids ), 'locked' => $locked ), $sendback );
     295            $sendback = add_query_arg( array(
     296                'updated' => $updated,
     297                'ids'     => implode( ',', $post_ids ),
     298                'locked'  => $locked
     299            ), $sendback );
    296300
    297301        } elseif ( 'unspam' === $doaction ) {
     
    314318            }
    315319
    316             $sendback = add_query_arg( array( 'updated' => $updated, 'ids' => join( ',', $post_ids ), 'locked' => $locked ), $sendback );
     320            $sendback = add_query_arg( array(
     321                'updated' => $updated,
     322                'ids'     => implode( ',', $post_ids ),
     323                'locked'  => $locked
     324            ), $sendback );
    317325        }
    318326
Note: See TracChangeset for help on using the changeset viewer.