Plugin Directory

Changeset 842584


Ignore:
Timestamp:
01/21/2014 06:20:38 PM (12 years ago)
Author:
fineswap
Message:

Use slug as unique identifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • custom-resources/trunk/controller.php

    r842580 r842584  
    44 * Plugin URI: http://wordpress.org/plugins/custom-resources/
    55 * Description: Embed additional resources (styles and scripts) for both your theme and admin pages easily. Works by direct inline embedding or by using URL's.
    6  * Version: 1.0
     6 * Version: 1.0.1
    77 * Author: Fineswap
    88 * Author URI: http://fineswap.com/open-source/
     
    5555  private function __construct() {
    5656    // Add a Settings link in Plugins page.
    57     add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'settings_link'));
     57    add_filter('plugin_action_links_' . SLUG, array($this, 'settings_link'));
    5858
    5959    // Properly initialize and cleanup on activate/deactivate.
Note: See TracChangeset for help on using the changeset viewer.