Changeset 404165
- Timestamp:
- 07/03/2011 08:32:07 PM (15 years ago)
- Location:
- ask-it/trunk
- Files:
-
- 2 edited
-
ask-it.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ask-it/trunk/ask-it.php
r404161 r404165 27 27 */ 28 28 29 define('ASKIT_VERSION', '0.5');30 29 define('ASKIT_PLUGIN_URL', plugin_dir_url( __FILE__ )); 31 30 … … 1214 1213 1215 1214 // Email notification 1216 if ( $this->settings['notification_question_asked_email'] && ( ""!= $this->settings['question_asked_email_to'] ) ) {1215 if ( $this->settings['notification_question_asked_email'] && ( '' != $this->settings['question_asked_email_to'] ) ) { 1217 1216 mail( $this->settings['question_asked_email_to'], $this->settings['question_asked_email_subject'], $asker . ' has asked you a question on ' . get_bloginfo( 'home' ), $headers ); 1218 1217 } 1219 1218 1220 1219 // Text notification 1221 if ( $this->settings['notification_question_asked_text'] && ( "" != $this->settings['question_asked_text_number'] ) && ( ""!= $this->settings['question_asked_text_carrier'] ) ) {1220 if ( $this->settings['notification_question_asked_text'] && ( '' != $this->settings['question_asked_text_number'] ) && ( '' != $this->settings['question_asked_text_carrier'] ) ) { 1222 1221 // We send a text notification by sending an email to the number @ carrier_domain 1223 1222 // More info here: @link http://www.makeuseof.com/tag/email-to-sms/ … … 1238 1237 */ 1239 1238 public function notify_asker( $id ) { 1240 if ( !$this->settings['notification_question_answered_email'] )1239 if ( '' == $this->settings['notification_question_answered_email'] ) 1241 1240 return; 1242 1241 -
ask-it/trunk/readme.txt
r404161 r404165 39 39 == Changelog == 40 40 41 = 1.2 = 42 * Forgot to update the version number within ask-it.php 43 41 44 = 1.0.2 = 42 45 * Fixes a missing default setting.
Note: See TracChangeset
for help on using the changeset viewer.