Changeset 1197106
- Timestamp:
- 07/11/2015 07:00:57 PM (11 years ago)
- Location:
- wp-block-referrer-spam/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
includes/class-wp-block-referrer-spam.php (modified) (1 diff)
-
wp-block-referrer-spam.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-block-referrer-spam/trunk/README.txt
r1197065 r1197106 4 4 Requires at least: 3.2 5 5 Tested up to: 4.2.2 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 == Changelog == 84 84 85 = 1.1 = 86 * Renamed internal functions to ensure compatilibity 87 85 88 = 1.0 = 86 89 * Initial public release -
wp-block-referrer-spam/trunk/includes/class-wp-block-referrer-spam.php
r1197065 r1197106 61 61 * @since 1.0 62 62 */ 63 const PLUGIN_VERSION = '1. 0';63 const PLUGIN_VERSION = '1.1'; 64 64 65 65 /** -
wp-block-referrer-spam/trunk/wp-block-referrer-spam.php
r1197065 r1197106 34 34 * @return bool True if system requirements are met, false if not 35 35 */ 36 function sefp_requirements_met() {36 function wpbrs_requirements_met() { 37 37 38 38 global $wp_version; … … 53 53 * @since 1.0 54 54 */ 55 function sefp_requirements_error() {55 function wpbrs_requirements_error() { 56 56 57 57 global $wp_version; … … 88 88 * @since 1.0 89 89 */ 90 if ( sefp_requirements_met() ) {90 if ( wpbrs_requirements_met() ) { 91 91 92 92 run_wp_block_referrer_spam(); … … 94 94 } else { 95 95 96 add_action( 'admin_notices', ' sefp_requirements_error' );96 add_action( 'admin_notices', 'wpbrs_requirements_error' ); 97 97 require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 98 98 deactivate_plugins( plugin_basename( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.