Gallery display enhancements from tellyworth. fixes #6368

git-svn-id: https://develop.svn.wordpress.org/trunk@7496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-24 02:57:19 +00:00
parent 8ef66725bd
commit cf9618758d
3 changed files with 40 additions and 11 deletions

View File

@@ -118,6 +118,7 @@ function shortcode_parse_atts($text) {
}
function shortcode_atts($pairs, $atts) {
$atts = (array)$atts;
$out = array();
foreach($pairs as $name => $default) {
if ( array_key_exists($name, $atts) )