Git Product home page Git Product logo

download-attachments's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

download-attachments's Issues

Title / filename not displayed

With the version currently on Github, on WordPress 4.8.1 the titles / file names are not displayed on the list. See attached screenshot.
download-attachments-bug-

WPML compatibility

Using the version currently on Github, with WordPress 4.8.1 and WPML 3.7.1, the files list is blank (see attached screenshot) and attachments are not saved.

download-attachments-wpml

Please note that WPML is a commercial plugin, but they offer free licenses to plugin developers to ensure maximum compatibility.
See https://wpml.org/purchase/theme-and-plugin-developers/

Download fails if pretty urls are enabled on Wordpress >6.1

Since Wordpress 6.1 - if pretty urls are enabled, and the download type is 'force', then the download fails at line 761 of functions.php.

Instead of forcing the download, the browser shows:

This site can’t be reached
The webpage at xxx might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE

Something appears to be conflicting with the fopen statement when pretty urls are enabled, even though $filepath and $filename appear to be correct. I've not been able to determine what is causing this, but it's consistent and repeatable. Forum posts here show similar reports: https://wordpress.org/support/topic/error-do-not-download-the-files-in-wordpress-6-1/

Code fails at this point:

if ( $filepath = fopen( $filepath, 'rb' ) ) {

Attachments disappears

I’m experiencing random attachment disappears form the backend and frontend. Using the WP quick edit the problem is triggered. So I think there is a bug to be fixed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.