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