Please note that this was posted on wp-hackers mailing list.
Just wondering, does anyone know how I can go about checking to see if there a wordpress account and create one if there isn't?
Script that I got: https://gist.github.com/Danielx64/7519092
There a marker in the file that has "// Somewhere here I want to put a check to see if there a wp account" What I want to happen there is that a check get done to see if there is a wordpress account and if there not, create one.
Does anyone know if it can be done?
PS, I don't need to worry about logging into wordpress as that will get taken care of by a different script. Also anyone who can help me out will also get credit in the source code and readme :)