Copyright Check False Positive
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia individuando il controllo Copyright e la logica che emette il relativo WARNING per gli header di style.css del theme. Riproduci il controllo con l’avviso di Copyright di Oenology e i relativi tag License; il lavoro è completato quando questo formato non produce più un WARNING e viene segnalato a livello INFO o superiore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Theme Check is incorrectly returning a WARNING on the Copyright check, for a Theme with both a GNU-recommended formatting for Copyright notice and also with "License:" and ":License URI:" tags present in style.css.
Here is an example of the Copyright notice that is returning a false positive:
* Oenology WordPress Theme, Copyright (C) 2010-2016 Chip Bennett
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Note: see the "Oenology Reference" admin page for copyright and
* license information for bundled resources, including fonts and icons
This should return at best INFO, not WARNING, as both "Copyright" and "(C)" - the explicitly searched-for strings - are included. (Understanding that parsing the verbiage could be beyond the ability of the regex here.)
Perhaps a "Copyright:" tag is needed/would resolve the issue?
- Lingua principale
- PHP
- Stelle
- 372
- Fork
- 114
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WordPress/theme-check
-
Blocklisted file-extension patterns are unanchored, so ordinary filenames fail the checkForse già presa @CookieDarb l’ha presa 35 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
WordPress/theme-check#504 ·
-
Bug: "License" and "License URI" are missing from Theme Info summary when checking the active themeForse già presa @CookieDarb l’ha presa 130 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
WordPress/theme-check#494 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
WordPress/theme-check#492 · 2 commenti ·
-
Theme Check flags "wordpress" identifier as REQUIRED — false positive, do not "fix" by renamingForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 45/100
WordPress/theme-check#505 · 1 reazione ·
-
Typescript TestsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WordPress/theme-check#491 ·
Tutte le issue di WordPress/theme-check
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
backdrop-contrib/commerce#65 ·
-
backend enhancement good first issue php
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Evalogical-Inc/devReady#66 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mollie/PrestaShop#1627 ·
I maintainer di solito rispondono entro 5 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsOfFlarum/follow-tags#118 ·