-
Notifications
You must be signed in to change notification settings - Fork 140
Use plugin slug for generator tag #1103
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
Changes from 2 commits
88599d4
5097541
4c8aff7
08e31f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,6 +54,7 @@ function plsr_print_speculation_rules() { | |
| * @since 1.1.0 | ||
| */ | ||
| function plsr_render_generator_meta_tag() { | ||
| echo '<meta name="generator" content="Speculative Loading ' . esc_attr( SPECULATION_RULES_VERSION ) . '">' . "\n"; | ||
| // Use the plugin slug as it is immutable. | ||
| echo '<meta name="generator" content="speculation-rules ' . esc_attr( SPECULATION_RULES_VERSION ) . '">' . "\n"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably want to bump the plugin version as well, otherwise users won't get this update.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @adamsilverstein That version is already bumped (and not published), so this PR doesn't need to bump it again. :) |
||
| } | ||
| add_action( 'wp_head', 'plsr_render_generator_meta_tag' ); | ||
Uh oh!
There was an error while loading. Please reload this page.