Plugin Directory

Changeset 2811160


Ignore:
Timestamp:
11/03/2022 02:29:38 PM (3 years ago)
Author:
phollows
Message:

Fix: PHP8 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • feedblitz-feedsmart/trunk/FeedBlitz_FeedSmart.php

    r2377402 r2811160  
    142142                $level = 'administrator'; // for single blog intalls
    143143                $hook = add_options_page ( 'Feedblitz Feedsmart Settings', 'Feedblitz Feedsmart', $level, $this->slug, array (&$this, 'options_page' ) );
    144                 add_action('admin_head-'.$hook,create_function('','wp_enqueue_script("feedsmart_admin_script");'));
     144                add_action('admin_head-'.$hook,function(){wp_enqueue_script('feedsmart_admin_script');});
    145145                add_filter('user_contactmethods',array(&$this,'add_contact_methods'));
    146146            }
Note: See TracChangeset for help on using the changeset viewer.