WordPress.org

Plugin Directory

Changeset 684625


Ignore:
Timestamp:
03/20/13 05:19:46 (13 months ago)
Author:
joedolson
Message:

Tweak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • my-content-glossary/trunk/my-content-glossary.php

    r684600 r684625  
    2424    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    2525*/ 
    26 if ( !function_exists('mcm_show_posts') ) { 
     26 
     27require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 
     28if ( !is_plugin_active('my-content-management/my-content-management.php') ) { 
    2729    $activate = admin_url('plugins.php#my-content-management'); 
    2830    add_action('admin_notices', create_function( '', "echo \"<div class='error'><p>My Content Management must be activated to use MCM Glossary Filter. <a href='$activate'>Visit your plugins page to activate</a>.</p></div>\";" ) ); 
Note: See TracChangeset for help on using the changeset viewer.