first test id from post
This commit is contained in:
parent
82f9acd658
commit
aa8ac9cfcb
@ -153,6 +153,8 @@ class WPMenu:
|
|||||||
self._logger.info("{0} link {1} title {2}".format(self._name, link, title))
|
self._logger.info("{0} link {1} title {2}".format(self._name, link, title))
|
||||||
if link == "index.html":
|
if link == "index.html":
|
||||||
idMenu = self._getId(title)
|
idMenu = self._getId(title)
|
||||||
|
else:
|
||||||
|
idMenu = self._getIdFromPost(href)
|
||||||
|
|
||||||
return idMenu
|
return idMenu
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user