Tag Archives: Classes

WordPress Functions 2.9

A plugin searched 252 PHP files, of which 161 contained classes and functions, and found 174 classes and 3,677 functions. WordPress version 2.9 no longer has these 7 files: wp-admin/edit-form-advanced.php wp-admin/edit-link-form.php wp-admin/edit-page-form.php wp-admin/import/btt.php wp-admin/import/jkw.php wp-includes/gettext.php wp-includes/streams.php and now has these files: wp-admin/includes/image-edit.php wp-admin/includes/meta-boxes.php wp-includes/class-json.php wp-includes/class-oembed.php wp-includes/default-embeds.php wp-includes/meta.php wp-includes/post-thumbnail-template.php Many previously existing files have a new [...]

WordPress and it's Coding Standards

WordPress has guidelines for coding style, WordPress Coding Standards. Unfortunately, even WordPress Core files do not always follow these guidelines. To be fair, as my coding skills have progressed, the code in my many files varies in style too, so I can understand how the code of different authors would vary. But this has presented [...]

bbPress Reference Lists

The lists of bbPress 1.0 Constants, Classes and Functions, 1.0 Actions and Filters and 1.0 Actions and Filters (refined list) were made using a plugin that relies upon regex matching a somewhat consistent coding style. As such, some may be missing from the lists. If you know of any bbPress Core constants, classes, functions, actions, [...]

WordPress Functions 2.8

WordPress version 2.8 brings quite a few changes, including the use of SimplePie and a new Widgets API. The plugin searched 242 249* PHP files (17 24 more than 2.7), of which 155 161* contained classes and functions (13 19 more than 2.7), and found 107 164* classes (36 93 more than 2.7) and 2,944 [...]

WordPress Functions 2.7

While doing some work involving the taxonomy.php file, I noticed a function that's name begins with an ampersand. Because the regular expression I was using looked for "word" characters, which doesn't include an ampersand, this function was not found by my plugin. Originally the plugin searched 225 PHP files, of which 142 contained classes and [...]