WordPress.org

Make WordPress Core

Changeset 51210


Ignore:
Timestamp:
06/22/2021 11:04:48 PM (4 months ago)
Author:
desrosj
Message:

Docs: Shorten the copyright notice for the WP_REST_Sidebars_Controller class.

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php

    r51071 r51210  
    33 * REST API: WP_REST_Sidebars_Controller class
    44 *
     5 * Original code from {@link https://github.com/martin-pettersson/wp-rest-api-sidebars Martin Pettersson (martin_pettersson@outlook.com)}.
     6 *
    57 * @package WordPress
    68 * @subpackage REST_API
    79 * @since 5.8.0
    8  *
    9  * Copyright (C) 2015  Martin Pettersson
    10  *
    11  * This program is free software: you can redistribute it and/or modify
    12  * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation, either version 3 of the License, or
    14  * (at your option) any later version.
    15  *
    16  * This program is distributed in the hope that it will be useful,
    17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    19  * GNU General Public License for more details.
    20  *
    21  * You should have received a copy of the GNU General Public License
    22  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    23  *
    24  * @author    Martin Pettersson <martin_pettersson@outlook.com>
    25  * @copyright 2015 Martin Pettersson
    26  * @license   GPLv2
    27  * @link      https://github.com/martin-pettersson/wp-rest-api-sidebars
    2810 */
    2911
Note: See TracChangeset for help on using the changeset viewer.