Skip to content

Instantly share code, notes, and snippets.

View BurningDog's full-sized avatar

Roger Saner BurningDog

View GitHub Profile
Vending Machine*
Inactive
Switch On->Active
Active
Switch Off->Inactive
New Order
Select New Snack->Show Price
Timeout?->Inactive
@BurningDog
BurningDog / Hi.jpg
Last active July 13, 2020 14:49 — forked from ryanlucas/Hi.jpg
Image Prototype Demo
Hi.jpg
@BurningDog
BurningDog / config.yaml
Last active May 17, 2018 09:30 — forked from pkuczynski/parse_yaml.sh
Replace local Wordpress database (running inside Homestead) with production database
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
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);