Code Monkey home page Code Monkey logo

Comments (11)

afragen avatar afragen commented on August 17, 2024

This would be great. I didn't know how to do this and couldn't find any great examples to learn from.

from git-updater.

GaryJones avatar GaryJones commented on August 17, 2024

I don't know either off the top of my head, but I think a delve into WP core code should be able to find something filterable. At worst, we end-up hiding that link (so we're not leaving something obviously broken).

from git-updater.

afragen avatar afragen commented on August 17, 2024

This looks to be in wp-admin/includes/update.php around line 208. Looks like action hook in_plugin_update_message-$file

from git-updater.

afragen avatar afragen commented on August 17, 2024

This might also be helpful. http://wordpress.stackexchange.com/questions/2003/how-to-create-custom-message-on-plugin-update

from git-updater.

pdclark avatar pdclark commented on August 17, 2024

I have this in my updater plugin. See GPU_Updater::get_sections and this line in GPU_Controller::plugins_api(), as well as this check.

from git-updater.

afragen avatar afragen commented on August 17, 2024

I think I've done pretty well with e608ce5 and a649914 . This is in the develop branch.

Currently this only pulls from a CHANGES.md file. If I could just figure out how to return the markdown rendered text we would be set.

If there's an easy way to parse a standard readme.txt file into an object other data can be more easily populated. Of course that would then mean asking people to include valid readme.txt files. Another solution would be to parse the plugin's headers for the data and if it exists use it. It's not normally in the plugin's headers, but we are parsing that anyway.

Thoughts?

from git-updater.

afragen avatar afragen commented on August 17, 2024

I included PHP-Markdown to render CHANGES.md it's in latest develop branch.

from git-updater.

afragen avatar afragen commented on August 17, 2024

I'm getting a bunch of repository meta to try and fill in the empty data 2977962

It's getting closer. I just have an issue with removing the default row in the theme update row.

from git-updater.

afragen avatar afragen commented on August 17, 2024

Default theme update row now gone, 6a5a2e6

from git-updater.

afragen avatar afragen commented on August 17, 2024

Themes are a bit wonky here. Single/multisite installs are different too. Especially as of WP3.8. Working with @scarstens on this.

from git-updater.

afragen avatar afragen commented on August 17, 2024

@scarstens latest 3.9RC1 seems to have changed the 'View version xxx details' for the themes. Any ideas?

from git-updater.

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.