Skip to content
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

Weighting inside admin #2326

Merged
merged 3 commits into from
Aug 25, 2021
Merged

Weighting inside admin #2326

merged 3 commits into from
Aug 25, 2021

Conversation

felipeelia
Copy link
Member

Description of the Change

This is a follow-up of #2267. Even with Protected Content enabled, weighting should be applied only on the front end.

Developers wanting to change that behavior can use this snippet:

add_filter(
	'ep_is_integrated_request',
	function( $is_integrated, $context ) {
		return ( 'weighting' === $context ) ? true : $is_integrated;
	},
	10,
	2
);

@felipeelia felipeelia added this to the 3.6.2 milestone Aug 25, 2021
@felipeelia felipeelia requested a review from JakePT August 25, 2021 13:45
@felipeelia felipeelia self-assigned this Aug 25, 2021
@Rahmon Rahmon merged commit 8b67773 into develop Aug 25, 2021
@Rahmon Rahmon deleted the fix/weighting-on-admin branch August 25, 2021 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants