[wp-trac] [WordPress Trac] #26164: Unit Tests :: links_add_target function and trivial changes

WordPress Trac noreply at wordpress.org
Fri Nov 22 15:24:16 UTC 2013


#26164: Unit Tests :: links_add_target function and trivial changes
--------------------------+-----------------------------
 Reporter:  mdbitz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Unit Tests    |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 Hi:

 Attached are some Unit Tests of the formatting function
 '''links_add_target'''. Upon implementation of the tests I found 2 trivial
 changes with fixes in the included diff. Please let me know if correcting
 these items is desired or if I should update the test cases to sync with
 current functionality.

 * Replacing existing target="" properties add additional space character
 * tags without properties (e.g. <a>) don't get appended with target
 property

 Thank you

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26164>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list