Advertisement
Guest User

error

a guest
Jul 19th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. if ( ! class_exists( 'WP_List_Table' ) )
  2. require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' )
  3.  
  4. .if ( ! class_exists( 'WP_List_Table' ) ) {
  5. /**
  6. * List table class for handling plugins.
  7. *
  8. * Extends the WP_List_Table class to provide a future-compatible
  9. * way of listing out all required/recommended plugins.
  10. *
  11. * Gives users an interface similar to the Plugin Administration
  12. * area with similar (albeit stripped down) capabilities.
  13. *
  14. * This class also allows for the bulk install of plugins.
  15. *
  16. * @since 2.2.0
  17. *
  18. * @package TGM-Plugin-Activation
  19. * @author Thomas Griffin <thomas@thomasgriffinmedia.com>
  20. * @author Gary Jones <gamajo@gamajo.com>
  21. */
  22. class TGMPA_List_Table extends WP_List_Table {
  23.  
  24. /**
  25. * References parent constructor and sets defaults for class.
  26. *
  27. * The constructor also grabs a copy of $instance from the TGMPA class
  28. * and stores it in the global object TGM_Plugin_Activation::$instance.
  29. *
  30. * @since 2.2.0
  31. *
  32. * @global unknown $status
  33. * @global string $page
  34. */
  35. public function __construct() {
  36.  
  37. global $status, $page;
  38.  
  39. parent::__construct(
  40. array(
  41. 'singular' => 'plugin',
  42. 'plural' => 'plugins',
  43. 'ajax' => false,
  44. )
  45. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement