You can have the same property several times for the same item (for example, to specify Schema.org’s name
in different languages). But note that Microdata doesn’t define what it should mean when there is the same property more than one time specified.
So something like this is totally fine:
<html itemscope itemtype="http://schema.org/WebPage">
<body>
<div itemprop="text">…</div>
<div itemprop="text">…</div>
</body>
</html>
(Note that there may be a problem with your specific example: Schema.org’s text
property expects Text, but you are using another item as value. It’s not forbidden, though.)
(Also note that the case matters, so it has to be http://schema.org/WPHeader
instead of http://schema.org/wpheader
. Same with http://schema.org/WebPage
.)