Forums

WP_Query and pagename (1 post)

  1. osterday
    Member
    Posted 4 years ago #

    I'm using WP_Query and passing pagename as a parameter. If pagename doesn't exist the query results returns all the pages from the site. Is this a bug or is it suppose to work like this? I'd think that there would be no results if the pagename wasn't found.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.