#37855 closed defect (bug) (invalid)
Clean WordPress Head - Group together related tags
Reported by: | ramiy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | Bootstrap/Load | Keywords: | has-patch |
Focuses: | Cc: |
Description
This is a request from the Israeli WordPress Community. I'm trying to make some of them get involved in WordPress core development.
Two WordPress users from the SEO industry, asked me to make the WordPress <head>
cleaner. To update the site's source and group together the <meta>
and <link rel="...">
tags.
Not the scripts and stylesheets! Other tags like: RSD, WLW, noindex, canonical, shortlink, icon and few others. All those functions echo some kind of <link rel="...">
tag. Changing those tags position in the head has no effect on the site itself.
Attachments (3)
Change History (10)
#3
@
8 years ago
@ramiy Your patch is going to break multiple plugins and themes that already unhook various items from wp_head
, because the priority has changed.
#4
@
8 years ago
1) @GaryJ is correct.
2) Even if core changes the order, this will always be thrown off by plugins.
3) What is the actual benefit to this? Is it perceived readability?
Add
$priority
parameter towp_head
actions