WordPress.org

Support

Support » Plugins and Hacks » Revisions no longer showing in 3.8.1 At A Glance

Revisions no longer showing in 3.8.1 At A Glance

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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' );

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Revisions no longer showing in 3.8.1 At A Glance’ is closed to new replies.