[wp-trac] [WordPress Trac] #42802: Custom HTML widget validation error

WordPress Trac noreply at wordpress.org
Tue Dec 5 09:03:15 UTC 2017


#42802: Custom HTML widget validation error
----------------------------------------+-----------------------------
 Reporter:  markemark                   |      Owner:
     Type:  defect (bug)                |     Status:  new
 Priority:  normal                      |  Milestone:  Awaiting Review
Component:  Widgets                     |    Version:  4.9.1
 Severity:  normal                      |   Keywords:
  Focuses:  javascript, administration  |
----------------------------------------+-----------------------------
 Hi there, recently updated to latest wordpress version 4.9.1
 Now custom html widget, which works, now I cannot save, says there is a
 validation error, so I cannot edit and save.

 Here is the html (with external javascript)


 {{{
 <div class="cta_addtocart">
 <h3>Sober Intervention Training</h3>
 <p>(Course Delivered in English)</p>
 <p class="space">Just 20 places in total</p>

 <p class="days">3 DAYS - Friday 16th February 2018 - Sunday 18th February
 2018</p>

 <p class="where">Tegnérgatan 24, 113 59 Stockholm, Sweden</p>

 <script type='text/javascript'
 src='https://www.universe.com/embed2.js'></script>
 [x_button type='flat' shape='rounded' size='large'
 href='https://www.universe.com/events/sober-academy-sober-intervention-
 training-tickets-9TFQX2' title='Sober Intervention Training -
  Stockholm']Get Tickets[/x_button]

 </div>
 }}}

 I have tried with and without "type='text/javascript'" - but still error,
 therefore I cannot edit?

 Can you please fix ?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42802>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list