Plugin Directory

Changeset 1043315


Ignore:
Timestamp:
12/12/2014 08:22:41 AM (11 years ago)
Author:
askapache
Message:

Plugin Settings getting wiped-out on activation/deactivation now FIXED!

Location:
askapache-google-404
Files:
34 added
3 edited

Legend:

Unmodified
Added
Removed
  • askapache-google-404/trunk/askapache-google-404.php

    r994001 r1043315  
    66 * Author: askapache
    77 * Contributors: askapache
    8  * Version: 5.0.1
    9  * Updated: 9/20/2014
     8 * Version: 5.0.2
     9 * Updated: 12/12/2014
    1010 * Requires at least: 3.3
    11  * Tested up to: 4.0
    12  * Tags: google, 404, 404-1, not-found, missing, lost, error, htaccess, ErrorDocument, notfound, ajax, search, seo, mistyped, redirect, notify, url, news, videos, images, blogs, optimized, askapache, admin, ajax, template, traffic
     11 * Tested up to: 4.0.1
     12 * Tags: google, 404, 404-1, 0-404, 0404, not-found, missing, lost, error, htaccess, ErrorDocument, notfound, ajax, search, seo, mistyped, redirect, notify, url, news, videos, images, blogs, optimized, askapache, admin, ajax, template, traffic, oops
    1313 * WordPress URI: http://wordpress.org/extend/plugins/askapache-google-404/
    1414 * Author URI: http://www.askapache.com/
     
    343343        } else {
    344344            ( AA_G404D ) && ISCLOG::tw( 'NEW VERSION ALREADY' );
     345            $this->code = $code;
    345346        }
    346347
     
    14851486            <script type="text/javascript">
    14861487            /* <![CDATA[ */
    1487             (function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date;a=s.createElement(o),m=s.getElementsByTagName(o)[0];
    1488             a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","//www.google-analytics.com/analytics.js","ga");
    1489             ga("create",'<?php echo preg_replace( '/[^A-Z0-9\-]*/', '', $AA_G404->options['analytics_key'] );?>',"auto");
    1490             ga("send","pageview", <?php echo $AA_G404->options['analytics_url']; ?>);
    1491             /* ]]> */
    1492             </script>
    1493    
    1494             <script type="text/javascript">
    1495             /* <![CDATA[ */
    14961488                var _gaq=_gaq||[];_gaq.push(['_setAccount','<?php echo preg_replace( '/[^A-Z0-9\-]*/', '', $AA_G404->options['analytics_key'] );?>']);
    14971489                _gaq.push(['_trackPageview', <?php echo $AA_G404->options['analytics_url'];?>]);
     
    15011493            /* ]]> */
    15021494            </script>
     1495
     1496            <script type="text/javascript">
     1497            /* <![CDATA[ */
     1498            (function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date;a=s.createElement(o),m=s.getElementsByTagName(o)[0];
     1499            a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","//www.google-analytics.com/analytics.js","ga");
     1500            ga("create",'<?php echo preg_replace( '/[^A-Z0-9\-]*/', '', $AA_G404->options['analytics_key'] );?>',"auto");
     1501            ga("send","pageview", <?php echo $AA_G404->options['analytics_url']; ?>);
     1502            /* ]]> */
     1503            </script>   
    15031504
    15041505        <?php endif;
     
    15811582        var aa_LABEL="<?php echo esc_js( str_replace('"', "'", get_option( 'blogname' ) ) ); ?>";
    15821583        var aa_MYSITE="<?php echo esc_js( str_replace( 'www.', '', $host ) ); ?>";
    1583         var aa_BGLABEL=" ";
    15841584        var GOOG_FIXURL_LANG="<?php echo esc_js( str_replace('"', "'", get_bloginfo( 'language' ) ) ); ?>";
    15851585        var GOOG_FIXURL_SITE="<?php echo esc_js( WP_SITEURL ); ?>";
  • askapache-google-404/trunk/f/o/orig.js

    r991821 r1043315  
    8383  gSearchGoogleGuess.setUserDefinedLabel("Googles Best Guess");
    8484  gSearchGoogleGuess.setSiteRestriction(aa_MYSITE);
    85   gSearchGoogleGuess.setQueryAddition(aa_BGLABEL);
     85  //gSearchGoogleGuess.setQueryAddition(aa_BGLABEL);
    8686  this.gCT.addSearcher(gSearchGoogleGuess, sOPT);
    8787  this.gCT.draw(a16g("gDiv"), drawOptions);
  • askapache-google-404/trunk/readme.txt

    r994001 r1043315  
    22Contributors: askapache
    33Donate link: http://www.askapache.com/donate/
    4 Tags: google, 404, 404-1, not-found, missing, lost, error, htaccess, ErrorDocument, notfound, ajax, search, seo, mistyped, redirect, notify, url, news, videos, images, blogs, optimized, askapache, admin, ajax, template, traffic
     4Tags: google, 404, 404-1, 0-404, 0404, not-found, missing, lost, error, htaccess, ErrorDocument, notfound, ajax, search, seo, mistyped, redirect, notify, url, news, videos, images, blogs, optimized, askapache, admin, ajax, template, traffic, oops
    55Requires at least: 3.3
    6 Tested up to: 4.0
    7 Stable tag: 5.0.1
     6Tested up to: 4.0.1
     7Stable tag: 5.0.2
    88
    99
Note: See TracChangeset for help on using the changeset viewer.