Skip to content

Commit

Permalink
Allow adding posts and pages with custom titles from the search comma…
Browse files Browse the repository at this point in the history
…nd (#49893)
  • Loading branch information
youknowriad authored Apr 19, 2023
1 parent 404ba01 commit 91cc1c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getWPAdminAddCommandLoader = ( postType ) =>
const commands = useMemo(
() => [
{
name: 'core/wp-admin/add-' + postType,
name: 'core/wp-admin/add-' + postType + '-' + search,
label,
icon: plus,
callback: () => {
Expand Down

0 comments on commit 91cc1c3

Please sign in to comment.