bigspring / monolith

A starter theme for WordPress built with Twitter Bootstrap
MIT License
9 stars 1 forks source link

Enable WP_DEBUG in dev mode by default? #265

Closed dmseaton closed 9 years ago

juliotaylor commented 9 years ago

@jrgmartin any thoughts on this yet?

dmseaton commented 9 years ago

Maybe we should add some kind of toggle switch to the admin bar so this can be changed as required?

Following links look useful:

http://wordpress.stackexchange.com/questions/47123/how-to-define-wp-debug-as-true-outside-of-wp-config-php http://www.wordpressluv.com/how-to-easily-enabledisable-debug-mode-in-wordpress/ http://php.net/manual/en/function.runkit-constant-redefine.php

jrgmartin commented 9 years ago

I think we should leave it on permanently when in development mode to avoid it being forgotten. 

Jon Martin

BigSpring Web Development

Office: +44 (0) 115 906 1321

Mobile: + 44 (0) 7787 121897

Skype: jon.bigspring

http://www.bigspring.co.uk

http://www.twitter.com/bigspringweb

http://www.facebook.com/bigspringweb

BigSpring is a trading division of Big Spring (UK) Ltd

Registered in England & Wales No. 06741331, 29 St Austins Drive, Nottingham, NG4 3EY

On Wed, Mar 4, 2015 at 10:49 AM, dmseaton notifications@github.com wrote:

Maybe we should add some kind of toggle switch to the admin bar so this can be changed quickly? Following links look useful: http://wordpress.stackexchange.com/questions/47123/how-to-define-wp-debug-as-true-outside-of-wp-config-php http://www.wordpressluv.com/how-to-easily-enabledisable-debug-mode-in-wordpress/

http://php.net/manual/en/function.runkit-constant-redefine.php

Reply to this email directly or view it on GitHub: https://github.com/bigspring/monolith/issues/265#issuecomment-77136311