W3 Total Cache
[resolved] Overriding get_option('blogname') causing plugin incompatibilitie (4 posts)

  1. thenbrent
    Posted 5 years ago #

    I write a plugin for multisite user management.

    I've had a few users contact me about an issue being caused by W3 Total Cache. The problem is, W3 is overriding the return value of get_option('blogname') such that it returns the name of the current blog, even when switch_to_blog has been used to change the site internally.

    You can see the code I'm referring to in the msum_options() function here.

    Can you please fix W3 Total Cache to support WordPress' switch_to_blog function?


  2. Frederick Townes
    Plugin Author

    Posted 4 years ago #

    switch_to_blog() issues are indeed known and will be fixed in an upcoming release.

  3. Simon Wheatley
    Code for the People
    Posted 4 years ago #

    I think I may have a solution to your problem: see this post.

  4. thenbrent
    Posted 4 years ago #

    Thanks for sharing Simon - you're a champion.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic