Title: Bug or not in common.php
Last modified: August 22, 2016

---

# Bug or not in common.php

 *  [mykee](https://wordpress.org/support/users/mykee/)
 * (@mykee)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/bug-or-not-in-commonphp/)
 * Hello,
 * I look into your code, and I see this in common.php at line 342:
    `'@<style[^
   >]*?>.*?</style>@siu',` Like php closed. Next lines was correctly, and I deleted
   plus > sign, changed to this: `'@<style[^>]*?.*?</style>@siu',` I think this 
   correct, but I just quest: this a little bug or not? Thanks for great plugin!
 * —————–
    I have a second question: I use zip-recipes plugin, what like recipe 
   card. But when search a terms or word, I no get any results from zip-recipes.
   Why? How can I add zip recipes tables to index (or need I modify this plugin)?
 * [https://wordpress.org/plugins/relevanssi/](https://wordpress.org/plugins/relevanssi/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/bug-or-not-in-commonphp/#post-5889009)
 * No, the code was right before your correction. The > symbol needs to be there.
 * Where the ZipRecipes plugin stores the data? Does it use a custom post type, 
   or a separate table? If the recipes are stored as posts, all you need to do is
   to make Relevanssi index that post type. If the recipes are stored in a separate
   table, Relevanssi can’t access it.
 *  Thread Starter [mykee](https://wordpress.org/support/users/mykee/)
 * (@mykee)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/bug-or-not-in-commonphp/#post-5889012)
 * Thanks for reply, I put back this sign to common file.
    ZipRecipes store datas
   in a different table: wp_amd_zlrecipe_recipes. No store as post, all data in 
   a different custom columns (recipe_title, cook_time, total_time, ingedients, 
   etc.) No possible add a table name to search index? Like a list what tables index
   too?
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/bug-or-not-in-commonphp/#post-5889103)
 * Sorry, but Relevanssi only indexes posts. If there’s a post (can be any post 
   type) per recipe to index, then data can be gathered from different places.
 * A possible solution is to create a custom post type that has one post per recipe,
   generated automatically, but that gets a bit complicated. You’re probably better
   off with another search solution. [AddSearch](http://www.addsearch.com/) might
   be worth investigating.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug or not in common.php’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/bug-or-not-in-commonphp/#post-5889103)
 * Status: not resolved