Current Behavior
Whenever a Update for a theme is available on site and DISALLOW_FILE_MODS is set true, The notification for theme does not show up.
Expected behavior/code
User should be able to see the notifications, but should not be able to update the Themes . The functionality works fine on plugins but themes do not show notifications.
Set constant DISALLOW_FILE_MODS to true if not set.( by default it is set to true in this repo here )
Check for updates notification on themes ( If no updates available ,you can change VERSION of theme to any previous version and check )
Notifications will not be visible
Testing Environment (if applicable)
Chrome
OS: Windows 10 Home
Possible Solution
As discussed with @chandrapatel , there is a solution for multisite setup available currently, so will be updating the same.
( will check for solutions for single site-setups in future and then implement for them )
Bug Report
Current Behavior Whenever a Update for a theme is available on site and
DISALLOW_FILE_MODS
is set true, The notification for theme does not show up.Expected behavior/code
Steps to reproduce the bug
DISALLOW_FILE_MODS
to true if not set.( by default it is set to true in this repo here )Testing Environment (if applicable)
Possible Solution
As discussed with @chandrapatel , there is a solution for multisite setup available currently, so will be updating the same. ( will check for solutions for single site-setups in future and then implement for them )