Timeline for get_option( 'home' ) not returning value in database
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 10, 2016 at 14:52 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 31, 2016 at 7:37 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 24, 2014 at 9:21 | comment | added | ojrask |
Did you try get_blog_option ?
|
|
May 13, 2014 at 14:46 | comment | added | user1637621 | Thanks for the suggestions, I have disabled all plugins and switched to the 2014 theme and its still not working. No I am not using switch_to_blog() anywhere - at least to my knowledge. | |
May 12, 2014 at 21:26 | answer | added | Luke Gedeon | timeline score: -2 | |
May 12, 2014 at 20:50 | comment | added | Pat J |
Also: never hack core. Editing files in the wp-admin directory will cause you grief the next time WordPress updates.
|
|
May 12, 2014 at 20:48 | comment | added | Pat J |
Are you using switch_to_blog() anywhere? That's one possible culprit. Disable all plugins on the site in question, then see if the issue has gone away. If it has, turn your plugins back on one at a time until it recurs. That plugin is causing the issue. (If no plugin is the culprit, then switch to a default theme. If the issue goes away, then it's the fault of the theme.)
|
|
May 12, 2014 at 19:03 | review | First posts | |||
May 12, 2014 at 19:38 | |||||
May 12, 2014 at 18:43 | history | asked | user1637621 | CC BY-SA 3.0 |