[wp-testers] text widget strips google ad code

LCSV4 theape at thelittlechimpsociety.com
Mon May 28 16:02:16 GMT 2007


I have

***Add Sig 
<http://www.dagondesign.com/articles/add-signature-plugin-for-wordpress/>
****Add User Photo <http://www.andrewferguson.net/wordpress-plugins/>
****Akismet <http://akismet.com/>
****Dagon Design Form Mailer 
<http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/>
****ezlogin <http://template.sfong.net>
****Flexible upload <http://blog.japonophile.com/flexible-upload/>
****Sideblog Wordpress Plugin <http://katesgasis.com/2005/10/24/sideblog/>
****Themed Login and Register 
<http://www.jameskelly.org/wordpress-plugins/custom-login-and-registration-forms-plugin/>

Running on the blog I discovered the glitch with, but I have the same 
problem on a vanilla 2.2 on a different site even after I cleared my cache.

Can anyone eles replicate this problem.

*Here's what I paste into the text widget.

<script type="text/javascript"><!--
google_ad_client = "pub-5282224772597448";
google_ad_width = 180;
google_ad_height = 60;
google_ad_format = "180x60_as_rimg";
google_cpa_choice = "CAAQuZPuiwIaCAlHPZr4mOLoKKfC93MwAA";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript" 
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Line two gets zapped and becomes google_ad_client = "pub-";

Please note that is my actual client ID in case the series of numbers 
has anything to do with it.

-D

Justin Royce wrote:
> I actually don't have this particular problem and the 2.2 release. 
> I've edited and re-edited the Widget Text, swapped other Widgets 
> around and the code is the same. Are you running any AdSense plugins 
> or the like?
>
> Justin
>
> LCSV4 wrote:
>> It gets worse. The ID gets striped every time you save your widget 
>> configuration not just when you view or edit the text widget.
>>
>> I just wrote:
>>> Just a quick question...
>>>
>>> Should I submit this as a ticket or not!
>>>
>>> I'm using 2.2 Getz http://wordpress.org/latest.zip
>>>
>>> In the presentation>widgets>text
>>>
>>> Putting my google ad code into one is fine and it works but if you 
>>> view or edit the code after being saved it strips out the 
>>> google_ad_client id number. So the google ads still works, but you 
>>> won't get paid for clicks. This could be a problem since the text 
>>> widget has made the google ad widget redundant and I only noticed 
>>> the striping by accident.
>>>
>>> Should this not be a ticket since it only effects a 3rd parties code 
>>> and not wordpress's usability?
>>>
>>
>>
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>>
>>
>>
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>




More information about the wp-testers mailing list