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

Prevent issues with ACF time picker #111

Merged
merged 6 commits into from
Apr 24, 2020

Conversation

machouinard
Copy link
Contributor

Hooking tsml_assets() to admin_print_scripts allows us to check $post_type and only enqueue tsml assets for tsml_meeting post type. Appears to not negatively affect other calls to tsml_assets().

Also:
Prevent PHP undefined index notice.
Use $group->post_title instead of undefined $title for ajax tokens.

Signed-off-by: Mark Chouinard <[email protected]>
$title undefined

Signed-off-by: Mark Chouinard <[email protected]>
Signed-off-by: Mark Chouinard <[email protected]>
@joshreisner
Copy link
Contributor

Looks good to me, thanks @machouinard !

@joshreisner joshreisner merged commit a611e4d into code4recovery:master Apr 24, 2020
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.

3 participants