Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
simple_sitemap
Commits
fbd03108
Commit
fbd03108
authored
Nov 04, 2015
by
Pawel G
Browse files
Issue
#2608560
by victorcpereira: Not all bundles showed on the sitemap.
parent
d1f54da1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/LinkGenerators/EntityLinkGenerator.php
View file @
fbd03108
...
...
@@ -28,7 +28,7 @@ abstract class EntityLinkGenerator {
foreach
(
$links
as
&
$link
)
{
$link
=
SitemapGenerator
::
add_xml_link_markup
(
$link
,
$bundle_settings
[
'priority'
]);
}
$this
->
entity_links
+
=
$links
;
$this
->
entity_links
=
array_merge
(
$this
->
entity_links
,
$links
)
;
}
return
$this
->
entity_links
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment