[wp-trac] [WordPress Trac] #18726: Automatic excerpt shows javascript source

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 21 01:50:06 UTC 2011


#18726: Automatic excerpt shows javascript source
--------------------------------+------------------------------
 Reporter:  evansolomon         |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  General             |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  easy-fix has-patch  |
--------------------------------+------------------------------

Comment (by nacin):

 Replying to [comment:6 evansolomon]:
 > Confirmed {{{wp_strip_all_tags}}} removes the {{{script}}} source,
 example in 18726.diff.
 Instead, let's go into wp_trim_words() and change the strip_tags() call to
 wp_strip_all_tags().

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


More information about the wp-trac mailing list