Skip to content

Instantly share code, notes, and snippets.

Avatar

Roger Saner BurningDog

View GitHub Profile
@BurningDog
BurningDog / Hi.jpg
Last active Jul 13, 2020 — forked from ryanlucas/Hi.jpg
Image Prototype Demo
@BurningDog
BurningDog / config.yaml
Last active May 17, 2018 — forked from pkuczynski/parse_yaml.sh
Replace local Wordpress database (running inside Homestead) with production database
View config.yaml
prod:
# ssh authentication details
ssh: user@example.com
# path to wordpress on the server
wordpress: path/to/wordpress
# path to backups folder on the server (must exist)
backups: backups
# production url
url: www.example.com
View wordpress.patch
diff --git a/web/wp/wp-includes/load.php b/web/wp/wp-includes/load.php
index c7a46de..f52539e 100644
--- a/web/wp/wp-includes/load.php
+++ b/web/wp/wp-includes/load.php
@@ -318,7 +318,7 @@ function wp_debug_mode() {
}
if ( WP_DEBUG ) {
- error_reporting( E_ALL );
+ error_reporting( E_ALL & ~E_DEPRECATED);
You can’t perform that action at this time.