Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Admin Style Plugin appearing in Plugin Markup for Wordpress

I'm following the Wordpress Plugins course. I'm guessing the process as changed al ittle bit as Wordpress versions have moved on so I'm adapting a little bit but I keep seeing the wordpress_admin_style function in the code.

But I wondered if this might be the Admin Styles plugin doing some of the work here or if its just a difference here between 3.6 and Wordpress 4.2.2.

Thanks.

<table class="form-table">
    <tr>
        <th class="row-title"><?php esc_attr_e( 'Table header cell #1', 'wp_admin_style' ); ?></th>
        <th><?php esc_attr_e( 'Table header cell #2', 'wp_admin_style' ); ?></th>
    </tr>
    <tr valign="top">
        <td scope="row"><label for="tablecell"><?php esc_attr_e(
                    'Table data cell #1, with label', 'wp_admin_style'
                ); ?></label></td>
        <td><?php esc_attr_e( 'Table Cell #2', 'wp_admin_style' ); ?></td>
    </tr>
    <tr valign="top" class="alternate">
        <td scope="row"><label for="tablecell"><?php esc_attr_e(
                    'Table Cell #3, with label and class', 'wp_admin_style'
                ); ?> <code>alternate</code></label></td>
        <td><?php esc_attr_e( 'Table Cell #4', 'wp_admin_style' ); ?></td>
    </tr>
    <tr valign="top">
        <td scope="row"><label for="tablecell"><?php esc_attr_e(
                    'Table Cell #5, with label', 'wp_admin_style'
                ); ?></label></td>
        <td><?php esc_attr_e( 'Table Cell #6', 'wp_admin_style' ); ?></td>
    </tr>
</table>