Support Forum
Are you sure about it? because i've navigated the code and found 2 calls about wp_default_scripts (the function that enqueue the pupload script)
backend:
https://github.com/WordPress/W.....cripts.php
front end:
https://github.com/WordPress/W.....s.php#L434
if i comment out the front end line in core files, the whole site has errors about missing jquery etc.
It's quite strange
Anyway, i've delayed bootstrap loading in this way:
wp_dequeue_script( 'bootstrap1' );
wp_deregister_script( 'bootstrap1' );
wp_enqueue_script( 'bootstrap1', get_template_directory_uri().'/js/bootstrap.min.js',9999,'',true);
and now the add file / start upload buttons are working! But there's still that errors and my buttons are not shown correctly (just text, no style)
PS. the most critical issue is still the popup errors on profile editing 🙁 i've a lot of users without displayed name and they cannot update it in forum profile dashboard.
If you note i've linked you the exact line where default filters add this action:
add_action( 'wp_default_scripts', 'wp_default_scripts' );
this action call the wp_default_scripts even if you're in frontend, loading all that scripts and css including plupload and jqueryui
in fact if i comment out that line the frontend doesn't work anymore with a lot of missing library errors
Dunno how's it possible
I am not going to argue any further about whether plupload is loaded by WP on the front end or not. I simply point out that it is a point of conflict in your website that may well have a negative effect on uploading within the forum.
The double loading of the jQuery UI library is something that can have negative effects on things as I have already stated. It is to to you whether you deal with this potential issue or not.
So lets just concentrate ion the profile issue.
the inly time I have seen this behaviour it was caused by a WP plugin that aded profile features. Do you have any such plugins active? In fact ANYTHING ay all that may effect profile data?
YELLOW
SWORDFISH
|
I've disabled all plugins related to profile, don't know if i'm missing something but i'm tring to debugging it.
Javascript doesn't show any errors and even my apache error log. So i think there's some strange behaviour with sessions/cookie and the ajax call fail
take a look at this screenshot
both ajax calls return a null response (even if success) but i've tried to load that url you can see in .load() normally in a browser taband it returns the signature string....so it seems that the .load() and .ajaxForm() have problem with sessions ( ? )
they shouldnt have and dont see how they would... but perhaps something on your site is blocking ajax requests... something like mod_security which has been known to run amok like that... any chance you have mod_security or other security app running?
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)