Plugin Directory

Changeset 1337668


Ignore:
Timestamp:
01/28/2016 12:28:27 AM (10 years ago)
Author:
BCorp
Message:

quick bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bcorp-slider/trunk/bcorp_slider.php

    r1337667 r1337668  
    3030  wp_enqueue_script('bcorp_slider_admin_js',plugins_url('js/bcorp-slider-admin.js', __FILE__ ),'','',true);
    3131  $plugins = array_keys(get_plugins());
    32   $myplugin = 'hello-dolly';
     32  $myplugin = 'bcorp-shortcodes';
    3333  $installed=false;
    3434  foreach($plugins as $plugin) if(strpos($plugin, $myplugin.'/') === 0) { $installed = true; break; }
     
    3636    $url = wp_nonce_url( self_admin_url('plugins.php?action=activate&plugin='.$plugin), 'activate-plugin_'.$plugin);
    3737  } else {
    38     $plugin = 'hello-dolly';
    39     $plugin_name = 'Hello Dolly';
     38    $plugin = 'bcorp-shortcodes';
     39    $plugin_name = 'BCorp Shortcodes';
    4040    $url = wp_nonce_url(
    4141      add_query_arg(
Note: See TracChangeset for help on using the changeset viewer.