Skip to content

Commit

Permalink
Allow adding posts and pages with custom titles from the search command
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 18, 2023
1 parent bc39f39 commit b64631c
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 b64631c

Please sign in to comment.