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
Bugs detected while creating WPML plugin definition files #1317
Conversation
…es while activating plugin
Hi @mkreckovic, thanks for the PR, it looks good to me overall. Two commits that will require more attention (cc @JanVoracek) are: |
Hi @mkreckovic, commit 44b5474 is related to following queries?
|
Copying relevant bits from conversation on Gitter: Marko Krečković @mkreckovic Feb 13 11:39 Marko Krečković @mkreckovic Feb 13 12:09 |
Yes @pavelevap , that's the query. |
@mkreckovic: as @pavelevap is reviewing the changes, it would be better to have them in separate PRs. Do you think you could re-submit as such? Sorry to bother you.. |
@mkreckovic Thanks for splitting this PR into separate ones. For reference, they are:
@pavelevap, could you please do the first round of reviews on those PRs and ask @JanVoracek for assistance where needed? Thanks! @mkreckovic Do you think we can close this PR? If everything has been transferred to the new PRs, feel free to do so. |
I am going through separate PRs and testing them, but one commit from this PR is missing: 44b5474 I tested it before and it did not fix my issue with multiple entities for @mkreckovic: This commit is no longer relevant or only misses its own PR? |
@pavelevap I reverted this commit because the problem is more complicated than I originally thought. When we have INSERT ... VALUES, WordPress really returns ID of the first inserted record for the firsId value, but if we have sometnig like VALUES (1, 'First'), (2, 'Second'), (3, 'Third') where 1, 2, and 3 are primary key field, then firstId returns last inserted record. |
I can explain every commit if needed.