kayue / KayueWordpressBundle

A Symfony 2 bundle for providing WordPress repositories and authenticating users (login).
101 stars 43 forks source link

Support WordPress 4 login cookie. #53

Closed kayue closed 9 years ago

barat commented 9 years ago

Does this be included in 1.2.* or we need to wait for 2.0 and versions 1.x will be compatible only up to WP3.9?

kayue commented 9 years ago

I will no longer update 1.x

Please use 2.0 for newer project, but it is lacking documentation at the moment ..

On Thursday, November 27, 2014, Bartosz Telesiński notifications@github.com wrote:

Does this be included in 1.2.* or we need to wait for 2.0 and versions 1.x will be compatible only up to WP3.9?

— Reply to this email directly or view it on GitHub https://github.com/kayue/KayueWordpressBundle/pull/53#issuecomment-64777972 .

barat commented 9 years ago

And doc update will come any soon? Are 1.2 and 2.0 same if we talking about installation/configuration and basic usage or there is something different?

kayue commented 9 years ago

Config is a bit different , renamed some twig functions, other than that it is the same.

I can try to update it this weekend.

On Thursday, November 27, 2014, Bartosz Telesiński notifications@github.com wrote:

And doc update will come any soon? Are 1.2 and 2.0 same if we talking about installation/configuration and basic usage or there is something different?

— Reply to this email directly or view it on GitHub https://github.com/kayue/KayueWordpressBundle/pull/53#issuecomment-64784191 .

barat commented 9 years ago

So I'll wait because switch from 1.2 to 2.0 is causing

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "entity_manager" under "kayue_wordpress"

kayue commented 9 years ago

@barat Updated the README. Hope it helps. I also started a symfony-wordpress-edition, it is a bit out dated but you can still use it as reference.

Sadly I probably won't have time to finish this PR any time soon because I am not using WordPress 4.0. The only thing left in this PR is the SessionTokenManager (ref), it is a new concept in WordPress and I don't understand how it works clearly...

Louis94 commented 9 years ago

@kayue what exactly is left to do? I would like to help if possible :)

kayue commented 9 years ago

@Louis94 Thanks for the offer. The SessionTokenManager class in this branch need to be complete. It is being used by WordpressCookieService class.

I don't have time to dig into WordPress 4's source code, it would be great if you can help complete it. Feel free to fork this branch. Thanks.

kayue commented 9 years ago

Reopened in https://github.com/kayue/KayueWordpressBundle/pull/63

Louis94 commented 9 years ago

@kayue Just saw your answer! I'll see what I can do :)