Title: [Plugin: WP Maintenance Mode] Did You Added Any malware codes added???
Last modified: August 20, 2016

---

# [Plugin: WP Maintenance Mode] Did You Added Any malware codes added???

 *  Resolved [sparkyhub](https://wordpress.org/support/users/sparkyhub/)
 * (@sparkyhub)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-maintenance-mode-any-malware-codes-added/)
 * wp-content/plugins/wp-maintenance-mode/js/jquery.countdown.pack.js:7
 * eval(function(p,a,c,k,e,r){e=function(c){return(c<a?
 * ——–
    wp-content/plugins/wp-maintenance-mode/js/ui.datetimepicker.js:141
 * inlineSettings[attrName] = eval(attrValue);
 * OR please explain, what are these codes?
 * [http://wordpress.org/extend/plugins/wp-maintenance-mode/](http://wordpress.org/extend/plugins/wp-maintenance-mode/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [kenrichman](https://wordpress.org/support/users/kenrichman/)
 * (@kenrichman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-maintenance-mode-any-malware-codes-added/#post-2797419)
 * following this post.
 *  [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-maintenance-mode-any-malware-codes-added/#post-2797420)
 * the jquery datetimepicker ist an open source script, see inside the source for
   eval()
 *     ```
       /* Attach the date picker to a jQuery selection.
       	   @param  target    element - the target input field or division or span
       	   @param  settings  object - the new settings to use for this date picker instance (anonymous) */
       	_attachdatetimepicker: function(target, settings) {
       		// check for settings on the control itself - in namespace 'date:'
       		var inlineSettings = null;
       		for (var attrName in this._defaults) {
       			var attrValue = target.getAttribute('date:' + attrName);
       			if (attrValue) {
       				inlineSettings = inlineSettings || {};
       				try {
       					inlineSettings[attrName] = eval(attrValue);
       				} catch (err) {
       					inlineSettings[attrName] = attrValue;
       				}
       			}
       		}
       		var nodeName = target.nodeName.toLowerCase();
       		var inline = (nodeName == 'div' || nodeName == 'span');
       		if (!target.id)
       			target.id = 'dp' + (++this.uuid);
       		var inst = this._newInst($(target), inline);
       		inst.settings = $.extend({}, settings || {}, inlineSettings || {});
       		if (nodeName == 'input') {
       			this._connectdatetimepicker(target, inst);
       		} else if (inline) {
       			this._inlinedatetimepicker(target, inst);
       		}
       	},
       ```
   
 * But, current is in the plugin not the last version, not enough time for free 
   projects; I will change this in the past.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP Maintenance Mode] Did You Added Any malware codes added???’
is closed to new replies.

 * ![](https://ps.w.org/wp-maintenance-mode/assets/icon-256x256.gif?rev=3027645)
 * [LightStart - Maintenance Mode, Coming Soon and Landing Page Builder](https://wordpress.org/plugins/wp-maintenance-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-maintenance-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-maintenance-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-maintenance-mode/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-maintenance-mode-any-malware-codes-added/#post-2797420)
 * Status: resolved