[wp-trac] [WordPress Trac] #33102: Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes

WordPress Trac noreply at wordpress.org
Fri Jul 24 04:03:14 UTC 2015


#33102: Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes
--------------------------+------------------------------
 Reporter:  cgrymala      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by cooperator_JR):

 Tested. Nothing happened.More: Deleted Cache, minified CSS/JS,same
 problem.
 As I told you,  4.2.2 and before, FINE! 4.2.3...Catastrophic not only for
 me, but for thousand users.
 It Happens, unfortunately.
 Many Thanks for give some light, Kitchin.

 Replying to [comment:17 kitchin]:
 > Try this (not tested):
 > {{{
 > <script type="text/javascript">
 > var mydate=new Date();
 > var year=mydate.getYear();
 > if (year < 1000) year+=1900;
 > var day=mydate.getDay();
 > var month=mydate.getMonth();
 > var daym=mydate.getDate();
 > if (daym<10) daym="0"+daym;
 > var dayarray=new
 Array("Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado");
 > var montharray=new Array("de Janeiro","de Fevereiro","de Março","de
 Abril","de Maio","de Junho","de Julho","de Agosto","de Setembro","de
 Outubro","de Novembro","de Dezembro");
 > document.write(""+daym+" "+montharray[month]+", "+year+"");
 > </script>
 > }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33102#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list