-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better plugin header format. abort if direct call
- Loading branch information
1 parent
7be243a
commit 864ccd8
Showing
2 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
<?php | ||
/* | ||
Plugin Name: WP Facebook Open Graph protocol | ||
Plugin URI: https://wordpress.org/plugins/wp-facebook-open-graph-protocol/ | ||
Description: Adds proper Facebook Open Graph Meta tags and values to your site so when links are shared it looks awesome! Works on Google+ and Linkedin too! | ||
Version: 2.3.0-beta.3 | ||
Author: Chuck Reynolds | ||
Author URI: https://chuckreynolds.us | ||
License: GPLv2 or later | ||
License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
Copyright 2014 Chuck Reynolds (email : [email protected]) | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License, version 2, as | ||
published by the Free Software Foundation. | ||
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* Plugin Name: WP Facebook Open Graph protocol | ||
* Plugin URI: https://wordpress.org/plugins/wp-facebook-open-graph-protocol/ | ||
* Description: Adds proper Facebook Open Graph Meta tags and values to your site so when links are shared it looks awesome! Works on Google+ and Linkedin too! | ||
* Version: 2.3.0-beta.3 | ||
* Author: Chuck Reynolds | ||
* Author URI: https://chuckreynolds.us | ||
* Text Domain: wp-facebook-open-graph-protocol | ||
* License: GPLv2 or later | ||
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
* | ||
* Copyright (C) 20010-2014, Chuck Reynolds - [email protected] | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License, version 2, as | ||
* published by the Free Software Foundation. | ||
* | ||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
// If this file is called directly, abort. | ||
if ( ! defined( 'WPINC' ) ) { | ||
die; | ||
} | ||
|
||
define( 'WPFBOGP_VERSION', '2.3.0-beta.3' ); | ||
define( 'WPFBOGP_TITLE', 'Facebook Open Graph protocol plugin' ); | ||
wpfbogp_admin_warnings(); | ||
|