[wp-trac] [WordPress Trac] #57716: Remove server-side redirection in site editor

WordPress Trac noreply at wordpress.org
Tue Feb 28 15:06:08 UTC 2023


#57716: Remove server-side redirection in site editor
-------------------------------------------------+-------------------------
 Reporter:  ntsekouras                           |       Owner:
                                                 |  hellofromTonya
     Type:  task (blessed)                       |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55436" 55436]:
 {{{
 #!CommitTicketReference repository="" revision="55436"
 Editor: Deprecate _resolve_home_block_template().

 The internal Core-only `_resolve_home_block_template()` function was
 introduced in [53093] for a specific purpose of resolving the template for
 a site's home page. It was used as part of the Site Editor's redirect when
 the `postType` and `postId` query args were missing. The server-side
 handling was removed in [55338]. The function is no longer used in Core.

 This changeset deprecates the function and removes its tests.

 Follow-up to [55338], [53093].

 Props johnbillion, hellofromTonya.
 Fixes #57716.
 }}}

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


More information about the wp-trac mailing list