22 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 1 000 and 5 000 dollars
WiredThemes says

We have a theme in the soft-rejected pile partly because of the global variable called $data in our theme which is from SMOF (slightly modified options framework).

global $data;

This is required to print out the values of the options, but seeing as $data is a very generic variable this is a potential problem and we have been asked by our reviewer to fix that.

I know this is a popular options framework for theme devs here so I’m wondering what measures you guys have taken to fix this problem in your themes? One option is obviously to prefix the variable name but how do we do that and still make sure the options are working?

Obrigado! -Manny

426 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • United Kingdom
SimpleSites4U says
22 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 1 000 and 5 000 dollars
WiredThemes says

Well that was quick and easy. Thank you!

426 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • United Kingdom
SimpleSites4U says

my pleasure matey :)

by
by
by
by
by
by