Plugin Directory

Changeset 2179188


Ignore:
Timestamp:
10/24/2019 10:17:49 AM (6 years ago)
Author:
emailsystem
Message:

fixed typi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailsystem/trunk/emailsystem.php

    r2170520 r2179188  
    217217   
    218218    function emailsystem_activate() {
    219         if (strpos($_SERVER[REQUEST_URI], 'emailsystemform') !== false) {
     219        if (strpos($_SERVER['REQUEST_URI'], 'emailsystemform') !== false) {
    220220            wp_register_script( 'emailsystem-js', plugins_url('/assets/js/emailsystem.js', __FILE__), array('jquery','jquery-ui-sortable','wp-color-picker'));
    221221            wp_enqueue_style( 'wp-color-picker' );
Note: See TracChangeset for help on using the changeset viewer.