Comments (2)
--skip-themes
is a global argument in WP-CLI to skip loading the theme. However, the doctor check
command deliberately forces WordPress to be loaded with a theme:
doctor-command/inc/class-command.php
Lines 304 to 356 in 1c46617
So the two are not really compatible.
While the command could be adapted to manually load the theme's functions.php
in that case, it's probably much simpler to just document that it can't be used in combination with --skip-themes
.
What's the reason you are using --skip-themes
in this instance?
from doctor-command.
Thank you for the response. I was unaware of the compatibility issues. That --skip-themes
flag ended up working its way into my notes as I run other commands with --skip-themes --skip-plugins
when checking some core things.
Thank you kindly for the information. I will update my notes and discontinue the use.
from doctor-command.
Related Issues (20)
- check exits with error status when WP issues are found
- Availability of this repo through Composer HOT 2
- Move test version back from `5.1.1` to `5.1` for PHP 5.4 tests
- Adopt and enforce new `WP_CLI_CS` standard HOT 1
- Doctor core-verify-checksums succesful, but wp core verify-checksums not HOT 1
- `autoload-options-size` check should include autoloaded transients HOT 2
- Deprecated use for implode function HOT 1
- Installation Error with wp doctor HOT 1
- Duplicate-cron complains about WP core functionality (publish_future_post) HOT 1
- [PHP 8] Core check update test uses WordPress 4.4 which uses magic quotes HOT 1
- WP-CLI Runs Out Of Memory During Installation HOT 1
- runcommand.io links are broken in readme HOT 5
- Stable version package shows fatal error HOT 3
- Introduce --verbose flag to provide more visibility into what checks are doing HOT 1
- option to return headless results HOT 2
- error only spotlight option HOT 8
- documentation clarification: cache-flush detects existence of wp_cache_flush(), not number of occurences HOT 6
- mmap() failed: [12] Cannot allocate memory when running check cache-flush HOT 3
- wp_cache_flush warning without explanation. Happens with checksums verifier also HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctor-command.