Plugin Directory

Changeset 1340802


Ignore:
Timestamp:
02/01/2016 05:25:22 PM (10 years ago)
Author:
ruess
Message:

Update to dashboard survey and fix of function to prevent conficts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • handsome-testimonials/trunk/includes/admin-popups.php

    r1334223 r1340802  
    164164}
    165165
    166 function fb_enqueue_wp_pointer( $hook_suffix ) {
     166function hndtst_fb_enqueue_wp_pointer( $hook_suffix ) {
    167167    // Don't run on WP < 3.3
    168168    if ( get_bloginfo( 'version' ) < '3.3' )
     
    188188            add_action( 'admin_print_footer_scripts', 'hntst_email_pointer_content' );
    189189
    190         }elseif((($now-$email_pointer_close_time) > $one_hour*72) && !$survey_hidden){ //if after 3 days
     190        }elseif((($now-$email_pointer_close_time) > $one_hour*24) && !$survey_hidden){ //if after 3 days
    191191            //popup survey pointer
    192192            add_action( 'admin_print_footer_scripts', 'hntst_popup_survey_pointer' );
     
    201201    }
    202202}
    203 add_action( 'admin_enqueue_scripts', 'fb_enqueue_wp_pointer' );
     203add_action( 'admin_enqueue_scripts', 'hndtst_fb_enqueue_wp_pointer' );
    204204
    205205/* send feedback with js */
Note: See TracChangeset for help on using the changeset viewer.