WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #24152, comment 17


Ignore:
Timestamp:
01/14/2015 09:18:36 PM (5 years ago)
Author:
swalkinshaw
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24152, comment 17

    v1 v2  
    33== Summary ==
    44
    5 There should be a single consistent file where metadata for plugins and themes are contained. Theme metadata does not belong in the comments of a stylesheet. While it's slightly better being in a plugin's PHP file, creating a separate file would allow for uniformity and consistency. Replacing a custom non-standard specification that uses slow and error prone regular expressions with a well-known, performant, and mature standard like JSON is a big win. This metadata file would also allow more flexibility in the future.
     5There should be a single consistent file where metadata for plugins and themes is contained. Theme metadata does not belong in the comments of a stylesheet. While it's slightly better being in a plugin's PHP file, creating a separate file would allow for uniformity and consistency. Replacing a custom non-standard specification that uses slow and error prone regular expressions with a well-known, performant, and mature standard like JSON is a big win. This metadata file would also allow more flexibility in the future.
    66
    77== Benefits ==