Skip to content

Files

Latest commit

 

History

History
12 lines (7 loc) · 557 Bytes

WordPress.Security.PluginMenuSlug.md

File metadata and controls

12 lines (7 loc) · 557 Bytes

Pattern: Use of __FILE__ for page registration

Issue: -

Description

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.

Further Reading