= 0; } //------------------------------------------------- // Requirements (PHP) // // @param n/a // @return n/a function meow_requirements_notice_php(){ if(meow_check_php() || !current_user_can('manage_options')) { return; } ?>

The version of PHP running on your server has reached End of Life. From a security standpoint, this is not good, as your server will not receive important PHP security patches, leaving applications such as WordPress vulnerable to attack.

Future versions of Apocalypse Meow will require PHP 5.6 or newer. As is, you will not be able to receive updates, improvements, or security patches for this plugin.

It is very important that you either update your hosting environment — WordPress itself now recommends PHP 7+ — or replace Apocalypse Meow with a different login security plugin.

response['apocalypse-meow/index.php'])){ unset($option->response['apocalypse-meow/index.php']); } return $option; } add_filter('transient_update_plugins', 'meow_disable_update'); add_filter('site_transient_update_plugins', 'meow_disable_update'); //------------------------------------------------- // Requirements Notice // // @param n/a // @return n/a function meow_requirements_notice(){ global $wpdb; $errors = array(); $current = get_current_screen(); //only show this to admins on relevant pages if(!current_user_can('manage_options') || ($current->id !== 'dashboard' && $current->id !== 'plugins' && $current->id !== 'users')) return; //extensions $extensions = array('Core','bcmath','date','filter','json','pcre','standard'); foreach($extensions AS $e){ if(!extension_loaded($e)) $errors[] = 'The plugin requires the PHP extension ' . $e . '.'; } //make sure the tables exist if(!meow_tables_exist()) $errors[] = 'The Apocalypse Meow database tables do not exist. Your MySQL user must have CREATE TABLES grants for this plugin to be properly installed.'; //any errors? if(!is_array($errors) || !count($errors)) return; ?>

Your server does not meet the minimum requirements for running Apocalypse Meow. Things might work out anyhow, but you or your system administrator should take a look at the following:
  •    •  ", $errors); ?>

Apocalypse Meow is not compatible with WPMU and has been disabled. Sorry!

'; } return true; } add_action('admin_init', 'meow_deactivate_multisite'); //--------------------------------------------------------------------- end compatibility //--------------------------------------------------------------------- // Menus //--------------------------------------------------------------------- //-------------------------------------------------- // Page Navigation // // @param n/a // @return header function meow_admin_header(){ $slug = isset($_GET['page']) ? $_GET['page'] : ''; $links = array( array( 'slug'=>'meow-settings', 'title'=>'Settings', 'url'=>admin_url('users.php?page=meow-settings') ), array( 'slug'=>'meow-tools', 'title'=>'Tools', 'url'=>admin_url('users.php?page=meow-tools') ), array( 'slug'=>'meow-activity', 'title'=>'Activity', 'url'=>admin_url('users.php?page=meow-activity') ) ); ?>

Apocalypse Meow

Kitten

Apocalypse Meow

{{error}}

{{success}}

Settings'; $links[] = 'Tools'; $links[] = 'Activity'; return $links; } add_filter("plugin_action_links_" . plugin_basename(dirname(__FILE__) . '/index.php'), 'meow_plugin_settings_link' ); //-------------------------------------------------- // The Main Settings Page! // // @param n/a // @return true function meow_settings_page(){ require_once(dirname(__FILE__) . '/admin-settings.php'); return true; } //------------------------------------------------- // The Tools Page! // // @param n/a // @return true function meow_tools_page(){ require_once(dirname(__FILE__) . '/admin-tools.php'); return true; } //-------------------------------------------------- // The Activity Page! // // @param n/a // @return true function meow_activity_page(){ require_once(dirname(__FILE__) . '/admin-activity.php'); return true; } //--------------------------------------------------------------------- end menus ?>