Make WordPress Core

Changes between Version 11 and Version 12 of Ticket #51092


Ignore:
Timestamp:
08/26/2020 05:53:27 PM (3 years ago)
Author:
carike
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51092 – Description

    v11 v12  
    5555}}}
    5656
    57 
    58 
    5957{{{#!php
    6058<?php
     
    6361         "properties": {
    6462            "code": {
    65                "description": "Please provide a URL to the license that applies to this component (plugin, theme, or Core component)'s use.",
    66                "type": "string"
     63               "description": "A URL to the license that applies to this component (plugin, theme, or Core component)'s use.",
     64               "type": "string",
     65               "format": "uri"
    6766            },
    6867            "localAssets": {
    69                "description": "Please provide a comma-separated list of URLs to the license that applies to the use of each asset that has been included locally. This includes the license of any bundled libraries, as well as the licenses of any images, fonts, etc.",
    70                "type": "array",
    71                "items": {
    72                   "type": "string",
    73                   "format": "uri-reference"
     68               "description": "A comma-separated list of URLs to the license that applies to the use of each asset that has been included locally. This includes the license of any bundled libraries, as well as the licenses of any images, fonts, etc.",
     69               "type": "array",
     70               "items": {
     71                  "type": "string",
     72                  "format": "uri"
    7473               },
    7574               "uniqueItems": true
    7675            },
    7776            "remoteAssets": {
    78                "description": "Please provide a comma-separated list of URLs to the license that applies to the use of each asset that is accessed remotely. This includes the licenses of any external libraries, as well as the licenses of any images, fonts, etc.",
    79                "type": "array",
    80                "items": {
    81                   "type": "string",
    82                   "format": "uri-reference"
     77               "description": "A comma-separated list of URLs to the license that applies to the use of each asset that is accessed remotely. This includes the licenses of any external libraries, as well as the licenses of any images, fonts, etc.",
     78               "type": "array",
     79               "items": {
     80                  "type": "string",
     81                  "format": "uri"
    8382               },
    8483               "uniqueItems": true
     
    9190<?php
    9291      "external": {
    93          "description": "A comma-separated list of URLs containing the links to the Privacy Policies of the sites to which the calls to external networks are being made.",
     92         "description": "A comma-separated list of URLs linking to the Privacy Policies of the sites to which the calls to external networks are being made.",
    9493         "type": "object",
    9594         "properties": {
     
    9998               "items": {
    10099                  "type": "string",
    101                   "format": "uri-reference"
     100                  "format": "uri"
    102101               },
    103102               "uniqueItems": true
    104103            },
    105104            "JavaScript": {
    106                "description": "A comma-separated list of URLs of links to the respective Privacy Policies of the sites to which the external network calls are being made in JavaScript.",
    107                "type": "array",
    108                "items": {
    109                   "type": "string",
    110                   "format": "uri-reference"
     105               "description": "A comma-separated list of URLs linking to the respective Privacy Policies of the sites to which the external network calls are being made in JavaScript.",
     106               "type": "array",
     107               "items": {
     108                  "type": "string",
     109                  "format": "uri"
    111110               },
    112111               "uniqueItems": true
    113112            },
    114113            "CSS": {
    115                "description": "A comma-separated list of URLs of links to the respective Privacy Policies of the sites to which the external network calls are being made in CSS.",
    116                "type": "array",
    117                "items": {
    118                   "type": "string",
    119                   "format": "uri-reference"
     114               "description": "A comma-separated list of URLs linking to the respective Privacy Policies of the sites to which the external network calls are being made in CSS.",
     115               "type": "array",
     116               "items": {
     117                  "type": "string",
     118                  "format": "uri"
    120119               },
    121120               "uniqueItems": true
     
    129128      "terms": {
    130129         "type": "object"
    131          "description": "A comma-separated list to third party Terms and Conditions, if applicable.",
     130         "description": "A comma-separated list of URLs linking to third party Terms and Conditions, if applicable.",
    132131         "properties": {
    133132            "SaaS": {
    134                "description": "A comma-separated list of URLs to the Terms of Service of any instances of Software as a Service.",
     133               "description": "A comma-separated list of URLs linking to the Terms of Service of any instances of Software as a Service.",
     134               "type": "array",
     135               "items": {
     136                  "type": "string",
     137                  "format": "uri"
     138               },
     139               "uniqueItems": true
     140            },
     141            "externalAPIs": {
     142               "description": "A comma-separated list of URLs linking to the Terms of Service of any external API being used.",
     143               "type": "array",
     144               "items": {
     145                  "type": "string",
     146                  "format": "uri"
     147               },
     148               "uniqueItems": true
     149            },
     150            "remoteAssets": {
     151               "description": "A comma-separated list of URLs linking to the Terms of Service that applies to the use of each remote asset. This relates to the use of CDNs for images, fonts, etc.",
     152               "type": "array",
     153               "items": {
     154                  "type": "string",
     155                  "format": "uri"
     156               },
     157               "uniqueItems": true
     158            },
     159            "registration": {
     160               "description": "Please provide a comma-separated list of URLs linking to the Terms of Service that apply to any accounts that need to be registered in order to be able to make use of this component's code.",
     161               "type": "array",
     162               "items": {
     163                  "type": "string",
     164                  "format": "uri"
     165               },
     166               "uniqueItems": true
     167            }
     168         }
     169      },
     170}}}
     171
     172{{{#!php
     173<?php
     174      "openWeb": {
     175         "type": "object",
     176         "description": "Details about mechanisms that allow others to obtain information from the site without browsing the website's front end.",
     177         "properties": {
     178            "apiEndpoints": {
     179               "description": "A comma-separated list of relative URLs for any internal API endpoints that are created by the code.",
    135180               "type": "array",
    136181               "items": {
     
    140185               "uniqueItems": true
    141186            },
    142             "externalAPIs": {
    143                "description": "A comma-separated list of URLs to the Terms of Service of any external API being used.",
    144                "type": "array",
    145                "items": {
    146                   "type": "string",
    147                   "format": "uri-reference"
    148                },
    149                "uniqueItems": true
    150             },
    151             "remoteAssets": {
    152                "description": "A comma-separated list of URLs to the Terms of Service that applies to the use of each remote asset. This relates to the use of CDNs for images, fonts, etc.",
    153                "type": "array",
    154                "items": {
    155                   "type": "string",
    156                   "format": "uri-reference"
    157                },
    158                "uniqueItems": true
    159             },
    160             "registration": {
    161                "description": "Please provide a comma-separated list of URLs to the Terms of Service that apply to any accounts that need to be registered in order to be able to make use of this component's code.",
    162                "type": "array",
    163                "items": {
    164                   "type": "string",
    165                   "format": "uri-reference"
    166                },
    167                "uniqueItems": true
    168             }
    169          }
    170       },
    171 }}}
    172 
    173 {{{#!php
    174 <?php
    175       "openWeb": {
    176          "type": "object",
    177          "description": "Details about mechanisms that allow others to obtain information from the site without browsing the website's front end.",
    178          "properties": {
    179             "apiEndpoints": {
    180                "description": "A comma-separated list of URLs for any internal API endpoints that are created by the code.",
    181                "type": "array",
    182                "items": {
    183                   "type": "string",
    184                   "format": "uri-reference"
    185                },
    186                "uniqueItems": true
    187             },
    188187            "feeds": {
    189                "description": "A comma-separated list of URLs for any internal feeds that are created by the code.",
     188               "description": "A comma-separated list of relative URLs for any internal feeds that are created by the code.",
    190189               "type": "array",
    191190               "items": {
     
    223222               "description": "Whether or not the code makes use of local storage.",
    224223               "type": "boolean"
     224            }
     225         }
     226      },
     227}}}
     228
     229{{{#!php
     230<?php
     231      "communication": {
     232         "type": "object",
     233         "properties": {
     234            "email": {
     235               "type": "object",
     236               "properties": {
     237                  "sends": {
     238                     "description": "Whether or not the code sends e-mails.",
     239                     "type": "boolean"
     240                  },
     241                  "subscribed": {
     242                     "description": "Whether e-mails are only sent to users that have subscribed for that particular e-mail (e.g. a newsletter).",
     243                     "type": "boolean"
     244                  }
     245               }
    225246            }
    226247         }
     
    312333{{{#!php
    313334<?php
     335      "automation": {
     336         "description": "Provides some information with regards to action taken by the code without user input.",
     337         "type": "object",
     338         "properties": {
     339            "cron": {
     340               "description": "Whether the code makes use of scheduled tasks that do not require user input.",
     341               "type": "boolean"
     342            }
     343         }
     344      },
     345}}}
     346
     347{{{#!php
     348<?php
    314349      "ppi": {
    315          "description": "Please indicate TRUE / FALSE as to whether the code stores any Protected Personal Information.",
     350         "description": "Whether or not the code stores any Protected Personal Information.",
    316351         "type": "boolean"
    317352      },
    318353      "compatibility": {
    319354         "type": "object",
    320          "description": "Please indicate the component's compatibility with Privacy Tools.",
     355         "description": "Indicates the component's compatibility with Privacy Tools.",
    321356         "properties": {
    322357            "ppiExport": {