Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wordpress [05/11/2023 - 16:56] – thommie4 | wordpress [17/08/2024 - 07:06] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
===== WP-CLI auf der Kommandozeile ===== | ===== WP-CLI auf der Kommandozeile ===== | ||
- | Quelle: https:// | + | Quelle: |
===== Installation ===== | ===== Installation ===== | ||
- | + | **Download** | |
- | **Download** | + | |
< | < | ||
curl -O https:// | curl -O https:// | ||
+ | |||
</ | </ | ||
- | **Versionskontrolle** | + | **Versionskontrolle** |
< | < | ||
php wp-cli.phar --info | php wp-cli.phar --info | ||
+ | |||
</ | </ | ||
- | **Ausführbar machen** | + | **Ausführbar machen** |
< | < | ||
chmod +x wp-cli.phar | chmod +x wp-cli.phar | ||
+ | |||
</ | </ | ||
- | **verschieben, | + | **verschieben, |
< | < | ||
sudo mv wp-cli.phar / | sudo mv wp-cli.phar / | ||
+ | |||
</ | </ | ||
**Danach im jeweiligen WP root Directory starten** | **Danach im jeweiligen WP root Directory starten** | ||
- | |||
< | < | ||
sudo -u www-data wp | sudo -u www-data wp | ||
+ | |||
</ | </ | ||
**Hilfe** | **Hilfe** | ||
- | |||
< | < | ||
sudo -u www-data wp help | sudo -u www-data wp help | ||
+ | |||
</ | </ | ||
**Core Update einer WP Installation** | **Core Update einer WP Installation** | ||
- | |||
< | < | ||
sudo -u www-data wp core update | sudo -u www-data wp core update | ||
Zeile 50: | Zeile 48: | ||
PHP Warning: | PHP Warning: | ||
Updating to version 6.3.1 (de_DE)... | Updating to version 6.3.1 (de_DE)... | ||
- | Herunterladen der Aktualisierung von https:// | + | Herunterladen der Aktualisierung von https:// |
- | Entpacken der aktualisierten | + | Entpacken der aktualisierten |
Success: WordPress updated successfully. | Success: WordPress updated successfully. | ||
+ | |||
</ | </ | ||
+ | |||
+ | User Management | ||
+ | |||
+ | < | ||
+ | < | ||
+ | or: wp user application-password < | ||
+ | or: wp user check-password < | ||
+ | or: wp user create < | ||
+ | [--user_nicename=< | ||
+ | ] [--rich_editing=< | ||
+ | or: wp user delete < | ||
+ | or: wp user generate [--count=< | ||
+ | or: wp user get < | ||
+ | or: wp user import-csv < | ||
+ | or: wp user list [--role=< | ||
+ | or: wp user list-caps < | ||
+ | or: wp user meta < | ||
+ | or: wp user remove-cap < | ||
+ | or: wp user remove-role < | ||
+ | or: wp user reset-password < | ||
+ | or: wp user session < | ||
+ | or: wp user set-role < | ||
+ | |||
+ | </ | ||
+ | |||
+ | Password reset | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||