Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
xmlsitemap
Commits
6b5af456
Commit
6b5af456
authored
Feb 13, 2010
by
Dave Reid
Browse files
by Dave Reid: Updated for 'path callback' entity property renamed to 'uri callback'.
parent
8cbbc5b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlsitemap.module
View file @
6b5af456
...
@@ -752,7 +752,7 @@ function xmlsitemap_get_link_info($type = NULL, $reset = FALSE) {
...
@@ -752,7 +752,7 @@ function xmlsitemap_get_link_info($type = NULL, $reset = FALSE) {
if
(
!
isset
(
$link_info
))
{
if
(
!
isset
(
$link_info
))
{
$link_info
=
entity_get_info
();
$link_info
=
entity_get_info
();
foreach
(
$link_info
as
$key
=>
$info
)
{
foreach
(
$link_info
as
$key
=>
$info
)
{
if
(
empty
(
$info
[
'
path
callback'
])
||
!
isset
(
$info
[
'xmlsitemap'
]))
{
if
(
empty
(
$info
[
'
uri
callback'
])
||
!
isset
(
$info
[
'xmlsitemap'
]))
{
// Remove any non URL-able or XML sitemap un-supported entites.
// Remove any non URL-able or XML sitemap un-supported entites.
unset
(
$link_info
[
$key
]);
unset
(
$link_info
[
$key
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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