Coming from #1308152-202: Add stream wrappers to access extension files → there are many uses of drupal_get_path() in where the simple use of __DIR__ would have been sufficient and more performant.
Replace occurrences of drupal_get_path() with __DIR__ wherever the targeted file is known to share the same module directory with the calling code (and whose relative position will not change dynamically), and thus can be hard-coded.
Patch
Reviews (patch to review is #29)
Commit
None
None
Fixed
8.1 ⚰️
extension system
After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.