Title: PHP.Generic.BadPattern.5 Security Issue
Last modified: July 27, 2019

---

# PHP.Generic.BadPattern.5 Security Issue

 *  Resolved [mehmednaim](https://wordpress.org/support/users/mehmednaim/)
 * (@mehmednaim)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-generic-badpattern-5-security-issue/)
 * Vault Press warns about **PHP.Generic.BadPattern.5** in your code.
 * in ImagesModule.php
 * return function($feedId) use ($c, $factory, $decorator) {
 *  return **$decorator($factory($feedId));**
 *  };
    -  This topic was modified 6 years, 10 months ago by [mehmednaim](https://wordpress.org/support/users/mehmednaim/).

Viewing 1 replies (of 1 total)

 *  [Naweed Chougle](https://wordpress.org/support/users/hypersonic/)
 * (@hypersonic)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-generic-badpattern-5-security-issue/#post-11780333)
 * This error is nothing to worry about, though we will patch it in a future version.
 * It relates to the use of a generic variable as a function. The state of the variable
   is controlled by the plugin, so technically it’s not “generic”. It’s just the
   approach we decided to take for now.

Viewing 1 replies (of 1 total)

The topic ‘PHP.Generic.BadPattern.5 Security Issue’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [RSS Aggregator - RSS Import, News Feeds, Feed to Post, and Autoblogging](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Naweed Chougle](https://wordpress.org/support/users/hypersonic/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/php-generic-badpattern-5-security-issue/#post-11780333)
 * Status: resolved