From 7b8f449aaca24e142e9333d204606776bd39a7df Mon Sep 17 00:00:00 2001 From: Mohammad Jangda Date: Wed, 30 Oct 2019 14:30:50 -0400 Subject: [PATCH] Remove extra plugin headers From the compat file. Having the headers in both the underscore and hyphen version of the files results in two copies of "Edit Flow" showing up in the Plugin list. --- edit-flow.php | 32 +++++--------------------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/edit-flow.php b/edit-flow.php index 70263f304..fdbe94eaf 100644 --- a/edit-flow.php +++ b/edit-flow.php @@ -1,33 +1,11 @@ - -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. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA /** - * Load the somewhat poorly named edit_flow.php primary plugin file + * Load the somewhat poorly named edit_flow.php primary plugin file. + * * It's been named edit_flow.php in the master repo since the beginning - * and we can't rename it because it will break everyone's activations + * and we can't rename it because it will break everyone's activations. + * + * Since this is not the primary plugin file, it does not have the standard WordPress headers. */ require_once dirname( __FILE__ ) . '/edit_flow.php';