~canonical-sysadmins/wordpress/4.2.4

« back to all changes in this revision

Viewing changes to wp-admin/includes/class-wp-links-list-table.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
                                'selected' => $cat_id,
73
73
                                'name' => 'cat_id',
74
74
                                'taxonomy' => 'link_category',
75
 
                                'show_option_all' => __( 'View all categories' ),
 
75
                                'show_option_all' => __( 'All categories' ),
76
76
                                'hide_empty' => true,
77
77
                                'hierarchical' => 1,
78
78
                                'show_count' => 0,
79
79
                                'orderby' => 'name',
80
80
                        );
 
81
 
 
82
                        echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
81
83
                        wp_dropdown_categories( $dropdown_options );
82
84
                        submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
83
85
?>
185
187
                                                ?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php
186
188
                                                break;
187
189
                                        default:
188
 
                                                /**
189
 
                                                 * Fires for each registered custom link column.
190
 
                                                 *
191
 
                                                 * @since 2.1.0
192
 
                                                 *
193
 
                                                 * @param string $column_name Name of the custom column.
194
 
                                                 * @param int    $link_id     Link ID.
195
 
                                                 */
196
190
                                                ?>
197
 
                                                <td <?php echo $attributes ?>><?php do_action( 'manage_link_custom_column', $column_name, $link->link_id ); ?></td>
 
191
                                                <td <?php echo $attributes ?>><?php
 
192
                                                        /**
 
193
                                                         * Fires for each registered custom link column.
 
194
                                                         *
 
195
                                                         * @since 2.1.0
 
196
                                                         *
 
197
                                                         * @param string $column_name Name of the custom column.
 
198
                                                         * @param int    $link_id     Link ID.
 
199
                                                         */
 
200
                                                        do_action( 'manage_link_custom_column', $column_name, $link->link_id );
 
201
                                                ?></td>
198
202
                                                <?php
199
203
                                                break;
200
204
                                }