pageMash, Trash, Auto Draft and WordPress 3.0

I’m a huge fan of the pageMash plugin, it makes managing page hierarchy super easy. Unfortunately the plugin hasn’t seen an official update since February 20th 2009. The first problem I noticed with the plugin was the introduction of the “Trash” status. pageMash would include this status as a normal published page. A bit of a disappointment but the plugin still did what it was supposed to, so I didn’t worry about it too much.

While working with WordPress 3.0 and attempting to install pageMash, I was met with the following message:

Plugin could not be activated because it generated 272 characters of unexpected output.

Disabling debugging will fix this, but the Trash & Auto Draft status bugs are still annoying. I made some very minor modifications to pagemash.php, download the file and replace the original. Both status bugs and all warnings should now be fixed. Hooray!

Download an updated pagemash.php


  • May 13th 2010 – Changed required permission level to allow editors to use pagemash

18 Responses to pageMash, Trash, Auto Draft and WordPress 3.0

  1. March 26, 2010 Dainis W. Michel

    Wow, thanks for doing this…whew! The only thing is, it’s hiding the pages, but it’s not ordering them as specified.

    I’m on WP 2.9.2 … fresh install…rebuilding my site.

    How do I get the page order to click in?


    • March 26, 2010 mcinvale

      I didn’t touch the queries that order pages. They should be displayed in menu order.

  2. April 8, 2010 Dainis W. Michel

    Well, I’m goofing around with a silly website and for some reason, even with the new pagemash.php in WP 2.9.2, I’m not getting pagemash to work. Ugh, cuz I need to upgrade some of my real sites like

  3. June 18, 2010 Elliott Cunningham

    Thanks that worked and fixed the Phantom wordpress auto draft pages from showing up.

  4. July 22, 2010 Deryk Wenaus

    love this! thanks. I was going to do it myself, but you’ve already done it! hopefully the developer integrates the work you’ve done. thanks 🙂

  5. Pingback TGM | The Geek Mythologies | WordCamp Update

  6. August 21, 2010 Sebastian

    thank you very much for kindly sharing! 🙂

  7. August 26, 2010 Rob Gundling

    Awesome… seems to fix problem with PageMash on WordPress 3.0.1 as well.

    Thanks for sharing!

  8. February 9, 2011 Nick

    Noticing the following with WordPress 3.0.5 – maybe the updat broke it somehow?
    `Error: Update Timeout`

    • February 9, 2011 Matt McInvale

      Just upgraded this site to 3.0.5, appears to be working normally for me.

  9. February 9, 2011 Nick

    It seems to work partially but won’t make child pages. so despite giving the error it updates within heirachy.

    • February 9, 2011 Matt McInvale

      Very interesting. Are you receiving any JavaScript errors? What other plugins are you running?

  10. February 9, 2011 Nick

    ah slow database problem, increased the timeout in pagemash.js to 28 seconds and that got it working!

  11. March 1, 2011 Carl

    Not wokring with WP 3.1

    • March 1, 2011 Matt McInvale

      What isn’t working for you? We’re running 3.1 on this site and it’s working for me without issue.

  12. May 3, 2011 Giovanni ~ Quacos

    I tried to apply the same patch to pagemash “twin”, i.e. PostMash. Thank you very much for this job!

    • May 5, 2011 Nick

      How did you get on?

  13. Pingback WordCamp San Diego: WordPress as a CMS | BinaryM Inc.