Monthly Archives: January 2010

Andrew Ozz (azaozz)

Name: Andrew Ozz Profile: Andrew Ozz on WordPress.org Nick: azaozz IRC: azaozz Trac: azaozz Aka: Mr. Visual Editor Commit Access: ca. 2008-07-15 Topics: Visual Editor / TinyMCE References Homepage: LaptopTips.ca – Website run by Andrew Ozz Blog: Andrew Ozz on WordPress Interview … Continue reading

Posted in Persona, WordPress Persona | Tagged , , , , , , | Leave a comment

WPDB include problems in wordpress 3.0

From time to time my brain remembers me that there is a major bug within wordpress in case of the re-instantiation of the wordpress database class. When a replacement class is in use, the original WPDB one will get re-created … Continue reading

Posted in Hacking The Core | Tagged , , , , , , | 4 Comments

Enhancing Feeds: Show your Name with Feedname

By default the feed contains the name of your blog as each entries author and that’s it. If you want to personalize your feed for example with the author’s name of a certain entry in a feed there is a … Continue reading

Posted in Enhancing Feeds, Plugin Plugout | Tagged , , , , , | Leave a comment

Coding Standards Summary of the last Week

The last week gave us some more feedback regarding the wordpress coding standard. In general the current standards seems accepted, but some areas were highlighted in comments where problems might arise with the current definition (this list is also a … Continue reading

Posted in Hacking The Core | Tagged , , , , , , | 4 Comments

Enhancing Feeds: Limiting the Comments Feed

In a recent ticket (#7092), redsweater was asking for a missing feature: A separate setting for limiting the numbers of comments in the comments feed. He drives multiple sites that have such a high user traffic which results in soo … Continue reading

Posted in Enhancing Feeds, Plugin Plugout | Tagged , , , , , , , | Leave a comment

Enhancing Feeds: Technorati Full Feeds

I’m starting a new series. I will call it enhancing feeds. Feeds are an important cornerstone in web publishing these days and WordPress has it’s part in it. But from time to time you can not do want you might … Continue reading

Posted in Enhancing Feeds, Plugin Plugout | Tagged , , , , | Leave a comment

Twig PHP template

Marketing is often referred to black magic. Looks like within the PHP Community some coders know how to deal properly with it when you see this list of adjectives for the Twig template language (isn’t that a template engine?): Twig, … Continue reading

Posted in PHP Template Language, Pressed, Tools | Tagged , , , , , , , , | 3 Comments

Relative URL (#2) HTML/ XHTML Code Smell

Just yesterday I had a post about the dot in the beginning of relative URLs. Today I have a small addition to that: Two dot path segments in an URL/URI. It’s some more detailed thing related to the history and … Continue reading

Posted in Code Smells, HTML/CSS Code Smells | Tagged , , , , , , , , | Leave a comment

Relative URL HTML/ XHTML Code Smell

Another one for the HTML/ XHTML Code Smells: If you’re using realtive URLs inside your documents (which is pretty valid and can save you some bandwidth as well as it can save some hassles for mirroring a website) you should … Continue reading

Posted in Code Smells, Hakre's Tips, HTML/CSS Code Smells, Patched, Pressed | Tagged , , , , , , , , | 1 Comment

Wiki for Documentation

I must admit that I really like the Idea behind wikis and I think those are great for documentation. In WordPress we currently have the Codex which is a Mediawiki. It’s not that well configured for day to day use … Continue reading

Posted in Hakre's Tips | Tagged , , , , , , , | Leave a comment

Helium CSS: JavaScript Library to test your CSS usage

All those CSS lines still in use? I’m asking this to myself from time to time when dealing with older sites that evolved over the years. Going through by hand and then? No way Helium CSS to the rescue!. It … Continue reading

Posted in Hakre's Tips, Tools | Tagged , , , , | Leave a comment

CSS Tests and Cheatsheets

Are you sure that selector is working? Better target your audience of browsers by checking some CSS-Tests first. I compiled a little list as of a start: Cheat Sheet / Overview CSS contents and browser compatibility – Quirksmode compatibility tables. … Continue reading

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

Script and Style HTML/ XHTML Code Smells

Remember the time? Grabbing the copy of the HTML 2 RFC, reading through within the afternoon and you started to understand where this all might lead to after some time.  Seeing 3.2, 4.1 and XHTML 1.0 passing this finally ended up … Continue reading

Posted in Code Smells, Hacking The Core, Hakre's Tips, HTML/CSS Code Smells | Tagged , , , , , , , , , , | 2 Comments

WordPress Coding Standards – How to go on?

I would love to see that we make our developer’s lives easier while doing WordPress. One step to do so is to offer a clear coding styleguide and to apply it on the codebase. Because for most of the code … Continue reading

Posted in Hacking The Core | Tagged , , , , , , , | 23 Comments

FluentDOM

Keep the fluent flow: From time to time you find exceptional libraries out there. This posting is about one I got pointed with the finger on while being on a PHP unconf last year and I must admit that I … Continue reading

Posted in Hakre's Tips, Tools | Tagged , , , , , | 6 Comments

mysql_real_escape_string and SET NAMES

In #11819 I was so hardly looking for a clear documentation for mysql_real_escape_string() combined with the usage of SET NAMES. I finally found it where I should have looked first: within the MySQL manual. PHP is using the MySQL client library … Continue reading

Posted in Hacking The Core | Tagged , , , , , , | Leave a comment

Bugrate

You know the feeling? You join the dev-channel, grab yourself a ticket in trac and start to reproduce. And while reproduceable you analyze what’s the root of the bug.  But while digging through core-code you stumble over multiple areas you think … Continue reading

Posted in Hacking The Core | Tagged , , , , , | 5 Comments

End.

Finally I come to an end: The good thing about reading source-code written by others is that you can learn something. That can be things to do or to prevent. And sometimes you find something new. I did this week, … Continue reading

Posted in Pressed, The Know Your Language Department | Tagged | Leave a comment

Autolang for Gettext

Just give your gettext based translations a kickstart and do automatic translations with Autolang for Gettext. Michael Grosser describes the basics of his tool on this blog post. Via: My Pragmatig life

Posted in Pressed | Tagged , , | Leave a comment

Open Ticket Timeline

To give you an image: I collected some statistical data and built a nice picture of it. It contains the number of open tickets in the WordPress Bugtracker: There is plenty of room for interpretation, for example how new UserInterfaces … Continue reading

Posted in Pressed | Tagged , , , , | 12 Comments