Skip to content
Snippets Groups Projects
Unverified Commit 67e09e03 authored by Patrick M. Niedzielski's avatar Patrick M. Niedzielski
Browse files

Better distinguish between post and category

The constructor currently forgets the difference between a single post
and a category with only one post in it by wrapping any single post in
an array.  This causes the category to get the same generated URL as
the post itself, instead of using the configured bundle permalink
template.

To fix this, this patch teaches the constructor to remember whether it
received only a single post or an array containing a single post in
it.
parent 9636f53d
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment