Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Filterable action priorities, WPLANG handling#1228

Merged
JanVoracek merged 4 commits intomasterfrom
1126-wplang
May 29, 2017
Merged

Filterable action priorities, WPLANG handling#1228
JanVoracek merged 4 commits intomasterfrom
1126-wplang

Conversation

@JanVoracek
Copy link
Copy Markdown
Contributor

@JanVoracek JanVoracek commented May 28, 2017

Resolves #1226 (WPLANG)
Resolves #1232 (dynamic action priorities)

There is a new filter called vp_action_priority_{$scope} by which we can dynamically change the priority.

@JanVoracek JanVoracek added this to the 4.0 milestone May 28, 2017
@JanVoracek JanVoracek self-assigned this May 28, 2017
@JanVoracek JanVoracek requested a review from borekb May 28, 2017 17:03
Copy link
Copy Markdown
Member

@borekb borekb left a comment

Choose a reason for hiding this comment

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

Filterable priorities, nice! Two comments:

  • Could we pass the whole entity to the filter, not just ID? Would be more flexible IMO.
  • This filtering should be mentioned in Plugin-Support.md.

@JanVoracek
Copy link
Copy Markdown
Contributor Author

@borekb I've changed the implementation. Can you review it now?

@JanVoracek JanVoracek merged commit e900860 into master May 29, 2017
@JanVoracek JanVoracek deleted the 1126-wplang branch May 29, 2017 17:50
@borekb borekb changed the title Custom WPLANG priority Filterable action priorities, WPLANG handling Jul 4, 2017
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