Skip to content

Load plugin during init face to prevent race conditions - #25

Closed
dryajov wants to merge 2 commits into
getherbert:devfrom
dryajov:dev
Closed

Load plugin during init face to prevent race conditions#25
dryajov wants to merge 2 commits into
getherbert:devfrom
dryajov:dev

Conversation

@dryajov

@dryajovdryajov commented Jun 7, 2016

Copy link
Copy Markdown

I was getting an NPE due to a null $wp_rewrite registering a page type. I think it makes sense to delay plugin bootstrap/registration to the init face when WP is initialized.

Unless I'm missing something, there also seems to be a bug in the way the shortcode callback is being invoked, since all the parameters are being merged into an array. Commit c5ae587 addresses that.

@dryajovdryajov changed the title Load plugin doring init face to prevent race conditionsLoad plugin during init face to prevent race conditionsJun 19, 2016
@dryajovdryajov mentioned this pull request Jun 19, 2016
@jeremyzahner

Copy link
Copy Markdown
Contributor

@dryajov could you pick up commit c5ae587 and put up a new pull request for that one?

@dryajovdryajov closed this Jun 25, 2016
@dryajov

dryajov commented Jun 25, 2016

Copy link
Copy Markdown
Author

@jeremyzahner I've opened two separate prs #27 and #28

Sign up for freeto 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.

2 participants

@dryajov@jeremyzahner