Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Refers to accounts with the ability to login and participate in a WordPress site.
6
votes
How to change user_login with wp-cli?
search-replace does the trick but can have undesired side effects if old_login appears in other contexts in the database:
wp search-replace old_login new_login
But before doing that run
wp sql dum …
3
votes
2
answers
12k
views
How can I add a user through SQL?
By mistake I just ran this query: (note the extra ;)
DELETE FROM wp_users; WHERE ID = 321;
How can I add a user through SQL?
I searched around but couldn't find a proper answer to this fairly sim …
10
votes
2
answers
7k
views
How to change user_login with wp-cli?
How to change the username with wp-cli?
This does not work:
wp user update old_login --user-login=new_login