Warning: Declaration of GTranslate::widget($args) should be compatible with WP_Widget::widget($args, $instance) in /var/www/ninjatool.dk/blog/wp-content/plugins/gtranslate/gtranslate.php on line 0
short notes | NinjaTool inc.

Posts Tagged With: short notes

JS: Optional parameter default true

Just a short note: If you want to have an optional boolean parameter and have the default value to be false, you can use the property of a boolean to be false if it’s either undefined, null, 0 or false, so just evaluating opt_booleanParameter would evaluate to false it the parameter is omitted (I use that &hellip Continue reading »

Categories: Code | Tags: , , , , | 160 Comments