WordPress.org

Forums

Revisionary
Revisions no longer showing in 3.8.1 At A Glance (3 posts)

  1. donnytree
    Member
    Posted 1 year ago #

    Hello,

    I no longer see the Pending count for Posts and Pages in the new WP 3.8.1 dashboard view, now called At A Glance.

    I found this code:

    // Add custom taxonomies and custom post types counts to dashboard
    add_action( 'dashboard_glance_items', 'my_add_cpt_to_dashboard' );

    But I can't find the right hook for pending revisions for both Posts and Pages, any help would be greatly appreciated.

    Thank you in advance,
    Donna

    https://wordpress.org/plugins/revisionary/

  2. tsdexter
    Member
    Posted 1 year ago #

    Adding this line to your functions.php should work (or you can add it to the file admin-dashboard_rvy.php if you want to modify the plugin directly).

    add_action ( 'dashboard_glance_items', 'rvy_right_now_pending' );

    Revisionary already has a function to output the pending pages/posts you just need to call that function on the new "dashboard_glance_items" action.

    I can't verify this works because I have Press Permit installed which runs its own function to output the pending pages overriding Revisionary but the same line substituting the function call for the press permit one works for my press permit install.

    add_action ( 'dashboard_glance_items', '_ppce_right_now_pending' );

  3. donnytree
    Member
    Posted 1 year ago #

    Thanks so much tsdexter! I added it to my functions.php (and actually saw that it was already in the admin-dashboard_rvy.php file), but they're still not showing...all I see are Posts, Pages, and Comments. Thank you though, seems like it should be working?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Revisionary
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic