The only issue I can think of it causing is that your theme could break if you need to move it to another installation. It’s possible that you could forget that files critical to the operation of your site are in the root directory. If you move your theme to another installation, it’s better to have those files inside the theme directory.
Thread Starter
Hercal
(@hercal)
These files are been used in my custom plugin , when i use ajax function the URL attribute enforce me to enter the value starting from root , i mean ,
C:\wamp\www\mywebsite\wp-content\plugins\myplugin\myfiles\file.php
and it can be viewed through client which is not professional , that’s why i asked this question , so what is your advice ?