File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,7 @@ private function is_notice_component( $component ) {
422422 */
423423 public function init () {
424424 require_once ABSPATH . 'wp-admin/includes/plugin.php ' ;
425+
425426 $ plugin = get_plugin_data ( CLDN_CORE );
426427 $ location = $ this ->locate_plugin ();
427428 $ this ->slug = ! empty ( $ plugin ['TextDomain ' ] ) ? $ plugin ['TextDomain ' ] : $ location ['dir_basename ' ];
Original file line number Diff line number Diff line change @@ -331,6 +331,8 @@ protected static function table_installed() {
331331 * Install our custom table.
332332 */
333333 public static function install () {
334+ // Ensure that the plugin bootstrap is loaded.
335+ get_plugin_instance ()->init ();
334336
335337 $ sql = self ::get_table_sql ();
336338
You can’t perform that action at this time.
0 commit comments