Description
Opening Library from the Command center leads to a non-existent page /wp-admin/site-editor.php?path=%2Fwp_template_part. While it should be mapped to /wp-admin/site-editor.php?path=%2Flibrary.
This bug is only triggered via the Command center. While manually accessing the Library from the left sidebar menu leads to a correct path.
Step-by-step reproduction instructions
- Press Ctrl-K (win) or Command-K (mac) to invoke the Command center
- Type or choose Open Library
- Observe the left sidebar menu disappears
- Observe the path in the address bar leads to
/wp-admin/site-editor.php?path=%2Fwp_template_part which is non-exist.
Screenshots, screen recording, code snippet
Wrong library page path

Right library page path

Environment info
Local WP, WP 6.2.2, Gutenberg 16.1.0 RC-1, Windows 11, Chrome 114.0.5735.134.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Description
Opening Library from the Command center leads to a non-existent page
/wp-admin/site-editor.php?path=%2Fwp_template_part. While it should be mapped to/wp-admin/site-editor.php?path=%2Flibrary.This bug is only triggered via the Command center. While manually accessing the Library from the left sidebar menu leads to a correct path.
Step-by-step reproduction instructions
/wp-admin/site-editor.php?path=%2Fwp_template_partwhich is non-exist.Screenshots, screen recording, code snippet
Wrong library page path
Right library page path
Environment info
Local WP, WP 6.2.2, Gutenberg 16.1.0 RC-1, Windows 11, Chrome 114.0.5735.134.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes