@Howdy_McGee If you 'accept and improve', they still get 2 rep, and their edit is still shown in the edit history. You also start from their edit when improving. If you 'reject and improve', they don't get the rep, and their edit is discarded - you start from the existing state of the post when improving.
@Howdy_McGee Also, if you accept and improve, the edit is approved instantly, even if you are the only person to review it.
@Rarst, implementation of what? it is just a sweetener to hide the details of a DB query. Could easily be a simple function if no need to making it a class. At best it is a bad name for something that should have been named "meta locator" or "meta query parser". Right now what is the "meta query", is it an object representing the SQL string, or the results?
When you start with bad names it is no wonder that at some point you end up confused because you are not sure what exactly it does, or worse, there is ambiguity that given enough time it is problematic to fix, ala the usage of is_page() is it the result of the URL parsing or DB query.
The only way to be consistent is to inherit a parent class which defines the underlying assumptions. at the current state wp_meta_query is not the same as wp_user_query as although the names are similar the one does actual query and the other doesn't..
There is no real attempt to be consistant, just bad copy and paste of previous code
maybe its me that I dont know how to "correctly" log-in my "user" with my custom function but it doesn't work. The tool should block the "user to log in" if its not approve..
-> guys fill registration form -> he receive msg that he can't connect until admin approve his profil. -> if he try to log-in he receive the same msg.
the problems if .. I'm not sure how should log-in my user.. Should I create my own "looking his status" or I try to use the plugin.. because the second part .. i'm not sure how to trigger it.
Try the plugin or create a support thread on its forum. I think the plugin may send an email about the registration to users email address. if it doesn't you can hook into registration ( or change the default registration email ) email and add the additional info.
you can not login the user using this plugin as the plugin says it will block login unless approved.
anyone got a minute to talk htaccess customization?
I track what hits I get to my 404, 403 and 500 requests and I was looking for a way to start automatically appending to the bottom of my htaccess file after so many hits within a min. Still looking on the site to see how I can learn to append to the bottom of the file.
@Jean-philippeEmond I have set in my 404, 403 and 500 PHP files an automatic email notification that goes to an old box and a cron creates a database evaluating bad requests. I've noticed, which seems some bad bots, hitting a couple of sites within minutes around 100 times. So blocking the IP after so many hits in X time seemed to be an idea.
its not the best way but if you want to do in HTACCESS.. you need to do something like that. because many plugin edit (in wordpress) the htaccess. you need to check if you are the last or not.. well.. you need to do something like that
you just need to wrote your array into the file
like implode your array with PHP_OEL and push on your .htaccess