Monday, January 18, 2016

Wordpress Plugin Development

WP produces the following warning message upon plugin activation:
"The plugin generated ### characters of unexpected output during activation"

You can debug the actual characters by the help of this plugin:

If the characters prove to be whitespaces, make sure you have no whitespaces after the final ?> tag.

You can find all ?> tags by issuing:

grep "?>" -R .

1 comment:

  1. This comment has been removed by a blog administrator.


Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...