WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 16 months ago

#23087 new enhancement

Filter wp-register.php canonical redirect in single site too

Reported by: chrisclayton Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Canonical Keywords: has-patch
Focuses: Cc:

Description

in canonical registration location redirecting we have a filter for MS but none for WP Single Site. I'm unsure of how to convert Git patches to svn, so... yeah... Sorry.

patch:
https://github.com/ChrisClayton/WordPress/commit/449ac581ff45bfd68050280cdad6211d907ca12f

Attachments (1)

449ac581ff45bfd68050280cdad6211d907ca12f.diff (613 bytes) - added by chrisclayton 16 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 scribu16 months ago

Just add .diff to the end of that URL:

https://github.com/ChrisClayton/WordPress/commit/449ac581ff45bfd68050280cdad6211d907ca12f.diff

Or run git diff --no-prefix > 23087.diff

Last edited 16 months ago by scribu (previous) (diff)

comment:2 scribu16 months ago

Related: #17950

comment:3 chrisclayton16 months ago

Thanks Scribu. :)

comment:4 chrisclayton16 months ago

  • Summary changed from canonical redirect filter to apply_filters to redirect_canonical if we're not multi site.

Modifying the Summary to clarify ticket.

comment:5 SergeyBiryukov16 months ago

  • Summary changed from apply_filters to redirect_canonical if we're not multi site. to Filter wp-register.php canonical redirect in single site too

comment:6 SergeyBiryukov16 months ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.