[wp-trac] [WordPress Trac] #16227: Stop Firebug from borking on missing convertEntities()
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 14 04:44:42 UTC 2011
#16227: Stop Firebug from borking on missing convertEntities()
--------------------------+-----------------------------
Reporter: mikeschinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
Firebug breaks on the following line which makes JavaScript debugging
extremely tedious:
try{convertEntities(blahblah);}catch(e){};
I believe the following should accomplish the same thing without causing
Firebug to bork:
if (typeof convertEntities=="function"){convertEntities(blahblah);}
I've attached a patch to change these.
This ''may'' already have been addressed by #15124 and if so forgive me
but I could not tell for sure.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16227>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list