WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#37800 closed defect (bug) (fixed)

Close "link rel" dns-prefetch tag

Reported by: Chaos Engine Owned by: swissspidy
Milestone: 4.6.1 Priority: normal
Severity: trivial Version: 4.6
Component: Script Loader Keywords: has-patch commit fixed-major
Focuses: ui, template Cc:
PR Number:

Description

Just closing link tag to satisfy http://validator.w3.org/

Attachments (1)

7cd365134e480240248ab8476ab891de00896f00.diff (457 bytes) - added by Chaos Engine 3 years ago.
patch closing link tag

Download all attachments as: .zip

Change History (14)

@Chaos Engine
3 years ago

patch closing link tag

#1 @Chaos Engine
3 years ago

  • Severity changed from normal to trivial

#2 @swissspidy
3 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.6.1
  • Version changed from trunk to 4.6

Hey there,

Welcome to WordPress Trac and thanks for creating your first ticket right with a patch to fix this bug.

It's a fairly minor change that should be fine to include in the next minor release.

Last edited 3 years ago by swissspidy (previous) (diff)

#3 @Chaos Engine
3 years ago

Awsome :-)

#4 @swissspidy
3 years ago

  • Owner set to swissspidy
  • Status changed from new to assigned

#5 @swissspidy
3 years ago

  • Type changed from enhancement to defect (bug)

#6 @jeremyfelt
3 years ago

  • Keywords commit added

Looks good, let's get this in to trunk. :)

#7 @SergeyBiryukov
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 38443:

Script Loader: Close the <link> tag in wp_resource_hints().

Props Chaos Engine.
Fixes #37800 for trunk.

#8 @SergeyBiryukov
3 years ago

  • Keywords fixed-major added
  • Resolution fixed deleted
  • Status changed from closed to reopened

#9 @SergeyBiryukov
3 years ago

  • Component changed from General to Script Loader

#10 @pento
3 years ago

  • Keywords fixed-major removed

#11 @swissspidy
3 years ago

In 38447:

Script Loader: Properly adjust tests missed in [38443].

See #37800.

#12 @swissspidy
3 years ago

  • Keywords fixed-major added

#13 @jeremyfelt
3 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 38473:

Script Loader: Close the <link> tag in wp_resource_hints().

Adjusts tests to match markup change.

Merge of [38443] and [38447] to the 4.6 branch.

Props Chaos Engine, SergeyBiryukov, swissspidy.
Fixes #37800.

Note: See TracTickets for help on using tickets.