# s2member/110912/includes/menu-pages/code-samples/mms-patch-load.php

s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls &amp; Member Access Subscriptions, version 110912. 4 lines.

- Page: https://pluginprobe.com/plugins/s2member/110912/code/includes/menu-pages/code-samples/mms-patch-load.php
- Raw: https://pluginprobe.com/plugins/s2member/110912/raw/includes/menu-pages/code-samples/mms-patch-load.php
- Modified: 2011-09-13T04:57:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/s2member/110912/code/includes/menu-pages/code-samples/mms-patch-load.php#L10-L20`.

```php
	// Modified for full plugin compatiblity.
	//if ( empty( $active_plugins ) || defined( 'WP_INSTALLING' ) )
	if ( empty( $active_plugins ) || ( defined( 'WP_INSTALLING' ) && !preg_match("/\/wp-activate\.php/", $_SERVER["REQUEST_URI"]) ) )
	return $plugins;
```
