admin_url in plugins
First rule of wordpress development is to always use a core API if one is available, there is usually a good reason for its existence. In this case, you are assuming something about how files are called and the URLs they are in. For an example were such an assumption will fail, is the (rarely … Read more