Skip to content

Check wpseo_use_page_analysis before calculate#7

Closed
sc0ttkclark wants to merge 4 commits intoYoast:masterfrom
sc0ttkclark:patch-1
Closed

Check wpseo_use_page_analysis before calculate#7
sc0ttkclark wants to merge 4 commits intoYoast:masterfrom
sc0ttkclark:patch-1

Conversation

@sc0ttkclark
Copy link
Copy Markdown

When saving, PHP fatals out when calculate_results tries to call 'Yoast_TextStatistics' but it doesn't exist, because wpseo_use_page_analysis has disabled it.

This extra check avoids running the page analysis related functionality during save / etc, which is where it fatals out.

When saving, PHP fatals out when calculate_results tries to call 'Yoast_TextStatistics' but it doesn't exist, because wpseo_use_page_analysis has disabled it.

This extra check avoids running the page analysis related functionality during save / etc, which is where it fatals out.
@jdevalk
Copy link
Copy Markdown
Contributor

jdevalk commented May 7, 2013

Could you check this against trunk? We just updated :-)

@sc0ttkclark
Copy link
Copy Markdown
Author

Updated

@ghost ghost assigned echoLP May 14, 2013
@echoLP echoLP closed this in 082a151 Jun 7, 2013
barrykooij added a commit that referenced this pull request Jan 29, 2014
@Amon001 Amon001 mentioned this pull request Jul 15, 2014
@Rahe Rahe mentioned this pull request Apr 22, 2016
@awemous awemous mentioned this pull request May 10, 2019
4 tasks
maartenleenders added a commit that referenced this pull request Jan 15, 2020
pull from yoast
@Rabh013 Rabh013 mentioned this pull request Mar 21, 2020
@sowon27 sowon27 mentioned this pull request Jul 28, 2020
9 tasks
hansjovis pushed a commit that referenced this pull request Nov 21, 2022
hansjovis pushed a commit that referenced this pull request Nov 21, 2022
Added the setting up integration tests docs
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.

3 participants