Comments (8)
It actually screws up the View Details.. for all other plugins.
Also - when you add more than one plugin to a site using the updater - only one appears in the Updates tab although the numeric counter on the Updates tab says "2".
from automatic-theme-plugin-update.
I have mine working perfectly for multiple plugins and on a multisite too - you must be doing something wrong
from automatic-theme-plugin-update.
If you still have the testing code uncommented at the top of the update
code this will happen. Once its commented back out the plugin screens
should go back to normal.
--Jeremy Clark
Clark Tech Services
http://clark-technet.com
On Feb 18, 2013 8:26 AM, "Melanie Shepherd" [email protected]
wrote:
I have mine working perfectly for multiple plugins and on a multisite too
- you must be doing something wrong
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-13721744.
from automatic-theme-plugin-update.
Thanks for the replies guys.
I created an empty plugin to test this but I just can't get it to show the info or download the new file.
I did re-comment out that testing code Jeremy but it didn't do anything.
Here's the plugin code:
http://pastebin.com/ik2mh64M
and here's the package details:
http://pastebin.com/cUBkQWF8
I have the updater under the /api/ root folder of the remote site
Thanks,
Wil.
from automatic-theme-plugin-update.
in your packages.php file - i think you should have the following line:
'package' => 'http://www.limecanvas.com/download.php?key=' . md5('lime-canvas-support-plugin-v1.1.zip' . mktime(0,0,0,date("m"),date("d"),date("Y"))),
AS
'package' => 'http://www.limecanvas.com/api/download.php?key=' . md5('lime-canvas-support-plugin-v1.1.zip' . mktime(0,0,0,date("m"),date("d"),date("Y"))),
your download.php and packages.php + the update folder to add the zip files in - or whatever you've called it should be in the api folder.
from automatic-theme-plugin-update.
Thanks @mommaroodles- I'll make that change
from automatic-theme-plugin-update.
just try to add underscore in all section id:
other notes to other_notes
from automatic-theme-plugin-update.
Found the issue - I was wrongly applying the filter
add_filter('plugins_api', array( &$this, 'lcsup_plugin_api_call', 10, 3 ) );
Should have been
add_filter('plugins_api', array( &$this, 'lcsup_plugin_api_call'), 10, 3 );
All working now.
Thanks for both of your help.
Awesome code!
from automatic-theme-plugin-update.
Related Issues (20)
- License information HOT 6
- An error occurred while updating... HOT 2
- Multisite $checked_data->checked[$pluginname] empty HOT 5
- Help me, it can not run in my theme
- download.tmp
- WP Network Multisite HOT 3
- Error when viewing plugin version details HOT 3
- Solving WordPress server error message in Add New theme screen HOT 1
- The
- causing a [PHP Fatal error: Call to undefined function auth_redirect()] HOT 1
- Doesn't work with filter 'pre_set_site_transient_update_themes'
- Cannot modify header information HOT 2
- Update theme works but wrong theme folder name HOT 1
- is this still working? i can't get it to work HOT 1
- Afte update Plugin Folder name is appended with some strings HOT 1
- plugin update failed HOT 1
- f(x) Updater - Auto Update Theme & Plugin With UI
- Child Theme - theme X update process - no update
- Recent Issues - Wordpress 5.5 HOT 1
- Theme update results in new theme folder name of "download-XXXX" HOT 1
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 automatic-theme-plugin-update.