Tag Archives: wordpress

WikiCite 2017

(Firefox asked me to rate it this morning, with a little picture of a broken heart and five stars to select from. I gave it five (’cause it’s brilliant) and then it sent me to a survey on mozilla.com titled … Continue reading

Posted in Open content, Programming | Tagged , , , , , , , | Leave a comment

Tabulate 2.9.0

It turned out to be simpler than I’d thought to add the ENUM-modifying feature to Tabulate’s schema editor, so I’ve done it and released version 2.9.0.

Posted in Programming | Tagged , | Leave a comment

Should Tabulate support ENUM columns?

I’m trying to figure out if it’s worthwhile adding better support for enumerated fields in Tabulate. MySQL’s ENUM type is useful when one has an immutable list of options such as days of the week, seasons of the year, planets … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Returning (again) to WordPress

Every few years I try to move my blog away from WordPress. I tried again earlier this year, but here I am back in WordPress before even a month has gone by! Basically, nothing is as conducive to writing for … Continue reading

Posted in Open content | Tagged , | 1 Comment

Abandoned code projects

One of the sad things about open source software is the process of working on some code, feeling like it’s going somewhere good and is useful to people, but then at some point having to abandon it. Normally just because … Continue reading

Posted in Programming | Tagged , , , , , , | Leave a comment

Running tests on WordPress coding standards

The docs for WordPress-Coding-Standards assume that one is installing things globally, but I don’t like my hacking on phpcs to break my usage of it elsewhere, so I wanted to cordon things off in their own little dev area. This … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Spaces around dots

One of the first odd things that one finds when starting to work with WordPress code is the excessive use of spaces. Something like: do_something(‘Words of ‘.$widget->noun($attrs[‘ish’])); becomes the the stretched out: do_something( ‘Words of ‘ . $widget->noun( $attrs[‘ish’] ) … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Uninstalling WordPress plugins in PHPunit

There’s a problem with uninstalling Tabulate. Fatal error: Class ‘WordPress\Tabulate\DB\Grants’ not found in C:\work\public_html\wp\stage\wp-content\plugins\tabulate\uninstall.php on line 8 The uninstall.php file shouldn’t know anything about the actual plugin. It shouldn’t use any classes or functions from the plugin itself. This problem … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Tabulate: export not-found values

I’ve just added a new feature to Tabulate, that allows for the exporting (to CSV) of the set of filter values (for multi-valued filters) that are not found in the data. It also now tells you, next to each multi-valued … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Be careful with GET parameter names in WordPress

I’ve been getting confused about why an HTML form I’ve been building inside a WordPress shortcode has been getting redirected after submission. Turns out it was because I was using p as a name for a request variable, and that’s … Continue reading

Posted in Programming | Tagged , , | Leave a comment