Comments (11)
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.
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.
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.
This might also be helpful. http://wordpress.stackexchange.com/questions/2003/how-to-create-custom-message-on-plugin-update
from git-updater.
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.
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.
I included PHP-Markdown to render CHANGES.md
it's in latest develop
branch.
from git-updater.
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.
Default theme update row now gone, 6a5a2e6
from git-updater.
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.
@scarstens latest 3.9RC1 seems to have changed the 'View version xxx details' for the themes. Any ideas?
from git-updater.
Related Issues (20)
- 'We made a few tweaks to the plugin, Opt in to make "Git Updater" better'! link broken HOT 4
- Problem of CSS layout in changelog tab HOT 6
- Version number issue: Version: 0.2.41 does not update to Version: 0.2.5 HOT 1
- 404 Error can't get updates HOT 4
- An error occurred while updating WebHeroe: Update package not available. HOT 4
- Persistent license reminder on network admin screens on multisite installs HOT 4
- Cron refresh never finishes HOT 1
- GitHub Updater Error Code: 401 HOT 1
- Consider `main` as default branch (instead of `master`) HOT 1
- Possible to include branch name in assets? HOT 2
- "Doing it wrong" message in Query Monitor HOT 2
- GitHub Access Token disappears HOT 5
- Análisis Auth
- discouraged Improvements HOT 1
- Please be patient while WP-Cron finishes making API calls. HOT 5
- Header information HOT 1
- Theme deleted during update HOT 8
- Dockerized Project - style.css not in the root of the repo HOT 25
- Git-Updater website login HOT 9
- Bitbucket: Download failed. Too many redirects HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-updater.