EricJohnsonGuru
Forum Replies Created
-
Forum: Reviews
In reply to: [Enable Abilities for MCP] Very Helpful and Worked out of the box.That’s a great turnaround, thank you. I read v2.0.3 and here’s what I see from our side without testing on the live site yet:
What’s now covered for TSF:
meta_title→_genesis_titleandmeta_description→_genesis_descriptionvia auto-detect onupdate-post. ✅ewpa/update-post-metalets us reach the rest of TSF’s keys (_genesis_canonical_uri,_genesis_noindex/nofollow/noarchive,_tsf_title_no_blogname,_social_image_url/_id,_open_graph_title/_description,_twitter_title/_description,redirect). ✅- What we’d give up by deleting our companion:
- TSF post-meta cache flush. TSF caches its meta and won’t reflect changes on the frontend until
tsf()-flush_post_meta_cache( $post_id )runs. Without that, edits look applied in the DB but the rendered tags can lag. Would you consider firing a post-write hook (e.g.do_action( 'ewpa_after_update_post_meta', $post_id, $meta_key, $meta_value )) so SEO plugins can hook their cache busters? - Typed schema / validators per field. Our companion enforces a
0/1/2enum on the robots flags, same-host validation on canonical/redirect, attachment-ID existence onsocial_image_id, and a two-pass validate-then-write so a bad field doesn’t half-apply. With rawupdate-post-meta, the client has to know the contract. - Single-call read of all TSF SEO fields. With the generic writer there isn’t a generic reader, so an LLM has to issue N
get-post-metacalls or guess keys. Probably not worth a dedicatedewpa/*-tsf-seoif Yoast/Rank Math/SEOPress already have parity – but a write-hook for cache busting and maybe aget-post-metacompanion would let me retire the snippet fully. Happy to test TSF auto-detect on the live site and report back this week. - Either way: huge appreciation for shipping this so quickly.
Forum: Reviews
In reply to: [Enable Abilities for MCP] Very Helpful and Worked out of the box.Thanks. The one I keep running into is writing SEO meta to The SEO Framework. Your meta_title and meta_description fields write to Yoast and Rank Math keys, TSF reads from its own
_genesis_*keys. So anything I wrote through your plugin went into meta TSF doesn’t even look at.Claude and I ended up writing a small companion plugin with three custom abilities for TSF meta read/write.
Two things (if they are even safe/allowed) that would’ve saved the work:
- A generic
update-post-metaability with capability checks, for cases where someone knows the exact key they want to write. - A filter or settings option that lets your
meta_titleandmeta_descriptionfields target other SEO plugins. TSF, SEOPress, AIOSEO. The Yoast and Rank Math defaults cover most installs but skip the rest of us.
Big fan of the plugin either way.
Here is a quick patch job: https://gist.github.com/wormeyman/a965df3aa626e007bf5428ef36fe7b81
Found the XSS vulnerability. It's on line 10 of assets/js/YSFA-JS.js:
var question = jQuery(this).text();
jQuery(this).replaceWith('<a ...>' + question + '</a>');
The problem: .text() extracts text content (decoding HTML entities like < back to <), then that raw string is concatenated directly into HTML via replaceWith(). A contributor could craft a FAQ question containing encoded HTML like <img src=x onerror=alert(1)> - .text() decodes it to <img src=x onerror=alert(1)>, and the string concatenation injects it as live HTML.
The fix is to use jQuery's DOM construction methods instead of string concatenation:Forum: Plugins
In reply to: [Create] False positive security errorThanks!
This feature is absolutely vital for my workflow, I would like to have it either supported by JSON import/export. Or though the WordPress XML import/export.
Forum: Plugins
In reply to: [Gutenberg] Broken Paragraphs and heading since changing themesThe previous theme was Soledad. It’s about 70% of the post published before the theme switch.
The Current theme is Create an Kadence child theme by restored 316 designs.
- This reply was modified 2 years, 7 months ago by EricJohnsonGuru.
Forum: Fixing WordPress
In reply to: Ordered & Unordered Lists Not Working in 6.3Can anyone confirm if 6.3.1 fixed this?
Forum: Fixing WordPress
In reply to: Ordered & Unordered Lists Not Working in 6.3I can confirm this as well. I have had to revert several client sites back to 6.2.2. Does anyone know if there is a bug report for this?
Forum: Plugins
In reply to: [Code Snippets] Your 3.3.0 red upgrade banner is scaring my clients.Great thanks.
Forum: Plugins
In reply to: [Async JavaScript] Not compatible with PHP 8I don’t see any PHP 8.1 errors when I run the plugin by itself on https://localwp.com/
PHP Warning: Undefined array key "status" in /wp-content/plugins/easy-facebook-likebox/easy-facebook-likebox.php on line 69 Warning: Undefined array key "status" in /wp-content/plugins/easy-facebook-likebox/easy-facebook-likebox.php on line 69 PHP Warning: Undefined array key "status" in /wp-content/plugins/easy-facebook-likebox/easy-facebook-likebox.php on line 85 Warning: Undefined array key "status" in /wp-content/plugins/easy-facebook-likebox/easy-facebook-likebox.php on line 85I have run into this as well and have had to disable the plugin.
For those wondering what the answer to generate blocks is the code is:
add_filter( 'generateblocks_do_activation_redirect', '__return_false' );Hello, any thoughts?
Forum: Plugins
In reply to: [Web Stories] Unable to Duplicate or View StoriesThis is what they had to say:
I thoroughly checked your issue, but I can’t see anything from the server level causing this. Nothing in the Apache log either. This is something within the application plugins or themes. So I suggest you consult with your developer or plugin provider.
I don’t know what level of support you provide for free but I could provide you with a backup copy of the site without images to keep the size down if you wanted to take a look at that.
- This reply was modified 3 years, 9 months ago by EricJohnsonGuru.