Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

another performance issue - regenerate_catalog_images #2

Closed
simllll opened this issue Oct 27, 2013 · 1 comment
Closed

another performance issue - regenerate_catalog_images #2

simllll opened this issue Oct 27, 2013 · 1 comment

Comments

@simllll
Copy link

simllll commented Oct 27, 2013

Sometimes the template tries to perfom the regenerate_catalog_images() function.

add_action('generate_rewrite_rules', 'regenerate_catalog_images', 70);

Even though I haven't changed any rewrite rules.. it perform it from time to time.. However, this is not the real problem. The problem is that this function takes hours..years..or..I don't know, way too long though! (We have more than 1.000 product images in our store)

wp-content/themes/theme46551/includes/options-management.php -> I commented the above mentioned line in this file to get the store running again. Not sure If i really need this catalog_image function? I could perform this function from time to time by cron?

regards

@AriadnaA
Copy link
Contributor

Hi simllll,
Function regenerate_catalog_images() is needed only for correct sample content XML import. So you can leave it commented or delete. This won't affect your theme in any way.

Thanks for your issue. It was very useful. We'll reconsider it at next update.

Best regards,
Kate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants