[wp-trac] [WordPress Trac] #21143: Add a hook for when no blog is found (in addition to NOBLOGREDIRECT)

WordPress Trac noreply at wordpress.org
Mon Mar 3 21:41:10 UTC 2014


#21143: Add a hook for when no blog is found (in addition to NOBLOGREDIRECT)
------------------------------------+------------------------
 Reporter:  jamescollins            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.9
Component:  Bootstrap/Load          |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:  multisite
------------------------------------+------------------------
Changes (by jeremyfelt):

 * keywords:  dev-feedback => dev-feedback has-patch


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/21143/21143.diff
 21143.diff] adds a new action for `site_not_found`.

 I've moved the `defined( 'WP_INSTALLING' )` check up as this seems to be a
 very independent scenario. The remainder of the `$destination` capture
 ends with the hook before redirecting, allowing developers to change the
 outcome.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21143#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list