Skip to content

Commit

Permalink
General: move VaultPress class to own file & add PHP53 shortcircuit (#16
Browse files Browse the repository at this point in the history
)

* General: move VaultPress class to own file & add PHP53 shortcircuit

Fixes #15

- Moving the main VaultPress class to its own class allows us to move all PHP 5.3+ code out of the plugin's entry point, vaultpress.php
- In that plugin's entry point, we now check the PHP version in use on the site, and pause the VaultPress plugin (i.e. stop loading it) if you are running an old version of PHP.

* Support WP 5.1- by not assuming wp_get_update_php_url exists

See Automattic/vaultpress#16 (comment)

* Display PHP version numbers in admin notice as well.

See Automattic/vaultpress#16 (comment)
  • Loading branch information
jeherve authored Jun 12, 2019
1 parent c1a0d32 commit 7e25ef4
Show file tree
Hide file tree
Showing 2 changed files with 2,852 additions and 2,777 deletions.
Loading

0 comments on commit 7e25ef4

Please sign in to comment.