- added WP-CLI compatibility
- refactored
Base::admin_pages_update_transient()andAPI::wp_update_response()to useBase::make_update_transient_current(), this fixed some PHP notices #508 - added banner display to plugin
View detailsiframe - fixed PHP notice by allowing
GitHub_APIto pull repo meta info from forks #512 thanks @egifford - change
API::get_dot_org_datato use JSON response to avoid PHP notices - refactored
GitHub_API::get_repo_meta()for simplification - moved some repo renaming to their own methods from
Base::upgrader_source_selection()toBase::fix_misnamed_directory(),Base::extended_naming(), andBase::fix_gitlab_release_asset_directory() - moved a couple
class-parser.phpmods to separate functions inclass Readme_Parser
- hotfix to flush cache during upgrade routine
- improved transient saving to save optimized version of transient rather that whole API response
- changed Refresh Cache to POST to only run once.
- fixed
API::wp_update_responseto properly reset the update transient after a shiny update or cache flush - added
Base::admin_pages_update_transientto properly reset the update transient on plugins.php and themes.php pages - fixed Bitbucket authentication during AJAX update
- changed to use dashicon to identify private repos in Settings
- fixed transient update when doing shiny updates
- added ability to update from GitHub release asset
- added our own PHP version check
- refactored setting of update transient during rollback, should eliminate the up to date message and rollback failures
- added
class GHU_Upgradeto run upgrade functions if needed - fixed initial display of update for dot org plugins with higher version numbers on git repos when they should be updating from dot org 496
- refactored query to wp.org for plugin data
- revert javascript href call because Firefox can't have nice things
- fixed to allow themes to rollback at any time
- renamed filter hook
github_updater_token_distributiontogithub_updater_set_optionsas more descriptive - added deprecated hook notice for
github_updater_token_distribution - fixed setting of GitLab meta
- changed to not skip setting meta when no update available
- fixed
uninstall.phpfor option not transient
- added
class Language_Packand new repo, Language Pack Maker, to create and update from a separate Language Pack repository. - added new header for Language Pack updates. Language Pack updates can and will now be decoupled from the plugin release.
- obfuscated token/password values in Settings page, for @scarstens
- added support for GitLab Build Artifacts as Release Assets, #459
- improved check for private repo, removes public repos from Settings page when no updates are available
- improved to provide Settings page with dynamically displayed sub-tabs
- added display of installed plugins/themes using GitHub Updater in Settings sub-tabs
- added ability to enter Bitbucket credentials to Install tabs if not already present
- moved action/filter hook calls out of constructors, make @carlalexander happy
- improved to incorporate GitLab personal access tokens, users will need to reset tokens.
- added a filter hook
'github_updater_run_at_scale'to skip several API calls making GitHub Updater at scale more performant, see README for usage details - added several hooks for WP REST Cache and @scarstens
- skip API calls for branches and tags if branch switching not enabled
- refactored
delete_all_transients()to delete from database, only called inclass Base - refactored and improved branch switching to be consistent among plugins and themes. This means plugins now can rollback to one of the previous 3 tagged releases.
- fixed
get_repo_slugs()for initially misnamed repository, iegithub-updater-develop - renamed
Refresh TransientstoRefresh Cache, hopefully to provide more clarity - refactored to only load GHU site options and other database queries for privileged users on backend only
- added query arg of
?per_page=100to GitLab query for project IDs, this is max number able to be retrieved, yes an edge case #465
- added reset of update_plugins and update_themes transient with Refresh Transients
- throw Exception for webhook update if PUSH is to branch different from webhook
- removed translations from RESTful endpoint responses, only visible from webhook or direct call
- fixed PHP fatal during heartbeat for
class PAnDnot found, early exit in class too early, #453 - fixed PHP notice in
Bitbucket_API, #451
- fixed PHP notices when parsing
readme.txtwith missing data - fixed PHP fatal by namespacing
class WordPressdotorg\Plugin_Directory\Readme\Parser - fixed PHP fatal in
WordPressdotorg\Plugin_Directory\Readme\Parserby avoiding dereferenced array call
- added
Refresh Transientsbutton to Settings page because theCheck Againbutton is going away - added
redirect_on_save()for Settings page - switched to slightly modified version of wp.org plugin readme parser, now accepts Markdownified readme.txt files
- fixed re-activation of RESTful plugin update, multisite vs single site
- when creating Settings page, check current Plugin/Theme class instance, not transient. Fixes issue where remote install of private repo not having private settings saved.
- fixed PHP errors in Settings page
- fixed saving issues with checkboxes during remote install of private Bitbucket repo
- added one day dismissal of admin notices using persist-admin-notices-dismissal library
- Settings page now uses same function to update settings for both single/multisite
- temporary fix for AJAX updates of private Bitbucket repos #432, can only do one per page load, not very AJAXy :P
- fixed
class Rest_Updateto avoid potential race conditions when RESTful endpoint is used as a webhook - added
branchandbranchesto update transient, might be able to use this in RESTful update sometime - fixed extended naming when installing forks of plugins and plugins
- better internationalization for changing plugin View details link
- refactored and improved
class AdditionsforGitHub Updater Additionsplugin - fixed using GitLab CE private token with using
class Install - reworked GitHub repo meta as search was occasionally flaky, now also using owner's repos check
- refactored adding extra headers
- added RESTful endpoints for updating from CLI or browser, courtesy of @limikael
- added reset of RESTful API key
- added CSS file to help display theme view details
- refactored
get_remote_{plugin|theme}_meta()toget_remote_repo_meta()as it was in 4 different places :P - updated for Shiny Updates
- fixed PHP fatal, thanks @charli-polo
- fixed displaying WP_Errors
- made error messages non-static
- fixed pesky PHP notice when updating from 5.4.1.3 #403
- added aria-labels for screen readers
- always display theme rollback/branch switcher in single site installation #411
- fixed extended naming issue when branch switching, #429
- get tags for themes to rollback even if no updates are available. I was overzealous in cutting remote API calls.
- ManageWP now works for Remote Management.
- fixed bug in
GitLab_APIto usepathand notname. Thanks @marbetschar - added filter for background updates if set globally. Thanks @jancbeck
- fixed PHP notice when adding new Remote Management option
- deleted all transients on uninstall
- fixed logic for display of GitLab token fields and error notice
- displayed WP_Error message for
wp_remote_get()error - correctly get use GitLab namespace/project instead of project id when needed
- added
data-slugto theme update rows so CSS may be applied - now supports MainWP for remote management, thanks @ruben-
- typecast
readme.txtresponse to array, fix for occasional malformedreadme.txtfile
- fixed deprecated PHP4 constructor in vendor class.
- added
class Additionsto process JSON config from hook to add repos to GitHub Updater, see GitHub Updater Additions - added necessary code in
class Pluginandclass Themefor above - skipped many remote API calls if no update available and use local files, huge performance boost :-)
- removed check for GitHub asset, this eliminates an API call for a rarely used feature
- added additional header
Release Asset: trueto add back ability to set download link to release asset. - added function to remove Basic Authentication header when downloading private Bitbucket release assets as they are stored on AmazonS3 and use Query String Request Authentication Alternative
- consolidated error messages to show only once per error
- added Other Notes section to View details
- updated readme.txt with Other Notes information
- reset 'new_version' in update transient to avoid up to date failure with branch switching.
- fixed display of branch switching themes on single install.
- fixed bug in getting Bitbucket branch names.
- fixed to hide checkbox when active as mu-plugin.
- work better with shiny updates.
- removed added filters, below as they didn't add functionality to this plugin.
- try to use references to
&$this - added PHPUnit testing setup, I could use help writing tests. A great way to contribute. :-)
- code simplification for
upgrader_source_selection - fixed plugin branch switching to override up-to-date message (most of the time)
- added filters for developers, well I wanted them anyway ;-)
github_updater_plugin_transient_updategithub_updater_theme_transient_updategithub_updater_plugin_row_metagithub_updater_theme_row_metagithub_updater_append_theme_action
- fixed renaming of updating plugins that were never initially renamed when first installed. Strange bug.
- fixed PHP notice during remote installation
- fixed remote install #325
- fixed parsing of
readme.txtfor donate link - refactored transient storage resulting in significantly few database calls, more performant.
- moved
{get|set}_transientfunctions toabstract class API - fixed settings page saving errors.
- fixed shiny updates #321
- overhauled of renaming code back to using
upgrader_source_selectionand for WordPress 4.4 adding$args['hook_extra'] toupgrader_source_selection` filter. Thanks @dd32!
- fixed #309 for proper GitHub Enterprise endpoints
- added setting for GitHub Enterprise personal access token
- new
function _add_access_token()forclass GitHub_API - updatede
erusev/parsedownto current release
- added
upgrader_source_selectionfilter back for correct updating of current, active theme. - fixed #293 and #297
- removed
pre_http_requestfilter blocking - fixed javascript for theme rollback - @scarstens
- play nice with current master branch of wp-update-php
- hotfix to comment out
pre_http_requestfilter. Updating of plugin doesn't work. I need to re-think this one.
- refactored Plugin and Theme constructors moving code calling APIs getting remote data to separate functions
- fixed #281, removed 'Activate Plugin/Theme' buttons post-install
- fixed #284 for GitLab CE/Enterprise install and update
- fixed to re-activate plugins after update, doesn't work with branch switching :person_frowning:
- fixed to correctly rename plugin/theme on update if installed from upload.
- added filter to
pre_http_responseto bypass certain plugins check usingwp_remote_getwith each page load in GitHub Updater. Bypass is only for 12 hours. - cosmetic fix to display GitHub Updater as active when activated as mu-plugin
- fixed to
theme_api'View version details' CSS; better scrolling for changelog info - fixed annoying PHP notice in
vendor/parse-readme.phpwhen Upgrade Notice malformed - fixed
API::return_repo_typeto add 'type' to array; allows easier instance creation of API classes - updated POT file
- updated to current
erusev/parsedownrelease, fixes PHP7 issue - updated to current
WPupdatePHP/wp-update-php/release-1-1-0branch
- fix rollback for GitLab themes
- add branch switcher for themes
- escape all printed strings
- changed from using
upgrader_source_selectionhook toupgrader_post_install, this greatly simplifies renaming - removed
class Remote_Updateas it's no longer needed when usingupgrader_post_installhook - added Remote Management settings tab more cleanly support those services that currently integrate with GitHub Updater
- modified the process loading so faster for admin level users. Much thanks @khromov
- added hooks for devs to set GitHub Access Tokens and hide the Settings page. Please be sure your client will never need access to the Settings page. Thanks @oncecoupled
- fixed #267 thanks @stevehenty and @rocketgenius
- refactor remote update services to new
class Remote_Update - general security fixes, don't call files directly...
- fix/test for remote updating via InfiniteWP. Child themes are not identified by IWP as needing updates, otherwise it seems to work as expected.
- fix for remote updating via iThemes Sync
- fix for renaming when AJAX updating of plugins
- newer, much more precise method for renaming based upon selected repos from the dashboard. Yes, I tested on staging server. :-)
- added feature to use extended naming of plugin directories to avoid potential conflict with WP.org slugs. Props @reinink for the idea.
- strip
.gitfrom the end of the plugin or theme URI for those who haven't gotten to the README yet. - added javascript show/hide options on the Install page.
- fixed boolean logic to not display GitLab Private Token input on Install if it's already set.
- updated screenshots in README
- switched a number of methods to be non-static, anticipation of testing.
- broken: renaming during updates from upgrade services
- hotfix GitLab private updating/installing
- fix some PHP notices
- bugfix for renaming code to properly strip
<owner>- - most of Russian translation by Anatoly Yumashev
- back to simplifying the renaming code, always remember to test renaming on live server.
- strip
<owner>-and-<hash>from beginning and end of update for more precise renaming - I think this is the end of renaming for a while. :P
- hotfix for renaming, I reverted back a bunch with more extensive testing on server. It's amazing how different renaming is locally vs on server.
- updated language files -- oops
- cleanup and refactor of renaming code.
- added Romanian translation by Corneliu Cirlan
- added Japanese translation by ishihara
- fix bug so updates display without having to randomly refresh.
- fix some PHP notices
- add update by GitHub release asset in lieu of update by tag when asset is present
- install asset via remote install if asset URI used
- refactor to simplify class structure, created
abstract class APIandclass Messages - add GitLab support!!
- refactor to set all git servers and extra headers to static arrays in
Base - remove checkbox when loaded as mu-plugin, props @pbearne
- only add custom user agent once :P
- add support of GitHub Enterprise via new
GitHub Enterpriseheader - sanitize filter input
- add support for parsing
readme.txtfor View details information usingWordPress_Plugin_Readme_Parserby @markjaquith - fixed View details link to show for all cases when plugin using GitHub Updater
- refactor creation of header parts and URIs
- Spanish translation by Jose Miguel Bejarano
- German translation by Linus Metzler
- squish PHP notices
- add custom user agent to
wp_remote_getand tweak error message at request of GitHub ;-) - fixed edge case renaming bug
- use @WPUpdatePhp
class WPUpdatePhpfor PHP version checking - use https://api.wordpress.org not http
- Arabic translation by Hyyan Abo FAkher
- make strings better for translation - thanks @pedro-mendonca and @fxbenard
- additional Portuguese translation by Pedro Mendonça
- refactor for getting local plugin and theme meta, now simpler for additional APIs (I'm thinking about you GitLab)
- fix link in README to GitHub Link
- correctly pass array as last argument in
add_settings_field - add focus to URI input field
- add Setting for personal GitHub Access Token to avoid API rate limit - thanks @mlteal
- add Setting for branch switching from the Plugins page
- add 'View details' link in Plugins page
- fix POT and some updated languages, thanks @fxbenard
- fix PHP notice for
$optionssettings on initial install - thanks @benosman
- add PHP version check for graceful exit
- add to error message for 401 error.
- save settings when remote installing a private repo
- added minutes until reset of GitHub API's rate limit to error message
- added
placeholder = "master"to remote install branch text input - I should have made the last version 4.2.0 as I added a new feature. I'll try to be better with semantic versioning in the future. ;-)
- add message to certain admin pages when API returns HTTP error code
- update POT to remove HTML entity codes from strings and generally try to make i18n better
- Swedish translation by Andréas Lundgren
- added logo to README and Settings page
- use
strtolowercomparison of plugin directory and repo name. This might is an issue related to the manual installation of a plugin before any update might occur. This allows the View details screen to display in these instances where the case of the directory and repo aren't identical. This doesn't work for themes.
- hide star ratings from View details screen for private repos
- add
pluginto$responseinPlugin::pre_set_site_transient_update_pluginsto fix PHP Notice - rename
classestosrcto follow more conventional naming - refactor renaming code to function under all circumstances, I hope ;-)
- added remote installation of plugins or themes, both public and private
- remote installation using either full URI or short
<owner><repo>format - created new tabbed interface for settings
- added another screenshot to readme
- I'd like to apologize to all my translators for adding new strings often, you guys are great, thanks!
- hotfix to force an array type when sanitizing settings, it gave me a fatal I wasn't expecting.
- changed
is_a()toinstanceofper https://core.trac.wordpress.org/changeset/31188 - requires PHP 5.3 or greater as autoloader class requires namespacing
- updated all classes for namespacing
- renamed directory and class names to allow for PSR 4 style loading
- clean up a number of foreach loops where I was only using either key or value, not both
- Special thanks for all my translators, especially @grappler for adding translation key for description
- bugfix to correctly pick CHANGES.MD or CHANGELOG.MD regardless of case
- removed reading/saving
GitHub Access Tokenheader into settings. Must use Settings Page.
- added French translation by @daniel-menard
- added Italian translation by @overclokk
- added Portuguese translation by @valeriosouza
- added Ukrainian translation by @andriiryzhkov (our first translation!!)
- remove scraping of user/pass from Bitbucket URI as it's no longer needed
- use
Requires WPheader to fill view options detail - rename private methods to begin with underscore
- add screenshot to README for Settings Page (only 70 kB)
- stop re-creating transient of transients if it already exists
- refactored adding extra headers to
class GitHub_Updaterto ensure they're added before they're needed, resolves issue with WooThemes Updater plugin - update .pot file
- changed settings page and how Bitbucket Private repos authenticate with your username/password
- update .pot
- minor transient cleanup
- update .pot file
- fix to get all themes under both single and multisite installs
- woot!! - updating from Bitbucket private repos now works!!
- fix to only add HTTP Authentication header under correct circumstances. This obviates need to fix for other APIs that might also use HTTP Authentication.
- fix to correctly add GitHub Access Token from
$optionsto$download_link- oops - changes
$optionstoprivate static $optionsto save a few database calls - Settings page only shows private repos, except for initial setup
- simpler test for checking branch as download endpoint
- correctly use
parent::instead ofself:: - many updates for translation
- fix to ensure theme rollback and updating works in both single install and multisite
- fix to save settings from single site installations
- more efficient solution to HTTP Authentication issues
- more efficient options cleanup
- remove some unnecessary code resulting in few database calls
- change default option setting to use
add_site_optionso not autoloading options
- fix for other APIs that use HTTP Authentication, like JetPack - thanks @tsquez
- fix more PHP Notices
- correctly set defaults for Settings page :P
- remove options for plugins/themes that are no longer present
- Who would've thought
file_existswas case-sensitive - when checking meta, use
empty()instead of! isset()fornull array - set defaults for Settings page
- fix a number of PHP Notices
- Bugfix to properly authenticate on JetPack Stats page
- simplify check and exit on Settings if no Bitbucket plugins/themes
- Remove Bitbucket settings from page if no appropriate plugins or themes exist.
- Settings Page for your GitHub Access Tokens
- added POT file and some more i18n fixes - thanks @grappler
- added
Requires WPandRequires PHPheaders to set minimum version requirements - for @GaryJ - move update check to function to also check WP and PHP version requirements.
- unset any HTTP Authorization headers for GitHub API calls as this gives a 401 error. Rare potential bug if you have private Bitbucket repos.
- move instantiation of
class GitHub_Plugin_Updaterandclass GitHub_Theme_UpdaterintoGitHub_Updater::init()and restrict tocurrent_user_can( 'update_plugins' )andcurrent_user_can( 'update_themes' )so that non-privileged users don't incur load time. - now loading classes via
spl_autoload_register - switched to
erusev/parsedownfor rendering changelogs, faster and more light-weight. - now parses remote file info to save only file headers to transient. Hopefully speeds up database retrieval of transient.
- added README link to GitHub Link plugin by @szepeviktor
- added mu-plugin option and instructions.
- above revisions mostly due to @szepeviktor prodding me. ;-)
- accept
CHANGES.mdorCHANGELOG.mdfor processing, for @GaryJ - composer support added, thanks @hyyan
- fix for WP Coding Guidelines
- added check for upgrade process instead of
$_GET['action'](props @SLv99) - launch classes from
GitHub_Updater::init()so can load inadd_action( 'init', ...from__construct(). Hopefully this will solve issues with remote upgraders like iThemes Sync, ManageWP, InfiniteWP, and MainWP. Thanks @jazzsequence for testing. Thanks @SLv99 for bringing this to my attention.
- refactor API classes and
class GitHub_Updaterto add extra headers from API class. This should allow for better abstraction. Just need to callGitHub_Updater_{repo}_API::add_headers()inclass GitHub_Plugin_Updaterandclass GitHub_ Theme_Updater. - remove @since tags
- move
maybe_authenticate_httptoclass GitHub_Updater_Bitbucket_APIas it's not used elsewhere - use non-strict check for http response code (thanks @echav)
- added early exit if no local
CHANGES.mdfile exists. This should save an API call. - pull update from WP.org if plugin hosted in WP.org and branch is
master.
- created functions for getting and setting transients
- added deletion of all transients if force-check is used
- removed
GitHub TimeoutandBitbucket Timeoutheaders - fix for
wp_remote_retrieve_response_codecheck - give Seth Carstens proper credit in README.md
- move
function make_ratingtoclass GitHub_Updater - fix for plugin name in update detail view
- fix for Bitbucket repo with no branch tag
- set default timeout to 12 hours, same as WP.org
- fix for 3.9 setting theme update details to
display:none; - fix for error when installing themes from WP.org repo
- fix for incorrect plugin upgrade link in detail popup
- quick error checking fix for
wp_remote_geterror to wordpress.org API - thanks @deckerweb
- fixed CHANGES.md for GFM strike-through
- added transient to
plugins_apicall - better zeroing of variables in getting local theme data
- add error checking to loading of classes
- set default transient timeout to 4 hours
- added new header
GitHub TimeoutorBitbucket Timeoutto set individual plugin/theme transient timeout fixed for Bitbucket private repos- abide by WP Coding Guidelines, esp. for braces
- more error checking for correct variable fetch
- added graceful exit if repo does not exist
- added
class GitHub_Updater_Bitbucket_APIfor Bitbucket hosted plugins and themes. - improvements to efficiency by not loading when
DOING_AJAX - improvements to efficiency in use of transients
- set PHP MarkdownExtra posts and comments markup to false props @MikeHansonMe
- remove WP plugin header from
markdown.php
- forgot to include markdown.php - damn
- removed PHP Markdown Lib as it required PHP >= 5.3 and that's higher than required by WordPress core.
- switched from PHP Markdown Classic to the new PHP Markdown Lib to prevent collisions with other plugins, like Markdown On Save/Improved that also load PHP Markdown or PHP MarkdownExtra.
- fixed transient assignment for tags returning empty array.
- added transient for
CHANGES.mdto themes, should further cut down on API 403 errors. - new feature: theme rollback to previous version thanks @scarstens
- changed update methodology to use most recent tag first. If not tagged update from default branch.
- fixed download link to have correct base URI for Repository Contents API. Oops.
- rewrite of
GitHub_Update_GitHub_API::construct_download_linkto download zipball and provide appropriate endpoint.
- now saving transient and adding early return if API returns 404, this should speed up plugin when repo doesn't have
CHANGES.mdfile and provide for early return in no tags have been created. If no tags have been created the API is still hit.
- moved action hook to remove
after_theme_row_$stylesheettoclass GitHub_Theme_Updater - added feature: if branch other than
masteris specified then tagged version will be ignored. This should make it much easier for beta testing to groups. See README.md - converted
class GitHub_Update_GitHub_APIto extension ofclass GitHub_Updater - combined
descriptionandchangelogto show in theme detail view. Rough formatting. Multisite only. - greatly simplified bug fix from 2.2.2, now using Themes API.
- bug fix for removing update notice for WP.org repo themes. Oops.
- minor code simplifications
- many thanks to @grappler for solving how to remove default
after_theme_row_$stylesheet
- moved check and load for
markdown.phpinto only function that uses it. - minor README updates
- added abort if this plugin called directly
- added additional data to update available screen in both plugins and themes - issue #8
- removed requirement for tags in theme updating
- removed extra line endings from
remote_version - added ratings function for creating star ratings based upon GitHub repo data.
- bring parts of
class GitHub_Theme_Updatercode on par withclass GitHub_Plugin_Updater - added 'ghu-' prefix to transients
- ripped out theme rollback code. Moved to it's own branch on GitHub.
- add custom
after_theme_update_{$stylesheet}detail.
- bug fix to return early from call to
plugins_apiif not getting plugin information. Fixes issue with Plugin Search.
- simplify check for
class Markdown_Parser - refactor to pass
class GitHub_Update_GitHub_APIas class object. This should enable the creation of other class objects for Bitbucket, etc. - fix for setting branch when API not responding
- fix for setting download link when API not responding
- redesigned filter for setting transient timeout, but still not working (pull requests welcome)
- bug fix to not load
markdown.phptwice. Just in case it's loaded by some other plugin.
- rearranged where I put
GitHub Plugin URIheader, etc. in README and in this plugin. - minor spelling fixes
- renamed some functions for their hooks
- refactored
class GitHub_Plugin_Updaterandclass GitHub_Theme_Updaterto use stdClass objects - further refactored base class
GitHub_Updaterto contain renaming code and create stdClass objects for data. - added some ability to see changelog for GitHub hosted plugins.
- trying to follow WordPress Plugin Boilerplate, so renamed
classestoincludes - refactored putting all remote api calls in new
class GitHub_Plugin_Updater_API. - Theme updating should now be able to have a specified branch.
- works on WordPress 3.8
- included Michel Fortin's PHP-Markdown for rendering
CHANGES.md
- added some variable declarations
- added early return in no GitHub sourced plugins or themes are identified
- refactored to use base class
GitHub_Updaterand extending classesGitHub_Plugin_UpdaterandGitHub_Theme_Updater.
- changed method of not overwriting extra headers to pass array.
- change
'...'to…in renaming notification - fix to not overwrite extra headers of other plugins.
- removed sorting option from
scandir. Doesn't work with older versions of PHP < 5.4.0 - removed extraneous data from array in
multisite_get_themes
- updated the transient for themes
- replaced
readdirwithscandirfor creating WP_Theme object in multisite
- updated class-theme-updater.php to utilize WP_Theme class
- added method
get_remote_tagto update plugins using tags or branch, depending upon which has greater version number. get_remote_taguses transient to limit calls to API- fix for
wp_get_themesnot working under plugin network activation on multisite installation. I recreatedwp_get_themesby reading in the theme directory and adding the WP_Theme object ofwp_get_theme( 'dir_in_themes_dir' )to an array.
- bug fix for undeclared variable $github_plugins
- Added separate method to parse plugin repo info from header
- Shortened GitHub Plugin URI to only use owner/repo
- Shortened GitHub Theme URI to only use owner/repo
- Lots of documentation and some bug fixes. Thanks @GaryJones
- Made version checking regex more compatible. Thanks @GaryJones
- Added ability to define branch to update.
- Refactored plugin/theme renaming code.
- Added
GitHub Branchfeature - Thanks @GaryJones - Trying to comply with WP Coding Standards.
- Major thanks to @GaryJones for all the pull requests and generally improving this project.
- Fixed a couple of non-fatal PHP errors. Thanks @jazzsequence
- Cleaned up readme's markdown.
- Fixed the README to more accurately reflect support for both plugins and themes.
- Fix for rename functions to be more precise, otherwise might rename wp.org repo themes.
- Simplify a couple of if statements.
- Fix to ignore renaming for wp.org plugins
- Sanity check for theme api uri
- Serialized WP_Theme object to search for added GitHub header, lots of help from Seth. No more
file_get_contents. - Converted plugin class and added it to make joint plugin/theme updater.
- Code cleanup.
- Limit
file_get_contentsto 2000 bytes.
- Initial commit