[wp-trac] [WordPress Trac] #11469: Additional Admin UI hooks / filters
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 3 04:35:22 UTC 2010
#11469: Additional Admin UI hooks / filters
----------------------------+-----------------------------------------------
Reporter: johnl1479 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------------------------
Comment(by nacin):
I think azaozz meant that the three elements could be added to a single
meta box.
Also, what I meant by single quotes is:
{{{
$titlediv = "<div id='titlewrap'>";
$titlediv .= "\t<label class='screen-reader-text' for='title'>" .
__('Title') . "</label>";
$titlediv .= "\t<input type='text' name='post_title' size='30'
tabindex='1' value='" . esc_attr( htmlspecialchars( $post->post_title ) )
. "' id='title' autocomplete='off' />";
$titlediv .= "</div>";
}}}
Or reversed, using double quotes for HTML attributes, and single quotes
for PHP strings. Both ways are acceptable WP coding standards.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11469#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list