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

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

- Page: https://pluginprobe.com/plugins/s2member/110815/code/includes/menu-pages/code-samples/mms-patch-load.php
- Raw: https://pluginprobe.com/plugins/s2member/110815/raw/includes/menu-pages/code-samples/mms-patch-load.php
- Modified: 2011-08-15T17:39:40+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/110815/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;
```
