Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -1192,7 +1192,8 @@ |
1193 | 1193 | // TODO: Generate an error message if this is included more than once |
1194 | 1194 | foreach ( array_slice( $tag_components, 1 ) as $component ) { |
1195 | 1195 | $sub_components = array_map( 'trim', explode( '=', $component, 2 ) ); |
1196 | | - $tag = $sub_components[0]; |
| 1196 | + // Tag names are case-insensitive |
| 1197 | + $tag = strtolower( $sub_components[0] ); |
1197 | 1198 | if ( $tag == 'create title' || $tag == 'add title' ) { |
1198 | 1199 | // Handle this only if |
1199 | 1200 | // we're adding a page. |