Plugin Directory

Changeset 404165


Ignore:
Timestamp:
07/03/2011 08:32:07 PM (15 years ago)
Author:
ekweible
Message:

A few minor changes

Location:
ask-it/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ask-it/trunk/ask-it.php

    r404161 r404165  
    2727*/
    2828
    29 define('ASKIT_VERSION', '0.5');
    3029define('ASKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ));
    3130
     
    12141213           
    12151214            // 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'] ) ) {
    12171216                mail( $this->settings['question_asked_email_to'], $this->settings['question_asked_email_subject'], $asker . ' has asked you a question on ' . get_bloginfo( 'home' ), $headers );
    12181217            }
    12191218           
    12201219            // 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'] ) ) {
    12221221                // We send a text notification by sending an email to the number @ carrier_domain
    12231222                // More info here: @link http://www.makeuseof.com/tag/email-to-sms/
     
    12381237     */
    12391238    public function notify_asker( $id ) {
    1240         if ( ! $this->settings['notification_question_answered_email'] )
     1239        if ( '' == $this->settings['notification_question_answered_email'] )
    12411240            return;
    12421241           
  • ask-it/trunk/readme.txt

    r404161 r404165  
    3939== Changelog ==
    4040
     41= 1.2 =
     42* Forgot to update the version number within ask-it.php
     43
    4144= 1.0.2 =
    4245* Fixes a missing default setting.
Note: See TracChangeset for help on using the changeset viewer.