I am trying to add define(‘WP_MEMORY_LIMIT’, ’96M’); after the define(‘WP_DEBUG’, false); in a wordpress php […]
Tag: bash
Sed is ignoring sinqle quotes when adding lines to a file
I want to add some PHP code to my WordPress wp-config.php file using sed. But […]
Bash Regex multiple optional captures
I’m trying to get information out of wordpress plugins, the plugin name and the version. […]
WP-Cli Multisite Reports
I’ve got a multisite install and wp-cli set up and working. Optimally, what I’d need […]
‘rsync’ bash script help for file synchronisation to wordpress live server
I have a bash script that I want to use to synchronise the local changes […]
Can’t reach wordpress on vagrant
I’m using Vagrant to setup a VM with a LAMP stack and WordPress on top, […]
SED Match/Replace URL and Update Serialized Array Count
Below is an example snippet from a sql dump file. This specific row contains a […]
Add tags/categories to a WordPress post from WP-CLI
I have a bash script that posts to WordPress. It does this fine, but I […]
Bash insert config with special characters into wp-config.php
I’m trying to insert a config used to get the (presumably) real IP of visitors […]
Bash while loop iterates only once whenever body contains ssh
I’m reading host information from a text file and pass it to an ssh command: […]
No More Posts Available.
No more pages to load.