GithubHelp home page GithubHelp logo

Comments (2)

allan23 avatar allan23 commented on August 16, 2024

Hello @jiji0806,

We never recommend directly editing the plugin when you can use filters to accomplish something. Thankfully, this plugin utilizes WordPress core functionality that can be filtered (https://developer.wordpress.org/plugins/hooks/filters/).

Looking at the plugin's codebase, you may be able to resolve your issue with one or more of the following filters:

  1. Hook into the sanitize_file_name filter to alter the filename. (https://developer.wordpress.org/reference/hooks/sanitize_file_name/)

  2. You can hook into the wp_handle_upload filter to see if you can encode the filename (https://developer.wordpress.org/reference/hooks/wp_handle_upload-7/).

from windows-azure-storage.

jiji0806 avatar jiji0806 commented on August 16, 2024

thank you for answering me.

Wordpress itself, allows us to upload image file which contains foreign characters ( at lease Korean characters since I tested).
1.so I think "sanitize_file_name" <- shouldn't be any problem, I checked Wordpress core function and it was about avoiding special characters.

  1. next, I tried find out how to use and hook with "wp_handle_upload".
    but it's not certain for me...I think I lost.

if you mind, can you write piece of code that can resolve this problem.. I will be appreciate it.
if you busy, can u guide me more detail please.

from windows-azure-storage.

Related Issues (20)

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.