Skip to content

bobbingwide/dinlo

Repository files navigation

dinlo

banner

Description

The world's worst Hello World plugin.

This plugin was used in a video demonstrating the

oik-bwtrace - debug trace for WordPress plugin

If you want to learn about oik-bwtrace then you might be tempted to download and install this plugin.

Every developer needs a play area. Why not start with this one? And mess around with it to your heart's content.

PS. If you're intent on using dinlo to test new solutions to problems you might want to fix the dinlo_update_footer() filter function.

And you might want to create PHPUnit tests for it too.

Installation

Before using dinlo you'll need to obtain and activate the oik-bwtrace plugin. oik-bwtrace

  1. Upload the contents of the dinlo plugin to the `/wp-content/plugins/dinlo' directory
  2. Activate the dinlo plugin through the 'Plugins' menu in WordPress.
  3. Have fun debugging.

Frequently Asked Questions

What's dinlo?

Dinlo is a word that was commonly used in Portsmouth, Hampshire, England.

You can read about it and other words regularly used in Pompey here http://www.portsmouthsociety.org.uk/news2003/pompeyspeakcomments.htm#L004

PS. In the Bluebell Pub in Emsworth there's a map of Pompey where are the road names are replaced by Pompey speak. Check it out.

Why do I need oik-bwtrace?

Because WordPress doesn't provide dormant trace functions. See TRAC #33740.

Try running dinlo without oik-bwtrace and see what I mean.

  • At some point you'll get a Fatal error: Call to undefined function bw_trace2()

Screenshots

  1. Output when dinlo_am() is hooked up to respond to the "admin_menu" action hook

Upgrade Notice

0.0.3

Tested with WordPress 4.6... but we know there's some bugs. They're intentional. And there's a useless PHPUnit test too.

0.0.2

Tested with WordPress 4.5

0.0.1

First version to complement the video.

Changelog

0.0.3

  • Tested: With WordPress 4.6.
  • Added: Useless PHPUnit test

0.0.2

  • Tested: With WordPress 4.5

0.0.1

  • Added: New plugin

About

the world's worst Hello World WordPress plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages