Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Small changes to make plugin work with sf3 #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bassim
Copy link

@bassim bassim commented Mar 9, 2016

With backward compatibility

@@ -9,6 +9,7 @@ This is the Ekino Wordpress plugin to interact with Symfony.
1) Put the following lines at the beginning of your `wp-config.php` file, according to your project configuration:

```php
define('WP_SYMFONY_VERSION', 3.0);
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no need to use a constant. Just use the constant version defined in the Kernel class.

@bassim
Copy link
Author

bassim commented Mar 9, 2016

@rande Thanks for the suggestion, much cleaner!

@rande
Copy link
Contributor

rande commented Mar 9, 2016

@bassim Can you squash your commit ? Thanks

@bassim
Copy link
Author

bassim commented Mar 9, 2016

@rande I have to some more require_once's before I can evaluate AppKernel::MAJOR_VERSION actually, see:

bassim@5516afb

@hackzilla hackzilla mentioned this pull request Dec 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants