Skip to content

Check for object_type before creating object_slug#44

Open
nine-2-five wants to merge 3 commits into
unfulvio:masterfrom
nine-2-five:master
Open

Check for object_type before creating object_slug#44
nine-2-five wants to merge 3 commits into
unfulvio:masterfrom
nine-2-five:master

Conversation

@nine-2-five
Copy link
Copy Markdown

No description provided.

Comment thread includes/wp-api-menus-v2.php Outdated

$item = (array) $menu_item;

if($item['type'] == 'taxonomy'){
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe factor this out into a getSlug function?

@jenessawhite
Copy link
Copy Markdown

Any updates on this?

@nine-2-five
Copy link
Copy Markdown
Author

I have created a pull request for this, not sure if it went through

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants