You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding menus or registering your plugins, make sure that you use an unique handle or slug other than __FILE__ to ensure that you are not revealing system paths.
The text was updated successfully, but these errors were encountered:
WordPress#86)
Execution of shell commands should be discouraged. A number of the other commands along the same lines are discouraged via function sniffs, however, the backtick operator was so far ignored.
For this sniff to be added, the minimum PHPCS version needs to be upped as it has only just been added in the latest release.
See: squizlabs/PHP_CodeSniffer#1073
grappler
pushed a commit
to grappler/WordPress-Coding-Standards
that referenced
this issue
Feb 10, 2017
WordPress#86)
Execution of shell commands should be discouraged. A number of the other commands along the same lines are discouraged via function sniffs, however, the backtick operator was so far ignored.
For this sniff to be added, the minimum PHPCS version needs to be upped as it has only just been added in the latest release.
See: squizlabs/PHP_CodeSniffer#1073
__FILE__
inadd_menu_page()
,add_submenu_page()
, or any of the other admin menu functions.The text was updated successfully, but these errors were encountered: