WordPress.org

Ready to get started?Download WordPress

Forums

Code appearing all over wp-admin after upgrade (1 post)

  1. peard33
    Member
    Posted 6 years ago #

    Hi,
    I just updated from 2.0.2 to 2.3. At the top of all my wp-admin pages appears the following code:

    addLoadEvent(function() { theListEls = document.getElementsByTagName('tbody'); theUserLists = new Array(); for ( var l = 0; l < theListEls.length; l++ ) { if ( theListEls[l].id ) theUserLists[theListEls[l].id] = new listMan(theListEls[l].id); } addUserInputs = document.getElementById('adduser').getElementsByTagName('input'); for ( var i = 0; i < addUserInputs.length; i++ ) { addUserInputs[i].onkeypress = function(e) { return killSubmit('addUserSubmit();', e); } } document.getElementById('addusersub').onclick = function(e) { return killSubmit('addUserSubmit();', e); } } ); function addUserSubmit() { var roleEl = document.getElementById('role'); var role = roleEl.options[roleEl.selectedIndex].value; if ( !theUserLists['role-' + role] ) return true; return theUserLists['role-' + role].ajaxAdder('user', 'adduser'); }
    It also appears in several spots on the main dashboard page. What's going on?

Topic Closed

This topic has been closed to new replies.

About this Topic