[wp-trac] [WordPress Trac] #31785: admin_footer

WordPress Trac noreply at wordpress.org
Fri Mar 27 20:15:22 UTC 2015


#31785: admin_footer
----------------------------+------------------------------
 Reporter:  Mikayel         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.1.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by MattyRob):

 I already removed that plugin check and put he following code into the wp-
 admin/admin-footer.php file. It made the 'alert', and threw no errors.
 This is on a fresh install with no current active plugins.

 {{{
 echo  ' <script
 src="//ajax.googleapis.com/ajax/libs/dojo/1.8.0/dojo/dojo.js" data-dojo-
 config="parseOnLoad: true"></script> ';

 echo  '<script type="text/javascript">
 <!--
         dojo.require("dojox.validate");
         dojo.require("dojox.validate.web");
         dojo.require("dojox.validate.us");
         dojo.require("dojox.validate.check");
         dojo.require("dijit.form.TextBox");
         dojo.require("dijit.form.ValidationTextBox");
         dojo.require("dijit.form.NumberTextBox");
         dojo.require("dijit.form.ComboBox");
         dojo.require("dijit.form.DateTextBox");
         dojo.require("dijit.dijit");
         dojo.require("dojo.parser");

         dojo.addOnLoad(function(){
                 alert( "HERE" );
                 dojo.addClass( "wpwrap", "tundra");
         });
 //--></script>';
 }}}

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


More information about the wp-trac mailing list