-
Notifications
You must be signed in to change notification settings - Fork 113
Wordpress detection fails #203
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
Comments
Which URL on wordpress.com? On https://wordpress.com/? |
Yeah, the home page... but only w/ mobile emulation enabled in devtools. |
On desktop, if not logged-in to WordPress.com, I see: <meta name="generator" content="WordPress.com"> I see the same when emulating as Chrome Android Mobile. (When I'm logged into WordPress.com I'm redirected to the admin backend of a site I manage there.) When I look at an actual blog hosted on WordPress.com, like vintageportland.wordpress.com, I see the same generator tag. I'm actually a bit surprised that "WordPress.com" is the generator rather than the normal "WordPress". Nevertheless, both would seem to work fine according to the current library detection logic: Library-Detector-for-Chrome/library/libraries.js Lines 1674 to 1676 in 3135bb2
When I run that logic in DevTools, it is resulting with a So that would seem to be working correctly? |
Perhaps there is an A/B test? For me, on desktop |
Oh, I passed over those parts of the Library-Detector-for-Chrome/library/libraries.js Lines 1669 to 1672 in 3135bb2
I'm somewhat surprised those conditions are part of the Also, it turns out that the <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://example.com/wp-includes/wlwmanifest.xml"> So the I suggest that the |
It looks like originally when the test was introduced (2ab612a), it was checking for the Pull request in question: #131 |
For wordpress.com, which I assume it built using wordpress... this library fails to detect it.
cc @housseindjirdeh @westonruter
The text was updated successfully, but these errors were encountered: