Shaun Scovil

Beverly, MA

shaunscovil.com

Age: 34

Problem solver. Innovator. Nerd-to-English translator. WordPress evangelist & aspiring core contributor.

Proud BUILD.org Mentor: Every week, I volunteer 5 hours to help disadvantaged and disengaged high school students start their own businesses and get into college. We could use your support! Check out http://www.firstgiving.com/fundraiser/sscovil/up

Apr
26
awarded Notable Question
Mar
6
awarded Popular Question
Dec
28
awarded Autobiographer
Dec
28
awarded Autobiographer
Dec
28
comment How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
I've reported this as a bug, because a plugin should be able to clean up after itself when uninstalled: core.trac.wordpress.org/ticket/23069
Dec
27
comment How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
No fatal error. If I do a var_dump on $terms, I get this: object(WP_Error)#246 (2) { ["errors"]=> array(1) { ["invalid_taxonomy"]=> array(1) { [0]=> string(16) "Invalid taxonomy" } } ["error_data"]=> array(0) { } } object(WP_Error)#248 (2) { ["errors"]=> array(1) { ["invalid_taxonomy"]=> array(1) { [0]=> string(16) "Invalid taxonomy" } } ["error_data"]=> array(0) { } }
Dec
27
comment How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
Yeah...I see what you mean. It looks like there's more to removing a taxonomy than just unsetting it. That said, I still would love to know how to remove taxonomy terms during the uninstall.php process.
Dec
27
comment How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
Thanks for the quick response! I'm actually putting this in the uninstall.php file, so it should behave the same as using register_uninstall_hook. Regarding the class loading twice question, I already resolved that...see my edit above. Thanks again!
Dec
27
awarded Editor
Dec
27
revised How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
added 193 characters in body
Dec
27
awarded Commentator
Dec
27
comment How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
PS: I'm surprised WP doesn't have a built-in function like this. It would give plugin developers a universal way of cleaning up after themselves...
Dec
27
asked How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
Dec
10
asked How do I assign an href value to a custom TinyMCE button in WordPress?
Aug
3
answered How can I make the boostrap js carousel automatically cycle as soon as the page loads?
Jul
23
comment JavaScript / jQuery: Update HTML on select list change
Thank you! Also, I forgot that I had renamed the multiplier variable, as Sergey pointed out...
Jul
23
comment JavaScript / jQuery: Update HTML on select list change
Awesome, thank you!
Jul
23
accepted JavaScript / jQuery: Update HTML on select list change
Jul
23
asked JavaScript / jQuery: Update HTML on select list change
Jul
3
comment PHP: How to turn a string that contains an array expression in an actual array?
This worked out great, thank you! I'm still trying to wrap my mind around recursive functions, but once I figure that out I will post my full solution for others...
1 2 3 4 5