[wp-trac] [WordPress Trac] #20053: Problem with Pages (not posts)
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 16 06:51:46 UTC 2012
#20053: Problem with Pages (not posts)
--------------------------+-----------------------------
Reporter: shopandstore | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Charset | Version: 3.3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
hello,
if i have a page(not post) on my site (named "WORD"),
i want the function to understand that value.
i use
$var = word; ///not a double quotation;
$var = strtoupper($var);
$_GET['page_id']=$var;
but it doesn't work. if my site has a page "word" (with lowercase), than
the function works. but i want
to get the uppercase value. i need this..
strtoupper(word); gives you = WORD,
but the whole function, which has
$_GET['page_id']=strtoupper(word);
can't find the page named mysite.com/WORD, but it searches again for the
page mystie.com/word" (with
lowercase).
everything works well for posts, but i want for pages..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20053>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list