[wp-trac] [WordPress Trac] #31957: query fails, when post is queried under specific name
WordPress Trac
noreply at wordpress.org
Mon Apr 13 07:33:14 UTC 2015
#31957: query fails, when post is queried under specific name
--------------------------+------------------------------
Reporter: selnomeria | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by selnomeria):
sorry, same problem for 'pages' ,not only posts.. so, the same custom
query is needed---
{{{
$page=get_page_by_path(...., ..., 'page');
if ($page) ....
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31957#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list