Initial work landed in #1790 to make get_validated_url_file_path() work for locating stylesheets from the filesystem in a custom theme directory. This needs to be expanded to work not just for one theme directory registered under ABSPATH . 'wp-content' but also other locations.
If this can't be done reliably, then the plugin should just fetch the file over HTTP.
该提问来源于开源项目:ampproject/amp-wp