WordPress.org

Ready to get started?Download WordPress

Forums

editnew.php isn't same as edit.php (3 posts)

  1. RobotHero
    Member
    Posted 9 years ago #

    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?

  2. Kafkaesqui

    Posted 9 years ago #

    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.

  3. RobotHero
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.