Make WordPress Core

Ticket #17451: after_updates_row.diff

File after_updates_row.diff, 1.2 KB (added by dempsey, 14 years ago)

Proposed patch.

  • wp-admin/update-core.php

     
    244244                <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th>
    245245                <td><strong>{$plugin_data->Name}</strong><br />" . sprintf(__('You have version %1$s installed. Update to %2$s.'), $plugin_data->Version, $plugin_data->update->new_version) . $compat . $upgrade_notice . "</td>
    246246        </tr>";
     247       
     248                do_action( 'after_plugin_updates_row', $plugin_file, $plugin_data );
    247249        }
    248250?>
    249251        </tbody>
     
    294296                <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($stylesheet) . "' /></th>
    295297                <td class='plugin-title'><img src='$screenshot' width='64' height='64' style='float:left; padding: 5px' /><strong>{$theme_data->Name}</strong>" .  sprintf(__('You have version %1$s installed. Update to %2$s.'), $theme_data->Version, $theme_data->update['new_version']) . "</td>
    296298        </tr>";
     299       
     300                do_action( 'after_theme_updates_row', $theme_data->Name, $theme_data );
    297301        }
    298302?>
    299303        </tbody>