| Server IP : 43.130.17.34 / Your IP : 216.73.217.6 Web Server : nginx/1.28.0 System : Linux VM-4-12-opencloudos 6.6.92-34.1.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 25 21:32:13 CST 2025 x86_64 User : www ( 1000) PHP Version : 8.0.26 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/yespkg.com/wp-content/plugins/admin-menu-editor-pro/ |
Upload File : |
<?xml version="1.0"?>
<ruleset name="AME_PHPCS_Settings">
<description>PHPCS settings for Admin Menu Editor</description>
<arg name="basepath" value="."/>
<arg name="warning-severity" value="5"/>
<arg name="error-severity" value="5"/>
<arg value="sp"/>
<!-- Check the current directory by default -->
<file>./</file>
<!-- Include the WordPress-VIP-Go standard -->
<rule ref="WordPress-VIP-Go">
<!-- Surely server-side caching isn't an issue for admin pages? -->
<exclude name="WordPressVIPMinimum.Variables.RestrictedVariables.cache_constraints___COOKIE" />
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie" />
<!-- This plugin is not exclusive to WP VIP, so it doesn't use vip_safe_wp_remote_get() and such. -->
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get" />
<!-- This plugin does a lot of DOM manipulation and these sniffs generate too many false positives. -->
<exclude name="WordPressVIPMinimum.JS.HTMLExecutingFunctions.append" />
<exclude name="WordPressVIPMinimum.JS.HTMLExecutingFunctions.appendTo" />
<exclude name="WordPressVIPMinimum.JS.HTMLExecutingFunctions.prepend" />
<exclude name="WordPressVIPMinimum.JS.HTMLExecutingFunctions.prependTo" />
<exclude name="WordPressVIPMinimum.JS.HTMLExecutingFunctions.insertBefore" />
<exclude name="WordPressVIPMinimum.JS.HTMLExecutingFunctions.insertAfter" />
<!-- Questionable, but not a security issue or bug. -->
<exclude name="Squiz.PHP.CommentedOutCode.Found" />
</rule>
<rule ref="WordPress.Security.EscapeOutput">
<properties>
<property name="customEscapingFunctions" type="array">
<!-- Register a custom escaping function for WP_Error objects. -->
<element value="wsAmeEscapeWpError"/>
<!--
This one is actually a namespaced class that has a method which generates
single HTML tags with properly escaped attributes. However, the EscapeOutput
sniff doesn't understand classes, namespaces, or methods, so I've listed
the class as a "function".
-->
<element value="HtmlHelper"/>
</property>
</properties>
</rule>
<exclude-pattern type="relative">^/vendor/*</exclude-pattern>
<!-- Third-party JavaScript libraries and jQuery plugins -->
<exclude-pattern type="relative">^js/knockout\.js</exclude-pattern>
<exclude-pattern type="relative">^js/lodash\.js</exclude-pattern>
<exclude-pattern type="relative">^js/lodash\.min\.js</exclude-pattern>
<exclude-pattern type="relative">^js/lazyload\.min\.js</exclude-pattern>
<exclude-pattern type="relative">^js/jquery\.sort\.js</exclude-pattern>
<exclude-pattern type="relative">^js/jquery\.form\.js</exclude-pattern>
<exclude-pattern type="relative">^js/jquery\.qtip\.js</exclude-pattern>
<exclude-pattern type="relative">^js/jquery\.qtip\.min\.js</exclude-pattern>
<exclude-pattern type="relative">^css/jquery\.qtip\.css</exclude-pattern>
<exclude-pattern type="relative">^css/jquery\.qtip\.min\.css</exclude-pattern>
<!-- Third-party CSS parser -->
<exclude-pattern type="relative">^includes/PHP-CSS-Parser/lib/*</exclude-pattern>
</ruleset>