{"push_id":929241449,"size":21,"distinct_size":21,"ref":"refs/heads/master","head":"2b9dfe6fe5aa09e22dc30b49aea1ab44cdc30daa","before":"dd997db92385e4debcacbaf0b8eea2400cb1a1d8","commits":[{"sha":"c3954feaa735642bd1ae6f788585370ccdfe4d25","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Expose the \"is this plugin being updated right now?\" logic as a public function.\n\nMake it a public method: isPluginBeingUpgraded(). This method returns true if the plugin associated with the update checker is currently in the process of being updated. \n\nThis can be useful for plugins that hook into WordPress core to change how WordPress installs updates. For example, if you were using the \"upgrader_pre_download\" filter, you could call this method to verify that the update being downloaded is for your plugin and not another one.\n\nCaution: The method is not guaranteed to be accurate.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/c3954feaa735642bd1ae6f788585370ccdfe4d25"},{"sha":"3dc371a8cc57f87357539ba878eec652e603a7f4","author":{"email":"b9870d4762e02ccf5be15365f89216749d3b2f4e@gmail.com","name":"Hareesh"},"message":"Add support for `is-dismissible` class\n\nAdding the `is-dismissible` class introduced in [WordPress 4.2](https://make.wordpress.org/core/2015/04/23/spinners-and-dismissible-admin-notices-in-4-2/). The admin notice displayed after the update check can now be dismissed.\r\n\r\nSolves [Issue #49](https://github.com/YahnisElsts/plugin-update-checker/issues/49)","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/3dc371a8cc57f87357539ba878eec652e603a7f4"},{"sha":"40a65f239ed702e9f9157b771b08308ce6f76309","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Merge pull request #50 from hareesh-pillai/master\n\nAdd support for `is-dismissible` class","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/40a65f239ed702e9f9157b771b08308ce6f76309"},{"sha":"fa231f35f3866b33942307ba764964386696d7b5","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Remove the $triggerErrors parameter from the fromJson() method.\n\nNow PluginInfo will always trigger a PHP notice if it receives invalid JSON or the input doesn't pass some (basic) validation. In practice, you should never encounter this notice if you've set up your metadata correctly.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/fa231f35f3866b33942307ba764964386696d7b5"},{"sha":"774af73d585a08ce4990ccdc222e3e0e3d71d785","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Refactor multiple calls to trigger_error as a new method.\n\nThere was a pattern of duplicate code in the library: `if ($this->debugMode) { trigger_error(...) }`. I've replaced it with a triggerError() method.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/774af73d585a08ce4990ccdc222e3e0e3d71d785"},{"sha":"e65a1bbb8c3f909c01274c582c7ac833804f73dc","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Give fixDirectoryName explicit visibility.\n\nIt's declared `public` because it's a hook callback, but you should never call it from your plugin.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/e65a1bbb8c3f909c01274c582c7ac833804f73dc"},{"sha":"65263271b77d55ea9d3d49d588ef724ff4d0e9eb","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Minor: Tell my IDE the type of $upgrader->skin.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/65263271b77d55ea9d3d49d588ef724ff4d0e9eb"},{"sha":"b76fb8b3bdc7d575bdb5af5ad5464629137f853d","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Extract the \"is that a successful API response?\" login as a private method.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/b76fb8b3bdc7d575bdb5af5ad5464629137f853d"},{"sha":"c6f4e4841cc5bd2b80f159faeeeac7b3e1f0f655","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Refactor PluginInfo a bit.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/c6f4e4841cc5bd2b80f159faeeeac7b3e1f0f655"},{"sha":"7a29fda377ae7e94989b84de262883bad006083d","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Fix a rare issue with same-host restriction causing updates to fail.\n\nWordPress has a security feature where the HTTP API will reject all requests that are sent to another site hosted on the same server as the current site (IP match) or a local host/IP, unless the host exactly matches the current site. This feature is opt-in, but apparently some people (or security plugins?) enable it.\n\nThis can be a problem when the update metadata is on the same server as your site, but not on the exact same hostname. The aforementioned security restriction will cause updates to fail for no apparent reason.\n\nThe patch fixes the issue by using the \"http_request_host_is_external\" filter to explicitly allow the host that the metadata URL points to.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/7a29fda377ae7e94989b84de262883bad006083d"},{"sha":"6999915d362d6d0690cc89824abf175e803356bf","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Fix a \"creating default object from empty value\" notice on failed parsing.\n\nSilly oversight. Given invalid input, fromJSON() can fail and return NULL.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/6999915d362d6d0690cc89824abf175e803356bf"},{"sha":"d78400e9190d918801ac40d58be7c856e89ec9db","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Minor: Suppress some IDE inspections (false positives).","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/d78400e9190d918801ac40d58be7c856e89ec9db"},{"sha":"81f6d1582862df28c75f8e3838e7273a876d5327","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Remove duplicate condition. \n\nThe triggerError method already checks for debugMode, there's no need to do it before.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/81f6d1582862df28c75f8e3838e7273a876d5327"},{"sha":"d600e14f5df3a3fdf3ae67cfaa7e22404b56cc76","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Minor: More IDE hints.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/d600e14f5df3a3fdf3ae67cfaa7e22404b56cc76"},{"sha":"080dc83ac58d0f67311f4ceada59cc1e3d965a87","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Use self_admin_url() to simplify admin URL generation.\n  \nNo need to check if is_network_admin() and switch between network_admin_url() and admin_url(). Turns out, WordPress already has a utility function that does that.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/080dc83ac58d0f67311f4ceada59cc1e3d965a87"},{"sha":"a26064220be7dc052fbc9155fc9a5363869a182d","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Don't bother checking if WP_DEBUG is defined. \n\nIt's always defined. Checked as far back as WP 3.2. WordPress defines it in `/wp-includes/default-constants.php`.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/a26064220be7dc052fbc9155fc9a5363869a182d"},{"sha":"602fa7152f8f1467f73ac9eaf7021345c8169480","author":{"email":"3fbf7e50578f332759257dfa91f02d42fd1d4a48@digitalwave.hu","name":"Tamás András Horváth"},"message":"Revert \"Support languages\"\n\nThis reverts commit dd997db92385e4debcacbaf0b8eea2400cb1a1d8.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/602fa7152f8f1467f73ac9eaf7021345c8169480"},{"sha":"b37db731e61f200d41f365503b2fdec2f382fa6c","author":{"email":"3fbf7e50578f332759257dfa91f02d42fd1d4a48@digitalwave.hu","name":"Tamás András Horváth"},"message":"Merge remote-tracking branch 'refs/remotes/YahnisElsts/master'","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/b37db731e61f200d41f365503b2fdec2f382fa6c"},{"sha":"8ecc66c848b21319c153317b73ed50e6e5123e32","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Refactor mu-plugin logic a bit by extracting a method.","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/8ecc66c848b21319c153317b73ed50e6e5123e32"},{"sha":"51be10504f02b2abf6ee1beb14b0217d52bb8f52","author":{"email":"a20e9ba3cc5c580e02007dce23ea24ee0821514d@w-shadow.com","name":"Yahnis Elsts"},"message":"Minor: Refactor injectUpdate().","distinct":true,"url":"https://api.github.com/repos/icetee/plugin-update-checker/commits/51be10504f02b2abf6ee1beb14b0217d52bb8f52"}]}