Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33272


Ignore:
Timestamp:
08/05/2015 11:10:11 AM (11 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33272

    • Property Component changed from General to Posts, Post Types
  • Ticket #33272 – Description

    initial v1  
    33When I add few pages with same title like I am adding (My Page, My Page, My Page, My Page) 4 times. Pretty permalink is enabled and their IDs are (1, 3, 5, 7). Their slugs are (my-page, my-page2, my-page3, my-page4). All pages are published.
    44
    5  I am using WordPress function get_page_link(5). It always returned link of first page with ID 1. Why is this happening.. One more thing I opened page 5 in browser like http://localhost/my-page3/ When I click on Edit Page at top in Admin bar it always goes to edit 1 not 5.
     5I am using WordPress function get_page_link(5). It always returned link of first page with ID 1. Why is this happening.. One more thing I opened page 5 in browser like http://localhost/my-page3/ When I click on Edit Page at top in Admin bar it always goes to edit 1 not 5.
    66
    77I am testing all this with latest version of WordPress 4.2.4.