Title: Remove the old code on construct
Last modified: April 5, 2023

---

# Remove the old code on construct

 *  [Arun Kumar](https://wordpress.org/support/users/arunkumarraja/)
 * (@arunkumarraja)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/remove-the-old-code-on-construct/)
 * The plugin expects ‘plugins.php’ and ‘options-general.php’ to be in a $_GET [‘
   page’] variable.
 * Remove these lines from constuctor it is no longer needed.
 *     ```wp-block-code
       // pages where this plugin needs translation
        $local_pages = array ('plugins.php', 'options-general.php' );
       // check if translation needed on current page
       if (in_array ( $pagenow, $local_pages ) || in_array ( $_GET ['page'], $local_pages )) {
            $this->handle_load_domain ();
       }
       ```
   
 *          

The topic ‘Remove the old code on construct’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedblitz-feedsmart.svg)
 * [Plugin Name: FeedBlitz FeedSmart](https://wordpress.org/plugins/feedblitz-feedsmart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feedblitz-feedsmart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feedblitz-feedsmart/)
 * [Active Topics](https://wordpress.org/support/plugin/feedblitz-feedsmart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedblitz-feedsmart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedblitz-feedsmart/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Arun Kumar](https://wordpress.org/support/users/arunkumarraja/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/remove-the-old-code-on-construct/)
 * Status: not resolved