Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP 4.5 : File browser issue #38

Open
pitichampi opened this issue Apr 13, 2016 · 12 comments
Open

WP 4.5 : File browser issue #38

pitichampi opened this issue Apr 13, 2016 · 12 comments

Comments

@pitichampi
Copy link

Hello !

I've just updated to WordPress 4.5 on my testing environment.

I can't use the file browser anymore : the folders can't be expanded to display what is inside.

Sorry for my bad english... I hope you'll understand.

Tests on Safari 9.1 and Chrome 49 (mac) with version 3.4.3 of the plugin

@teacherseck
Copy link

Hello
I have the same problem. I updated to wordpress 4.5 yesterday and I have some issue with the shorcord generator.
folders are not accessible and in some parts the validation or insert button are not showing. apart form that everything is fine.
browser firexox uptodate

@pitichampi
Copy link
Author

Note that this problem exists in front and admin

@ePascalC
Copy link

Isn't this related to the jQuery issue ? I will try this weekend for sure.

First info:
Updated libraries: We updated jquery, backbone, and a couple other libraries. This may cause your browsers to render oddly. Please remember to flush your cache (browser and website/server). If you're using Cloudflare, you may need to kick it.

As an example:
Change this (for plugin authors):
$( 'a[href*=#]:not([href=#])' ).click( function() {
To this:
$( 'a[href*="#"]:not([href="#"])' ).click( function() {

Adding this in functions.php should work according to my sources (BUT REMOVE THIS WHEN THE PROBLEM IS FIXED !):

if (!is_admin()) {
  wp_deregister_script('jquery');
  wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.11.3');
  wp_enqueue_script('jquery');
}

Pascal.

@fl4p
Copy link
Owner

fl4p commented Apr 18, 2016

Hi, this is indeed related to a jQuery incompatibility (removal of the 3rd argument for $.each())

Ive just pushed the fix 0aa7dc5

@teacherseck
Copy link

Thanks for the awsome job Fabian.

@64h01101001h
Copy link

Thanks Fabian!

@teacherseck
Copy link

Hi ,
There is one issue left. On category select display files do not show. The datatable view for instance reports there are no files when user is logged out. If all categories are selected files display works fine.

@fl4p
Copy link
Owner

fl4p commented Apr 25, 2016

@teacherseck is that issue on the front-end only?
Whats your shortcode?
Can you post a link?

@teacherseck
Copy link

teacherseck commented Apr 25, 2016

Here is an example yes, it's frontend only
http://transace.net/eflshare/tests/
[wpfilebase tag=list id='11,14,8,12,10,13,9' tpl=data-table showcats=1 pagenav=1 sortcats='<cat_name' /]

@fl4p
Copy link
Owner

fl4p commented Apr 25, 2016

showcats=1 is not compatible with data Tables. Change it to showcats=0

@teacherseck
Copy link

Fabian
I have changed the showcats=0 but still the same.
I tried this
[wpfilebase tag=list id='2,6,3,5,1,7,4' tpl=data-table pagenav=1 /]

I see the data when logged in but not when I am logged out.

@infopriyank
Copy link

infopriyank commented Jun 14, 2017

Hello !

My files has automatically deleted from backend inside wpfilebase plugin .any one have idea about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants