{
"name": "johnbillion/query-monitor",
"description": "The Developer Tools panel for WordPress.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "John Blackbourn",
"homepage": "https://johnblackbourn.com/"
}
],
"homepage": "https://querymonitor.com/",
"support": {
"issues": "https://github.com/johnbillion/query-monitor/issues",
"forum": "https://wordpress.org/support/plugin/query-monitor",
"security": "https://querymonitor.com/security/",
"source": "https://github.com/johnbillion/query-monitor"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/johnbillion"
}
],
"require": {
"php": ">=7.4.0",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"behat/gherkin": "< 4.13.0",
"codeception/module-asserts": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-webdriver": "^1.0",
"codeception/util-universalframework": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "0.7.2",
"guzzlehttp/guzzle": "^7.0",
"johnbillion/plugin-infrastructure": "1.2.2",
"johnbillion/wp-compat": "0.3.1",
"lucatume/wp-browser": "3.2.3",
"phpcompatibility/phpcompatibility-wp": "2.1.5",
"phpstan/phpstan": "1.12.11",
"phpstan/phpstan-deprecation-rules": "1.2.1",
"phpstan/phpstan-phpunit": "1.4.1",
"roots/wordpress-core-installer": "1.100.0",
"roots/wordpress-full": "*",
"squizlabs/php_codesniffer": "3.11.1",
"szepeviktor/phpstan-wordpress": "1.3.5",
"wp-coding-standards/wpcs": "2.3.0"
},
"autoload": {
"classmap": [
"classes",
"data",
"output"
]
},
"autoload-dev": {
"psr-4": {
"QM\\Tests\\": "tests/integration"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"composer/installers": true
},
"classmap-authoritative": true,
"preferred-install": "dist",
"prepend-autoloader": false,
"sort-packages": true
},
"extra": {
"wordpress-install-dir": "vendor/wordpress/wordpress"
},
"scripts": {
"test": [
"@composer validate --strict --no-check-lock",
"@test:phpstan",
"@test:phpcs",
"@test:start",
"@test:integration",
"@test:acceptance",
"@test:stop"
],
"test:acceptance": [
"npm run build #",
"acceptance-tests"
],
"test:integration": [
"integration-tests"
],
"test:phpcs": [
"phpcs -nps --colors --report-code --report-summary --report-width=80 --basepath='./' ."
],
"test:phpstan": [
"codecept build",
"phpstan analyze -v --memory-limit=1024M"
],
"test:start": [
"tests-start"
],
"test:stop": [
"tests-stop"
]
}
}
{}/**
* @package Techotronic
* @subpackage All in one Favicon
*
* @since 3.2
* @author Arne Franken
*
* AioFavicon Javascript
*/
/**
* call favicon loader on page load.
*/
jQuery(document).ready(function() {
emulateConsoleForIE();
removeWarning();
loadFavicons();
bindEventTriggers();
bindChangeHandlers();
});
/**
* Make console.log do nothing in IE 9 and below, otherwise JavaScript would break
*
* @since 4.3
* @author Arne Franken
*/
(function(jQuery) {
emulateConsoleForIE = function() {
if (!console) {
console = {};
}
// union of Chrome, FF, IE, and Safari console methods
var m = [
"log", "info", "warn", "error", "debug", "trace", "dir", "group",
"groupCollapsed", "groupEnd", "time", "timeEnd", "profile", "profileEnd",
"dirxml", "assert", "count", "markTimeline", "timeStamp", "clear"
];
// define undefined methods as noops to prevent errors
for (var i = 0; i < m.length; i++) {
if (!console[m[i]]) {
console[m[i]] = function() {};
}
}
}
})(jQuery);
/**
* Remove warning from backend that JavaScript is not enabled
*
* @since 4.2
* @author Arne Franken
*/
(function(jQuery) {
removeWarning = function() {
jQuery('#javascriptWarning').hide();
}
})(jQuery);
/**
* load all uploaded favicons
*
* @since 3.2
* @author Arne Franken
*/
(function(jQuery) {
loadFavicons = function() {
jQuery.each(Aiofavicon, function(key, value) {
var img = jQuery('
', {'src': value});
img.css({'maxWidth':100});
var selector = "#"+key+"-favicon";
jQuery(selector).empty().append(img).fadeIn();
});
}
})(jQuery);
// loadFavicons()
/**
* Workaround for Mozilla
*
* Find all labels with class "trigger-file-input", attach a click event.
* Event triggers a click event on the hidden "file" input field
* which displays the file selector dialog.
*
* @since 4.1
* @author Arne Franken
*/
(function(jQuery) {
bindEventTriggers = function() {
var form = jQuery("form#aio-favicon-settings-update");
if(jQuery.browser.mozilla) {
jQuery('.trigger-file-input').click(function() {
jQuery(this)
.siblings('input[type="file"]')
.trigger('click');
//console.debug("fired hook on button input %s", jQuery(this).attr('id'));
});
}
}
})(jQuery);
// bindEventTriggers()
/**
* Attach change event handler to all hidden "file" inputs.
* Value will be copied to "text" input when user selects a file.
* Only the filename will be displayed.
*
* @since 4.1
* @author Arne Franken
*/
(function(jQuery) {
bindChangeHandlers = function() {
var form = jQuery("form#aio-favicon-settings-update");
var fileInputs = form.find('input[type="file"]');
//console.debug("added hook to file inputs");
fileInputs.change(function () {
if (this.files.length) {
jQuery(this)
.siblings('input[type="text"]')
.val(this.files[0].name);
//console.debug("fired hook on file input %s", jQuery(this).attr('id'));
} else {
jQuery(this)
.siblings('input[type="text"]')
.val('');
}
});
fileInputs.click(function() {
//console.debug("click on file input %s", jQuery(this).attr('id'));
});
}
})(jQuery);
// bindChangeHandlers()
https://alvatrans.pt/wp-sitemap-posts-page-1.xmlhttps://alvatrans.pt/en/wp-sitemap-posts-page-1.xmlhttps://alvatrans.pt/de/wp-sitemap-posts-page-1.xmlhttps://alvatrans.pt/wp-sitemap-users-1.xmlhttps://alvatrans.pt/en/wp-sitemap-users-1.xmlhttps://alvatrans.pt/de/wp-sitemap-users-1.xml