Changeset 6939

Show
Ignore:
Timestamp:
02/20/08 16:47:50 (9 months ago)
Author:
ryan
Message:

shortcodes should not require var=val format. Props andy. fixes #5892

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/shortcodes.php

    r6911 r6939  
    112112                $atts[] = stripcslashes($m[8]); 
    113113        } 
     114    } else { 
     115        $atts = ltrim($text); 
    114116    } 
    115117    return $atts;