WordPress.org

Make WordPress Core

Ticket #13071: 13071.patch

File 13071.patch, 772 bytes (added by ocean90, 5 years ago)
  • src/wp-admin/includes/admin-filters.php

     
    9696add_action( 'profile_update', 'default_password_nag_edit_user', 10, 2 );
    9797
    9898// Update hooks.
    99 add_action( 'admin_init', 'wp_plugin_update_rows' );
    100 add_action( 'admin_init', 'wp_theme_update_rows'  );
     99add_action( 'load-plugins.php', 'wp_plugin_update_rows', 20 ); // After wp_update_plugins() is called.
     100add_action( 'load-themes.php', 'wp_theme_update_rows', 20 ); // After wp_update_themes() is called.
    101101
    102102add_action( 'admin_notices', 'update_nag',      3  );
    103103add_action( 'admin_notices', 'maintenance_nag', 10 );