• Let’s say I’ve duplicated the edit.php file, and named the new file editnew.php.

    When I go to edit.php, it lists all of my posts. When I go to editnew.php, it only lists the ones in the past.

    Both files are exactly the same.

    What is causing the difference in behaviour?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I assume you won’t take “I don’t know” for an answer?

    Though I can’t point to the components in the source handling this, functionality in WordPress’ admin pages revolves around the name of the file, to a degree. In part this is a requirement for accessibility to plugins providing admin features.

    Thread Starter RobotHero

    (@robothero)

    wp-blog-header.php seemed a likely source for the difference, because that’s where $posts gets filled.

    But the only mention of ‘edit.php’ it contains is about gzipcompression, which doesn’t seem relevant.

    I also tried admin-functions.php, functions-post.php, and a few others, and didn’t see anything that looked like it would account for the difference.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘editnew.php isn’t same as edit.php’ is closed to new replies.