• Resolved BoomDevs

    (@boomdevs)


    Dear Redux Development Team,

    I’m writing to you today on behalf of BoomDevs, a theme and plugin development company. We recently developed a plugin that utilizes the Redux Framework for its option panel. While everything functions as intended within the plugin itself, we’ve encountered two specific issues during the submission process to WordPress.org:

    File Uploader: WordPress.org has requested that we utilize the WordPress file uploader for file handling within the plugin.

    HEREDOC/NOWDOC Syntax: WordPress.org have been advised to avoid using HEREDOC or NOWDOC syntax within the plugin’s code.

    We’re currently using the latest version of the Redux Framework in our plugin. To provide further context, I’ve attached a screenshot of the email received from WordPress.org email screenshot:

    https://drive.google.com/file/d/1EwEDd8OY1m7LwOdE8G8FvmcZ7NwnlTS6/view

    We’d greatly appreciate your assistance in resolving these issues as soon as possible to ensure a smooth submission to WordPress.org. Please advise on any recommended approaches or potential solutions within the framework that would address these concerns.

    Sincerely,
    BoomDevs

    • This topic was modified 2 years, 2 months ago by BoomDevs.
    • This topic was modified 2 years, 2 months ago by BoomDevs.
Viewing 1 replies (of 1 total)
  • Plugin Author Kev Provance

    (@kprovance)

    Those codes have been part of Redux for years and wp.org never complained. I’m afraid we can’t change the inner workings of Redux and break backward compatibility with themes not offered on wp.org to satisfy wp.org and their ever changing demands.

    However, since you are embedding, you can modify those files. First, make sure you have the latest Redux. The line numbers you indicated don’t match up with the latest version. In redux-core/inc/classes/class-redux-filesystem.php, locate the function move_uploaded_file( string $file, string $destination, int $perms = null ) and delete the entire function. Redux does not use it anymore, but older projects may still use the function as part of our filesystem wrapper (and why the function still exists). Since you’re not using it, you can safely get rid of it.

    wp.org’s other complaint has to do with the Redux templating system. We removed it last year, but some of the code was left behind for projects that used the system for backward compatibility. In the redux-templates/classes/class-template-overrides.php, you can safely delete all the EOD blocks. Change any $css variables that contained them to a blank string. Eventually, the legacy code will be removed in a future version.

    Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Submission Issues with Redux Framework Integration’ is closed to new replies.