[wp-hackers] Problems with interface.js under country proxy

Viper007Bond viper at viper007bond.com
Wed Dec 5 23:31:39 GMT 2007


The version number is simply there so that when/if a new version of the file
comes out with a new version of WordPress, your browser won't use the old,
cached version.

Simply put, you shouldn't encounter any problems whatsoever. :)

On 12/5/07, Vinicius Provenzano <viniciusxp at gmail.com> wrote:
>
> Hello all,
>
> I' m no coder, but I had to make a hack to get wordpress widgets drag
> and drop working on my enviroment.
>
> At first I thought my blog was broken, maybe by a plugin or upgrade.
> Then, while in the US in vacation, it started workihng again. When I
> came back drag and drop got messed again and I noticed that it also
> happened with wordpress.com blogs.
>
> After a lot of searching, backups, reinstalling, #wordpress, etc...
> I've found the problem and I was able to fix it (I hope without
> creating further problems)...
>
> Right now I' m working in Tunisia, and all Internet traffic pass by a
> transparent proxy that blocks all kind of content considered to be
> inappropriate by the government. We can' t see the proxy, it's not
> browser configured, it is at country's backbone.
>
> Probably there is a misconfiguration somewhere, and when my browser
> tries to load interface.js on the url:
>
> http://www.camelomanco.com/blog/wp-includes/js/jquery/interface.js?ver=1.2
>
> It gets the 404 error.
>
> If I try:
>
> http://www.camelomanco.com/blog/wp-includes/js/jquery/interface.js
>
> It shows properly the interface.js sourcefile.
>
> So I make a little editing on script-loader.php, on line 77:
>
> from:
>                 $this->add( 'interface',
> '/wp-includes/js/jquery/interface.js',
> array('jquery'), '1.2');
>
> to
>
>                 $this->add( 'interface',
> '/wp-includes/js/jquery/interface.js',
> array('jquery'), '');
>
> The url it loads now is:
>
>
> http://www.camelomanco.com/blog/wp-includes/js/jquery/interface.js?ver=6124
>
> and since the proxy does not block it,  I got drag and drop working again.
>
> Do you think this "hack" will create me problems elsewhere?
>
> Regards,
>
> Vinicius Provenzano
>
>
>
>
>
>
>
>
>
> --
> Vinícius Provenzano
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list