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

pymsrc attribute fixes #17

Merged
merged 1 commit into from
Mar 15, 2017
Merged

Conversation

lchheng
Copy link
Contributor

@lchheng lchheng commented Mar 10, 2017

Not sure why, but the pymsrc typo reappeared in fcb15b4. This fixes that again. This also checks if the attribute is empty. Otherwise, you get a Notice: Undefined index: pymsrc warning if there are multiple Pym shortcodes on a single page.

@benlk benlk requested review from benlk and rclations March 11, 2017 20:56
@benlk
Copy link
Collaborator

benlk commented Mar 11, 2017

Yep, looks like I botched the fix included in #13 when I made the merge commit: 0ed6a42#diff-c4e135a8ae2df878e74ea4ca3ca1cbc3R42

Thanks for this pull request, and for catching the Notice.

@rclations rclations merged commit 9034e0a into Automattic:master Mar 15, 2017
benlk added a commit that referenced this pull request Mar 15, 2017
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