WordPress still requires FTP information

Guess it needs to be said first – it is a bad idea in general to just let anyone that succeeded to trick you into uploading his PHP onto your server to actually be able to write to your code directories. It is double problematic if you let him access to your root credentials and … Read more

Best function/method to access wp-config?

I am not aware of a WordPress function to do this. But have a look at this search and replace tool: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ This achieves what you want by reading in the wp-config file and scanning through it. Have a look at the function “icit_srdb_define_find” on line 374.

tech