Make WordPress Core


Ignore:
Timestamp:
12/23/2009 03:16:53 PM (17 years ago)
Author:
ryan
Message:

Remove unneeded quotes around vars. Props johnbillion. fixes #10245

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/mt.php

    r11882 r12513  
    156156                        $next = array_shift($temp);
    157157                        if (!(in_array($next, $authors)))
    158                                 array_push($authors, "$next");
     158                                array_push($authors, $next);
    159159                }
    160160
     
    172172                        if ($newname == '')
    173173                                $newname = 'left_blank'; //passing author names from step 1 to step 2 is accomplished by using POST. left_blank denotes an empty entry in the form.
    174                         array_push($formnames, "$newname");
     174                        array_push($formnames, $newname);
    175175                } // $formnames is the array with the form entered names
    176176
    177177                foreach ($_POST['userselect'] as $user => $key) {
    178178                        $selected = trim(stripslashes($key));
    179                         array_push($selectnames, "$selected");
     179                        array_push($selectnames, $selected);
    180180                }
    181181
Note: See TracChangeset for help on using the changeset viewer.