Dashboard: Pending Review

WordPress 2.5 introduces a widgetized dashboard and some people had been wanting to see a list of all posts pending review on the dashboard, so I wrote this widget.

Download:

  • #1 written by Martin 
    about 1 year ago

    I love this Plugin ! Since WP 2.7 this is a must have. For WP2.7 you have to remove this line “extract( $args, EXTR_SKIP );” from dashboard-pending-review.php to work without errors. Don’t know what this do for but works fine without this line. Greetz from Germany.

  • #2 written by Tyler 
    about 1 year ago

    Thanks for this very useful plugin and thanks to Martin for the 2.7 fix.

    Cheers!

  • #3 written by Shuki Haiminis 
    about 1 year ago

    Thanks Viper007Bond for the plugin and thanks so much for the 2.7 fix Martin…..works like a charm.

  • #4 written by George Serradinho.com
    about 1 year ago

    Hi,

    I got the same error as Martin and then removed the line and all is working fine now.

  • #5 written by Juarez P. A. Filho 
    about 10 months ago

    Man… It’s plugin is simple and very nice. Any chance to generate a .pot file. I want to translate to pt_BR.

  • #6 written by Viper007Bond 
    about 10 months ago

    I’ve apparently had an updated version of this sitting on my computer for quite a while (rewritten for WordPress 2.7). I’ve committed it and included a translation template while was as it.

    If you send me the translation file, I’ll include it. :)

  • #7 written by Rsemeteys 
    about 7 months ago

    Nice plugin. Is it possible to extend it to Pages in pending review also?

  • #8 written by Jake 
    about 1 month ago

    Works great, but I do need it to display Pages pending review as well as just posts. Is that possible? Otherwise it’s no good because the pages will be forgotten…

  • #9 written by Viper007Bond 
    about 1 month ago

    In Reply To Jake:

    Edit the plugin and remove this line:

    'post_type' => 'post',
  • #10 written by Jake 
    about 1 month ago

    Thanks a lot for that tip – I’ll try it. Thanks for the quick response.

  • #11 written by Jake 
    about 1 month ago

    I’ve tried that, but it still just returns posts. I also tried changing ‘post’ into ‘page’, which does work, but (as you’d expect) only returns pages.

    What I’m after is an OR, but I’m not sure of the syntax. I tried

    'post_type' => 'post' || 'post_type' => 'page', 

    but that crashed the dashboard. Am I close?! Sorry to have to ask, but I’m at the limits of my coding knowledge here…! :-)

  • #12 written by Viper007Bond 
    about 1 month ago

    In Reply To Jake:

    Oh, try this:

    'post_type' => 'any',

    I guess it defaults to “post” if you don’t pass that parameter.

    I should just update my plugin to do this without any modifications.

  • #13 written by Nicolas Bouliane 
    about 2 weeks ago

    I’ve spent the last hour trying to make the translations work to no avail. I can assuredly tell you it doesn’t work.

  • #14 written by Nicolas Bouliane 
    about 2 weeks ago

    Alright, I’ve got things to work, but it wasn’t a bump-free ride.

    The .pot template is not up to date. I generated a .mo file from the .php page. One of the sentences was not translating because the line showing it was wrong.

    _e( 'There are no pending posts at the moment', 'dashboard-scheduled-posts' );

    had to be replaced by

    _e( 'There are no pending posts at the moment', 'dashboard-pending-review');
  • #15 written by Viper007Bond 
    about 2 weeks ago

    In Reply To Nicolas Bouliane:

    Heh, seems you found out what plugin I used as a base. ;)

    Thanks for catching that error.

If you wish to post code, write it like [code]blah[/code] so it will display properly.

Page generated with 16 queries in 0.26179 seconds ( 99.17% PHP, 0.83% MySQL )