From 9115546cc703f04e18a52ad6185d989e23145b24 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 22 Jun 2021 23:04:48 +0000 Subject: [PATCH] Docs: Shorten the copyright notice for the `WP_REST_Sidebars_Controller` class. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The class has been heavily modified from the original source, so the copyright can be modified to simply reference the original author’s work. The carry forward of the copyright and original code is implied. Follow up to [50993-50995,51007,51020,51029]. Props SergeyBiryukov, cbringmann, chanthaboune, desrosj. Fixes #41683. git-svn-id: https://develop.svn.wordpress.org/trunk@51210 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-wp-rest-sidebars-controller.php | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php index b7a02cb673..4c1e82fbdb 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php @@ -2,29 +2,11 @@ /** * REST API: WP_REST_Sidebars_Controller class * + * Original code from {@link https://github.com/martin-pettersson/wp-rest-api-sidebars Martin Pettersson (martin_pettersson@outlook.com)}. + * * @package WordPress * @subpackage REST_API * @since 5.8.0 - * - * Copyright (C) 2015 Martin Pettersson - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - * @author Martin Pettersson - * @copyright 2015 Martin Pettersson - * @license GPLv2 - * @link https://github.com/martin-pettersson/wp-rest-api-sidebars */ /**