WordPress.org

Making WordPress.org

Changeset 10797


Ignore:
Timestamp:
03/09/2021 08:40:42 AM (8 months ago)
Author:
coffee2code
Message:

Developer, Block Editor Handbook: Redirect slugs after handbook reorganization.

Props justinahinon, coffee2code.
Fixes #5640.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php

    r10734 r10797  
    5454            'tutorials/block-tutorial/block-controls-toolbars-and-inspector' => 'tutorials/block-tutorial/block-controls-toolbar-and-sidebar/',
    5555            'components/server-side-render' => 'packages/packages-server-side-render',
     56
     57            // After handbook restructuring, March 2021.
     58            'handbook/versions-in-wordpress/' => 'contributors/versions-in-wordpress',
     59            'architecture/fse-templates' => 'explanations/architecture/full-site-editing-templates',
     60            'handbook/outreach' => 'getting-started/outreach',
     61            'handbook/history' => 'getting-started/history',
     62            'handbook/glossary' => 'getting-started/glossary',
     63            'handbook/faq' => 'getting-started/faq',
     64            'developers/internationalization' => 'how-to-guides/internationalization',
     65            'developers/richtext' => 'reference-guides/richtext',
     66            'developers/accessibility' => 'how-to-guides/accessibility',
     67            'developers/feature-flags' => 'how-to-guides/feature-flags',
     68            'tutorials/devenv' => 'getting-started/tutorials/devenv',
     69            'tutorials/devenv/docker-ubuntu' => 'getting-started/tutorials/devenv/docker-ubuntu',
     70            'tutorials/block-based-themes' => 'how-to-guides/block-based-theme',
     71            'tutorials/block-based-themes/block-based-themes-2-adding-blocks' => 'how-to-guides/block-based-theme/block-based-themes-2-adding-blocks',
    5672        ];
    5773
     
    5975        $path_redirects = [
    6076            // 'some-path/' => 'new-path/',
     77
     78            // After handbook restructuring, March 2021.
     79            'architecture/' => 'explanations/architecture/',
     80            'contributors/develop/' => 'contributors/code/',
     81            'contributors/document/' => 'contributors/documentation/',
     82            'data/' => 'reference-guides/data/',
     83            'designers/' => 'how-to-guides/designers/',
     84            'developers/backward-compatibility/' => 'how-to-guides/backward-compatibility/',
     85            'developers/block-api/' => 'reference-guides/block-api/',
     86            'developers/filters/' => 'reference-guides/filters/',
     87            'developers/platform/' => 'how-to-guides/platform/',
     88            'developers/slotfills/' => 'reference-guides/slotfills/',
     89            'developers/themes/' => 'how-to-guides/themes/',
     90            'packages/' => 'reference-guides/packages/',
     91            'tutorials/create-block/' => 'getting-started/tutorials/create-block/',
     92            'tutorials/plugin-sidebar-0/' => 'how-to-guides/sidebar-tutorial/',
     93            'tutorials/' => 'how-to-guides/',
    6194        ];
    6295
Note: See TracChangeset for help on using the changeset viewer.