All plugins deactivated. What could cause this?
All plugins deactivated. What could cause this?
All plugins deactivated. What could cause this?
You need to remove composer.lock before running composer update. composer.lock locks your Composer project to a specific hash.
I’m the author of Mobile Smart Pro. I’m in the midst of testing WP-CLI with Mobile Smart Pro, and on line 27 of /wp-content/mu-plugins/ you should add the following test: if (!$mobile_smart) return $pluginList; So the section would look like: `function disablePlugins($pluginList) { if (is_admin()) return $pluginList; // only deactivate on front end global $mobile_smart; … Read more
You should probably use something like regex101.com to test this before you run it on a database. You could start off with something like: wp search-replace ‘<iframe ((width|height|frameborder)=”\d+” |allowfullscreen)+?src=”https://wordpress.stackexchange.com/questions/222382/https?:\/\/www\.youtube\.com\/embed\/([a-zA-Z0-9]+?)” ((width|height|frameborder)=”\d+” |allowfullscreen)+?>\<\/iframe\>’ ‘https://www.youtu.be/$1′ –regex but I’m not 100% sure of that…
From quick search I cannot find calls of this function in neither WP core or WP CLI. From quick check of documentation for it it seems that support for it in CLI context is (relatively) recent — starting with PHP 5.5.7. You might want to check if your PHP up to date. Note that CLI … Read more
This is problem with dropbox link. The zip file work good with other storage service, but seems the google drive similar error. In my case, it’s work good with cloudup storage service.
Can I use WP-CLI from a remote computer?
I managed to achieve what I wanted by piping wp-cli with xargs and grep, like this: wp post list –post_type=CPTNAME –field=ID | xargs -n 1 wp post meta list –format=csv | grep -E “^[[:digit:]]*,(CUSTOMFIELD1|CUSTOMFIELD2|…|CUSTOMFIELDN)” >> file.csv This is, however, extremely slow, taking more than 30 minutes for 10 thousand CPTs. I think a direct SQL … Read more
wp theme update command initiates WP’s update process for themes with an available update. Theme doesn’t have to be in WP repo, but theme must use WP’s automatic update process.
You can update posts using wp update But you probably want a to create custom package to do exactly what you want. Also see Commands Cookbook