-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
get_pref('skin_editing') function error #1861
Comments
|
Note that it's a per user pref, so, when called on the public side, it can return some unexpected default value. |
@cara-tm Is this still a valid concern? Are there any, more detailed, steps to reproduce this? Perhaps some template code or plugin that fails, because I can't reproduce this. Where are you trying to use |
Expected behaviour
Return of the right value stored into the prefs table.
Actual behaviour
Not accurate.
Steps to reproduce
Store multiple themes.
When we have several themes into the back-office,
get_pref('skin_editing')
doesn't return the theme version stored into the correspondent field (correct entry) from thetxp_prefs
table. The only solution: deleting old themes.Textpattern version: latest (4.8.8)
Web server vendor and version: not relevant here.
Database server vendor and version: not relevant here.
PHP version: {Please write here}
Operating system: {Please write here}
The text was updated successfully, but these errors were encountered: