[wp-meta] [Making WordPress.org] #5155: Tighten the URL warnings

Making WordPress.org noreply at wordpress.org
Fri Apr 17 07:29:58 UTC 2020


#5155: Tighten the URL warnings
--------------------------------------+--------------------
 Reporter:  dd32                      |      Owner:  (none)
     Type:  defect                    |     Status:  new
 Priority:  normal                    |  Milestone:
Component:  Translate Site & Plugins  |   Keywords:
--------------------------------------+--------------------
 On translate.wordpress.org we have two types of URL warnings
  - GlotPress mismatching tag warning which detect mis-matched `<a
 href="...">` tags
 and
  - A custom warning to detect URL changes outside of tags in the content

 The latter allows for certain URL changes (ie. wordpress.org to
 fr.wordpress.org, and http to https) however the former doesn't.
 We should extend the GlotPress warning to ignore any valid URL changes.

 It also looks like we should probably ignore urls which only differ by a
 trailing slash being added, which while a change that may break a URL is
 highly unlikely to.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5155>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list