Support » Plugins and Hacks » [Plugin: Contact Form 7] Loader gid just doesn't display anymore

  • I’m not sure if anything I did could affect, but I’m sure I didn’t touch anything related to contact form 7….

Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe this could help…

    if ( wpcf7_script_is() ) {
    		$src = apply_filters( 'wpcf7_ajax_loader', wpcf7_plugin_url( 'images/ajax-loader.gif' ) );
    		$html .= '<img class="ajax-loader" style="visibility: hidden;" alt="' . esc_attr( __( 'Sending ...', 'wpcf7' ) ) . '" src="' . esc_url_raw( $src ) . '" />';
    	}

    This is where the script appends the image

    v

    OK! Got it!

    I just deleted the “if ( wpcf7_script_is() ) { “

    So now it looks like:

    $src = apply_filters( ‘wpcf7_ajax_loader’, wpcf7_plugin_url( ‘images/ajax-loader.gif’ ) );
    $html .= ‘<img class=”ajax-loader” style=”visibility: hidden;” alt=”‘ . esc_attr( __( ‘Sending …’, ‘wpcf7’ ) ) . ‘” src=”‘ . esc_url_raw( $src ) . ‘” height=”16px” width=”16px” />’;

    I also added the “height=”16px” width=”16px” just in case

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] Loader gid just doesn't display anymore’ is closed to new replies.