Git Product home page Git Product logo

Comments (6)

thomasgriffin avatar thomasgriffin commented on June 26, 2024

I'm all for it. Would be nice if we can pull it into the current UI of the Plugin_Installer_Skin class and plugins_api. So after the "Plugin installed successfully" message we could have a "Plugin activated successfully" message.

from tgm-plugin-activation.

thomasgriffin avatar thomasgriffin commented on June 26, 2024

Ok, the issue here with activate_plugin is that the plugin is not returning a valid header. I believe this has to do with the plugins cache, but placing wp_cache_flush() before activating the plugin (but after installing it) still is not allowing the plugin to automatically be activated after it is installed.

from tgm-plugin-activation.

thomasgriffin avatar thomasgriffin commented on June 26, 2024

Breakthrough!!

from tgm-plugin-activation.

thomasgriffin avatar thomasgriffin commented on June 26, 2024

You are going to like the new updates I'm going to push tomorrow :) It is a huge victory for this class - it truly makes it automatic. ;-)

from tgm-plugin-activation.

GaryJones avatar GaryJones commented on June 26, 2024

Re-opening, so that a few more improvements can be made to the solution - see the notes on the commit.

from tgm-plugin-activation.

thomasgriffin avatar thomasgriffin commented on June 26, 2024

I knew there were going to be issues. :) I finally made the breakthrough as I was about to go to bed, so I wanted to go ahead and push something so I wouldn't forget. I'll go in today and make those fixes.

from tgm-plugin-activation.

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.