Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Can't see the option to enable auto updates on the themes #139

Open
andrija-naglic opened this issue May 21, 2020 · 5 comments
Open

Can't see the option to enable auto updates on the themes #139

andrija-naglic opened this issue May 21, 2020 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@andrija-naglic
Copy link

From the screenshots in the readme.md I expected to see the option to turn on auto updates for the default theme I have on this site.

This is what I see.

image

The theme without pending updates is also not showing the option to turn on the auto updates.

Any directions on what should I inspect to figure this one out?

The plugins GUI looks fine.

@audrasjb
Copy link
Contributor

Hi @dev-masta, and thank you for opening this issue,

I think it's probably a caching issue as we rely on JavaScript to display auto-updates informations on this screen (this won't be the case in WordPress Core).
Could you please try with another browser or after cleaning all your caches (potential cache WP plugins and/or browser cache)?

Thanks!

@audrasjb audrasjb self-assigned this May 21, 2020
@audrasjb audrasjb added the question Further information is requested label May 21, 2020
@pbiron
Copy link
Contributor

pbiron commented May 21, 2020

@dev-masta Two questions for you:

  1. what operating system is the site running in? (Unix/Linux, Windows, OSX, something else)
  2. do you see any errors in your browser's console? For example, something like:

wp-autoupdates-js-error

@pbiron
Copy link
Contributor

pbiron commented May 21, 2020

One other question: what version of the feature plugin are you using?

@andrija-naglic
Copy link
Author

Thank you @audrasjb and @pbiron for a quick response.

I've tried cleaning cache and different browser, but the option still didn't show up.
That is my local development site, full of plugins, but I don't use any additional caching options or plugins.
OS is Win10 with Chrome (tried Firefox also, same).

The version of the plugin is from master branch, 0.8.1

Indeed, @pbiron is on the right track, I saw this error but thought it was related to another plugin I'm in the middle of development.
This is the screenshot:

image

@pbiron
Copy link
Contributor

pbiron commented May 21, 2020

Thanx for confirming my suspicion. My dev machine is Windows as well and I'm using 0.8.1 locally...and getting the same behavior as you are. On a live site (Linux) also running 0.8.1 it's working as it is supposed to.

The problem is https://github.com/WordPress/wp-autoupdates/blob/master/functions.php#L84.

The odd thing that that line has been in place since 0.7.0 and was working for me on my Windows machine prior to now. Still trying to figure out exactly what's going on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants