Mohammad Jangda
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] Prohibited or invalid use of HTML TagCan you share an example URL?
Forum: Plugins
In reply to: [AMP] Amp Prefix validation errorWe have a fix that will go out with 0.4.2: https://github.com/Automattic/amp-wp/pull/537
Forum: Plugins
In reply to: [AMP] https://cdn.ampproject.org/v0.js’ defer onload='”It’s likely being added by Cloudflare like you noted or another similar plugin as the AMP plugin doesn’t include either of them:
https://github.com/Automattic/amp-wp/blob/master/includes/amp-post-template-actions.php#L24
If you have a full page caching plugin like Super Cache or W3TC, you may need to flush the cache as well.
Forum: Plugins
In reply to: [AMP] Soundcloud player iframes not working after updatePushed https://github.com/Automattic/amp-wp/commit/b0664157926f8027d51f9697cceb7ad16cbc9f8e as a fix. We’ll bundle it in as part of 0.4.2. Thanks again for the report.
Forum: Plugins
In reply to: [AMP] Soundcloud player iframes not working after updateThanks for the report. Just to confirm, this is with 0.4.1 but was fine with 0.4?
Forum: Plugins
In reply to: [AMP] Style fatal errorWe have a possible fix here: https://github.com/Automattic/amp-wp/pull/530
You can apply it directly by downloading and using the development version from here: https://github.com/Automattic/amp-wp/archive/master.zip
This will ship as part of 0.4.2 soon.
Forum: Plugins
In reply to: [AMP] Warning: Invalid argument suppliedThere’s a fix here: https://github.com/Automattic/amp-wp/pull/529
I’d also suggest setting display_errors in your php settings to off and instead writing them to a log file instead.
Forum: Plugins
In reply to: [AMP] How to disable inline styles?Out of curiosity, why you want to disable them?
Forum: Plugins
In reply to: [AMP] AMP on https, code with // instead using https> I wonder is it having something to do that I use Cloudflare with SSl, forcing in code to use // instead of https:// or http://
Yes, that’s been a common issue with other Cloudflare users as well.
Forum: Plugins
In reply to: [AMP] Style fatal errorLooks like
sanitize_hex_colorwas only made available outside of the Customizer as of WordPress 4.6. Upgrading to that version should fix the error, but will look at pushing out a fix for the AMP plugin with v0.4.2 very soon.- This reply was modified 9 years, 9 months ago by Mohammad Jangda.
Forum: Plugins
In reply to: [AMP] New Error After Editing or Publishing After UpgradeAre you sure this is from the AMP plugin? It doesn’t do any actions on post publish.
Forum: Plugins
In reply to: [AMP] comments_link_urlYou can hook into the
amp_post_template_datafilter and modify thecomments_link_urlandcomments_link_textkeys for the array.Forum: Plugins
In reply to: [AMP] Sudden Jump in AMP Errors in GSC0.4.1 should fix many of these. Please report back on how things look after the update.
Forum: Plugins
In reply to: [AMP] Error After Update from Webmaster ToolsCan you share the AMP URL for one of your posts? There is likely another plugin or your theme that is inserting the
prefixattribute to thehtmltag via thelanguage_attributesfilter.Forum: Plugins
In reply to: [AMP] No imagesCan you share the AMP URL for one of your posts?