Skip to content

Include theme versions in determining whether a validated URL is stale#5031

Merged
westonruter merged 2 commits intodevelopfrom
fix/validated-environment-staleness-detection
Jul 13, 2020
Merged

Include theme versions in determining whether a validated URL is stale#5031
westonruter merged 2 commits intodevelopfrom
fix/validated-environment-staleness-detection

Conversation

@westonruter
Copy link
Copy Markdown
Member

@westonruter westonruter commented Jul 12, 2020

Summary

Fixes #3474

Changed theme (either by switching or upgrading):

image

Changes plugin:

image

Changed theme and plugin:

image

Checklist

  • My pull request is addressing an open issue (please create one otherwise).
  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@westonruter westonruter added this to the v1.6 milestone Jul 12, 2020
@westonruter westonruter requested a review from pierlon July 12, 2020 20:27
@googlebot googlebot added the cla: yes Signed the Google CLA label Jul 12, 2020
@westonruter westonruter changed the title Fix/validated environment staleness detection Include theme versions in determining whether a validated URL is stale Jul 12, 2020
@github-actions
Copy link
Copy Markdown
Contributor

Plugin builds for 6cfa03d are ready 🛎️!

if ( ! $theme_obj->errors() ) {
$theme[ $theme_obj->get_stylesheet() ] = $theme_obj->get( 'Version' );

$parent_theme_obj = $theme_obj->parent();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea of checking if the parent theme is also stale 👍.

@westonruter westonruter merged commit cc9b9cd into develop Jul 13, 2020
@westonruter westonruter deleted the fix/validated-environment-staleness-detection branch July 13, 2020 03:22
@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelogged Whether the issue/PR has been added to release notes. cla: yes Signed the Google CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AMP mode and plugin/theme versions need to be included in validated environment setting to determine whether stale

3 participants