Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General: revert to using a big entry file, with only the Logo moved to a different file #57

Merged
merged 2 commits into from
Jul 12, 2019

Conversation

jeherve
Copy link
Member

@jeherve jeherve commented Jul 12, 2019

This PR partially reverts #16; it moves the VaultPress class back to main plugin file. It also moves the Jetpack Logo (which relies on a Composer package and is loaded using PHP5.3+ syntax) to its own file, so the main entry file does not include any PHP5.3+ syntax that would cause fatals on sites running PHP 5.2 (as pointed out in #15).

To test

Load the VaultPress dashboard. The logo should appear in the footer, without any errors.

jeherve added 2 commits July 12, 2019 13:48
This will avoid us using PHP5.3+ syntax in the plugin's entry file,
thus not fataling PHP 5.2 sites.
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 5670 lines exceeds the maximum allowed for the inline comments feature.

@jeherve jeherve merged commit 9e845e3 into master Jul 12, 2019
@jeherve jeherve deleted the update/move-only-logo branch July 12, 2019 13:33
jeherve added a commit that referenced this pull request Jul 12, 2019
* General: move VaultPress class back to main plugin file

Partially reverts #16

* Logo: move to separate file.

This will avoid us using PHP5.3+ syntax in the plugin's entry file,
thus not fataling PHP 5.2 sites.
@jeherve
Copy link
Member Author

jeherve commented Jul 12, 2019

Cherry-picked to release/2.0 in bbf5cc4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants