Make WordPress Core

Changeset 56206


Ignore:
Timestamp:
07/11/2023 07:15:21 AM (12 months ago)
Author:
isabel_brison
Message:

Editor: remove one preloaded navigation endpoint.

Removes one of the preloaded navigation endpoints from the site editor as it is not in use anymore.

Props scruffian.
Fixes #58749.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-editor.php

    r56187 r56206  
    101101                'order'     => 'desc',
    102102                'orderby'   => 'date',
    103                 '_locale'   => 'user',
    104103                // array indices are required to avoid query being encoded and not matching in cache.
    105                 'status[0]' => 'publish',
    106                 'status[1]' => 'draft',
    107             ),
    108             $navigation_rest_route
    109         ),
    110         'GET',
    111     ),
    112     $preload_paths[] = array(
    113         add_query_arg(
    114             array(
    115                 'context'   => 'edit',
    116                 'per_page'  => 100,
    117                 'order'     => 'desc',
    118                 'orderby'   => 'date',
    119104                'status[0]' => 'publish',
    120105                'status[1]' => 'draft',
Note: See TracChangeset for help on using the changeset viewer.