WordPress.org

Support

Support » Plugins and Hacks » Widget Logic » Widget Logic Broken in WP 3.8

Widget Logic Broken in WP 3.8

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alanft

    @alanft

    have you tried the fix suggested in the FAQ for is_page (and if that doesn’t work, you should trace through the problem of is_page mentioned there)

    It simply points to the Codex, which gives only a very brief mention:

    Due to certain global variables being overwritten during The Loop is_page() will not work. In order to use it after The Loop you must call wp_reset_query() after The Loop.

    That doesn’t really help me unfortunately. I haven’t changed any code in my theme, the only change I made is to upgrade to WordPress 3.8.

    Does this mean that WordPress 3.8 changed the way global variables are handled?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget Logic Broken in WP 3.8’ is closed to new replies.
Skip to toolbar