| | 188 | /** |
| | 189 | * @ticket 7045 |
| | 190 | */ |
| | 191 | function test_positional_atts_with_equals() { |
| | 192 | $out = do_shortcode( '[test-shortcode-tag=foo]' ); |
| | 193 | $this->assertEquals( '', $out ); |
| | 194 | $this->assertEquals( array( 0 => 'foo' ), $this->atts ); |
| | 195 | $this->assertEquals( 'test-shortcode-tag', $this->tagname ); |
| | 196 | } |
| | 197 | |
| | 198 | /** |
| | 199 | * @ticket 7045 |
| | 200 | */ |
| | 201 | function test_positional_atts_with_equals_quotes() { |
| | 202 | $out = do_shortcode( '[test-shortcode-tag="foo"]' ); |
| | 203 | $this->assertEquals( '', $out ); |
| | 204 | $this->assertEquals( array( 0 => 'foo' ), $this->atts ); |
| | 205 | $this->assertEquals( 'test-shortcode-tag', $this->tagname ); |
| | 206 | } |
| | 207 | |