WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24152, comment 26


Ignore:
Timestamp:
03/11/2016 03:20:38 PM (4 years ago)
Author:
schlessera
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24152, comment 26

    initial v1  
    66
    77Although I would heartily welcome a JSON file (even reusing `composer.json` would be fine, as it is pretty much a de-facto standard in the PHP world), any format would be fine as long as the "package" (plugin/theme/whatever else comes up) metadata is found in a separate metadata file.
     8
     9'''EDIT:''' WordPress core even allows you to specify a different URI for the stylesheet using the `stylesheet_uri` filter, but it will scan the root `style.css` nevertheless for metadata: https://developer.wordpress.org/reference/hooks/stylesheet_uri/