plugin.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | ?> |
| 8 | |
| 9 | <style> |
| 10 | #the-list tr[data-plugin='<?= $this->plugin_basename ?>']:not(.plugin-update-tr--message) th, |
| 11 | #the-list tr[data-plugin='<?= $this->plugin_basename ?>']:not(.plugin-update-tr--message) td { |
| 12 | box-shadow: none; |
| 13 | } |
| 14 | |
| 15 | <?php if ( $this->icon ) : ?> |
| 16 | |
| 17 | .plugins tr[data-plugin='<?= $this->plugin_basename ?>'] .update-message p:before { |
| 18 | content: "<?= $this->icon ?>"; |
| 19 | } |
| 20 | |
| 21 | <?php endif; ?> |
| 22 | </style> |
| 23 | |
| 24 | <tr class="plugin-update-tr plugin-update-tr--message <?= esc_attr( $this->status ) ?>" data-slug="<?= esc_attr( basename( $this->plugin_basename ) ) ?>" data-plugin="<?= esc_attr( $this->plugin_basename ) ?>"> |
| 25 | <td colspan="100%" class="plugin-update colspanchange"> |
| 26 | <div class="update-message notice notice-alt inline <?= esc_attr( $this->class ) ?>"> |
| 27 | <p><?= $this->message ?></p> |
| 28 | </div> |
| 29 | </td> |
| 30 | </tr> |