-
Notifications
You must be signed in to change notification settings - Fork 182
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
Timeout issue with apply_filters('the_content', $content); #47
Comments
If I replace this:
With this:
it resolves the issue, but I need that content filtered. :) |
Just to confirm, do not get this issue when Page Builder is deactivated? On Monday, March 16, 2015, SteveS123 notifications@github.com wrote:
I make free WordPress themes |
That's right, if I have the Page Builder deactivated and paste my shortcode into the standard visual editor it works fine. The shortcode is custom coded, I've stripped everything out from it, the shortcode below exhibits the bug:
|
I can see how that would cause an infinite loop. I'll take a look at that One fairly simple fix would be to remove the Page Builder filters on On Monday, March 16, 2015, SteveS123 <notifications@github.com
I make free WordPress themes |
I don't suppose you could suggest a simple hack to work around this issue in the meantime? |
I had the same conflict between my plugin Modal -Portfolio and Page Builder. This is the alternative that works: The cause of this conflict is simple : it is not possible to use apply_filters function in another apply_filters function (already used by Page Builder). As apply_filters() function uses the wpautop() function to add line breaks, just use this function to solve the problem with any displaying function for the content. :-) Note: I'm French, sorry for my bad English ... |
Thanks for the input @Internet-Formation That's a good suggestion. @SteveS123 You can also take a look at the default-filters.php file and apply only the filters you need. Otherwise the editor will try to process your shortcode over and over again. Hope that helps. |
If I throw a shortcode in the Visual Editor, i.e.
And if I'm doing this with that shortcode's content:
The page time's out.
The text was updated successfully, but these errors were encountered: