{"action":"created","issue":{"url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/issues/136","repository_url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker","labels_url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/issues/136/comments","events_url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/issues/136/events","html_url":"https://github.com/YahnisElsts/plugin-update-checker/pull/136","id":261778021,"number":136,"title":"Work on WP versions without wp_normalize_path()","user":{"login":"DavidAnderson684","id":1962275,"avatar_url":"https://avatars3.githubusercontent.com/u/1962275?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidAnderson684","html_url":"https://github.com/DavidAnderson684","followers_url":"https://api.github.com/users/DavidAnderson684/followers","following_url":"https://api.github.com/users/DavidAnderson684/following{/other_user}","gists_url":"https://api.github.com/users/DavidAnderson684/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidAnderson684/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidAnderson684/subscriptions","organizations_url":"https://api.github.com/users/DavidAnderson684/orgs","repos_url":"https://api.github.com/users/DavidAnderson684/repos","events_url":"https://api.github.com/users/DavidAnderson684/events{/privacy}","received_events_url":"https://api.github.com/users/DavidAnderson684/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-29T21:39:05Z","updated_at":"2017-09-30T11:26:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/pulls/136","html_url":"https://github.com/YahnisElsts/plugin-update-checker/pull/136","diff_url":"https://github.com/YahnisElsts/plugin-update-checker/pull/136.diff","patch_url":"https://github.com/YahnisElsts/plugin-update-checker/pull/136.patch"},"body":"WP < 3.9 does not have the wp_normalize_path() function available. This edit restores the ability to work on such versions, by bringing that small function in.\r\n(The main reason we see people installing on such versions is to backup the site, prior to updating it to something more modern)."},"comment":{"url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/issues/comments/333302383","html_url":"https://github.com/YahnisElsts/plugin-update-checker/pull/136#issuecomment-333302383","issue_url":"https://api.github.com/repos/YahnisElsts/plugin-update-checker/issues/136","id":333302383,"user":{"login":"DavidAnderson684","id":1962275,"avatar_url":"https://avatars3.githubusercontent.com/u/1962275?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidAnderson684","html_url":"https://github.com/DavidAnderson684","followers_url":"https://api.github.com/users/DavidAnderson684/followers","following_url":"https://api.github.com/users/DavidAnderson684/following{/other_user}","gists_url":"https://api.github.com/users/DavidAnderson684/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidAnderson684/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidAnderson684/subscriptions","organizations_url":"https://api.github.com/users/DavidAnderson684/orgs","repos_url":"https://api.github.com/users/DavidAnderson684/repos","events_url":"https://api.github.com/users/DavidAnderson684/events{/privacy}","received_events_url":"https://api.github.com/users/DavidAnderson684/received_events","type":"User","site_admin":false},"created_at":"2017-09-30T11:26:31Z","updated_at":"2017-09-30T11:26:31Z","author_association":"CONTRIBUTOR","body":"P.S. If it really bothers you, you could just go with the most useful bits - replacing `\\` with `/` and replacing double `//` with single. Remember that, on WP 3.9+, the built-in function is going to be called anyway because that is preferred by my code. So that only leaves the corner-case of people on WP 3.8 or less using Windows with network share paths or using drive letters with somehow inconsistent capitalisation; something apparently so rare that WP itself didn't add the checks for until WP 4.4 (i.e. around 2 years later)."}}
{"actor":{"display_login":"DavidAnderson684"}}