Skip to content

Commit

Permalink
Update slug for plugin-sidebar tutorial (#37505)
Browse files Browse the repository at this point in the history
An idiosyncracy of WP handbook publishing, there can't be a slug conflict,
the changes in #37490 used
the same slug due to the filename, which should of matched to the
directory.

This conflicted with the existing reference document here:
https://developer.wordpress.org/block-editor/reference-guides/slotfills/plugin-sidebar/

The published URL should actually be: /how-to-guides/plugin-sidebar-0/
which mapped to the old file instead of the directory.

You can confirm by not seeing the Plugin Sidebar in the navigation.
  • Loading branch information
mkaz committed Dec 20, 2021
1 parent f937a3a commit 33780c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@
},
{
"title": "Plugin Sidebar",
"slug": "plugin-sidebar",
"markdown_source": "../docs/how-to-guides/plugin-sidebar.md",
"slug": "plugin-sidebar-0",
"markdown_source": "../docs/how-to-guides/plugin-sidebar-0.md",
"parent": "how-to-guides"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
]
},
{ "docs/how-to-guides/notices/README.md": [] },
{ "docs/how-to-guides/plugin-sidebar.md": [] },
{ "docs/how-to-guides/plugin-sidebar-0.md": [] },
{
"docs/how-to-guides/themes/README.md": [
{ "docs/how-to-guides/themes/block-theme-overview.md": [] },
Expand Down

0 comments on commit 33780c5

Please sign in to comment.