Make WordPress Core


Ignore:
Timestamp:
01/08/2015 09:11:46 PM (10 years ago)
Author:
wonderboymusic
Message:

Use && instead of and in the 3 places where and was used.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/shortcodes.php

    r30545 r31099  
    312312            elseif (!empty($m[5]))
    313313                $atts[strtolower($m[5])] = stripcslashes($m[6]);
    314             elseif (isset($m[7]) and strlen($m[7]))
     314            elseif (isset($m[7]) && strlen($m[7]))
    315315                $atts[] = stripcslashes($m[7]);
    316316            elseif (isset($m[8]))
Note: See TracChangeset for help on using the changeset viewer.