Вмъкване на Software License
Повечето плъгини на WordPress са под GPL лиценз, който е един и същ с лиценза, който WordPress използва. Въпреки това, има и други възможности, които съществуват. Винаги е добре да се посочи ясно лиценза на плъгина.
В секцията Header Изисквания, ние накратко споменаваме как може да се посочи плъгин лиценза в рамките на заглавната част на плъгина. Друг често срещана практика е да се поставя лиценз в близост до горната част на плъгина (същата, в която е заглавието на плъгина).
Този лиценз обикновено изглежда по следния начин:
{Plugin Name} is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 2 of the License, orany later version.{Plugin Name} is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with {Plugin Name}. If not, see {URI to Plugin License}.Когато го комбинираме със заглавната част на плъгина изглежда така.
/*Plugin Name: Plugin NamePlugin URI: http://URI_Of_Page_Describing_Plugin_and_UpdatesDescription: This describes my plugin in a short sentenceVersion: 1.5Author: John SmithAuthor URI: http://URI_Of_The_Plugin_AuthorLicense: GPL2{Plugin Name} is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 2 of the License, orany later version.{Plugin Name} is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with {Plugin Name}. If not, see {License URI}.*/

