[wp-trac] [WordPress Trac] #27131: email address in the title breaks in quickedit
WordPress Trac
noreply at wordpress.org
Sat Feb 15 02:43:38 UTC 2014
#27131: email address in the title breaks in quickedit
-----------------------------+-----------------------------
Reporter: ryno267 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Quick/Bulk Edit | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
I had some page titles with email addresses in them (dont ask) and when
hit "quick edit" from the pages list I get this after the email in the
title field in quickedit:
{{{
Using test at domain.com/* <![CDATA[ */(function(){try{var
s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute
('data-
cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();/*
]]> */ Email
}}}
Original title was "Using test at domain.com Email"
Very repeatable.
1. Make page with email address in title.
2. view all pages: /wp-admin/edit.php
3. click "Quick Edit"
If you update without cleaning it up.. all that code is now part of the
title.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27131>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list