— Stephen Harris (@stephenharris88) Mai 14, 2012
This plugin lets users specify a unique autor description for each individual site in a network. It falls back to the description of the primary site when no specific description is set.
I spent the last two days migrating my WordPress Plugins and Themes (oh well, there is just one) to their own repositories on GitHub. This allows me to use the issue tracker to keep up with change requests and empowers other developers to contribute directly through pull requests.
I’ve reviewed quite a few Themes, since joining the WordPress Theme Review Team a month ago. There are a few issues that keep popping up, like the wrong use of the
the_title() template tag in link attributes. But I’m here to help, so let me show you how you can boost your code quality and make Theme Reviewer happy.
Suppose you’re coding your
index.php file and you’re about to link the post title to the post’s single view. You want to add a title attribute to the anchor tag, so visitors have an added value. l If you do it like this, you’re _doing_it_wrong():
<a href="" title="<?php the_title(); ?>"><?php the_title(); ?></a> <a href="" title="<?php echo esc_attr( the_title() ); ?>"><?php the_title(); ?></a> <a href="" title="<?php echo esc_attr( get_the_title() ); ?>"><?php the_title(); ?></a>
Themes are like a chalkboard. [One] can make a chalkboard that has a bunch of predefined spaces and colors and ways to fill it with things, but you still need to pick up that chalk and fill up the given space yourself.