xwp / unsplash-wp

GNU General Public License v2.0
9 stars 3 forks source link

Plugin assets do not load on Windows PHP servers #194

Closed spacedmonkey closed 4 years ago

spacedmonkey commented 4 years ago

Bug Description

Original bug reported on support forum and on twitter.

CSS / JS / Images are not loading as the locate_plugin ( original found in wp-foo-bar method ) doesn't work correctly on Windows PHP server.

Expected Behaviour

Assets, images, css and javascript should load on a windows server.

Steps to reproduce

Load site with plugin on windows php server.

Screenshots

twitter_f9028b2951dfc9138f6bf6fdc90617c7

twitter_df38a6cd4ae6d8cdd927199ca69ae559

Additional context


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry