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

Fix: install give pages on give_init #1850

Closed
wants to merge 1 commit into from

Conversation

ravinderk
Copy link
Collaborator

Description

This PR will resolve #1848

How Has This Been Tested?

By install give multiple time with WordPress SEO

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.


if( ! empty( $options ) ) {
$options = array_merge( give_get_settings(), $options );
give_update_option( 'give_settings', $options );
Copy link
Member

Choose a reason for hiding this comment

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

give_update_option('give_settings', $options ); results in values incorrectly being added to the top level array

2017-07-11_13-25-32

@DevinWalker
Copy link
Member

Closing in favor of #1852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants