[wp-trac] Re: [WordPress Trac] #10082: shortcode bug

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 3 18:06:44 UTC 2009


#10082: shortcode bug
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  petervanderdoes
     Type:  defect (bug)       |      Status:  accepted       
 Priority:  normal             |   Milestone:  2.8.1          
Component:  Shortcodes         |     Version:  2.8            
 Severity:  critical           |    Keywords:  has-patch      
-------------------------------+--------------------------------------------
Changes (by westi):

  * keywords:  has-patch tested => has-patch


Comment:

 Current patch does not pass all the current shortcode tests in wordpress-
 tests

 {{{
 peter-westwoods-computer:wordpress-tests peterwestwood$ php wp-test.php -t
 TestShortcode
 Test Suite
  TestShortcode
  ...............F...SSSSSS

 Time: 3 seconds

 There was 1 failure:

 1) test_nested_tags(TestShortcode)
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ -1,3 +1,4 @@
  content = abc = foo
  def = 123
  0 = http://wordpress.com
 +[/baztag]
 \ No newline at end of file

 /Users/peterwestwood/Documents/workspace/wordpress-tests/wp-
 testcase/test_shortcode.php:167
 /Users/peterwestwood/Documents/workspace/wordpress-tests/wp-
 testlib/base.php:526
 /Users/peterwestwood/Documents/workspace/wordpress-tests/wp-test.php:107
 }}}

 http://svn.automattic.com/wordpress-tests/wp-testcase/test_shortcode.php

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10082#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list