This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Delete install table class and move install table back into main plugin file #7
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove table install class, first steps to move the table install back into the main plugin file.
Revert register_activation_hook within a register_activation_hook and move the install table class back into the main plugin file.
boogah
suggested changes
Dec 13, 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spacing in the ported over install_tables()
code is inconsistent (mix of spaces and tabs) and the closing bracket on line 99 appears to be superfluous due to the copy/paste performed here.
Fix spaces and tabs on the code taken from `class-wc-custom-order-table-install.php`.
Fixed the issues with the spaces and the tabs, my mistake for not catching that. |
Will revert changes and use a constructor similar to how WooCommerce does and then have the installer class to be called statically. |
Revert first of the previous changes made.
Remove order table install code from the main plugin file and restore register_activation_hook.
Reverted the previous changes to a clean slate for making the necessary changes needed. |
Closed due to #9. |
stevegrunwell
pushed a commit
that referenced
this pull request
May 23, 2018
Access data store through get method on WC data class
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Deleted the install table class
class-wc-custom-order-table-install.php
and moved the class code back into the mainwc-custom-order-table.php
file.