Changeset 13733 for trunk/wp-admin/includes/template.php
- Timestamp:
- 03/17/2010 04:27:25 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r13661 r13733 863 863 foreach ( $taxonomy_names as $taxonomy_name ) { 864 864 $taxonomy = get_taxonomy( $taxonomy_name); 865 865 866 866 if( !$taxonomy->show_ui ) continue; 867 867 868 868 if( $taxonomy->hierarchical ) 869 869 $hierarchical_taxonomies[] = $taxonomy; 870 else 870 else 871 871 $flat_taxonomies[] = $taxonomy; 872 872 } 873 873 874 874 $columns = wp_manage_posts_columns($screen); 875 875 $hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns($screen) ) ); … … 966 966 967 967 <fieldset class="inline-edit-col-center inline-edit-categories"><div class="inline-edit-col"> 968 968 969 969 <?php foreach ( $hierarchical_taxonomies as $taxonomy ) : ?> 970 970 … … 2974 2974 2975 2975 * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags. 2976 * @param string $title Formatted title of the section. Shown as the heading for the section. 2976 * @param string $title Formatted title of the section. Shown as the heading for the section. 2977 2977 * @param string $callback Function that echo's out content for the section heading. 2978 2978 * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...). … … 3000 3000 * The $callback argument should be the name of a function that echoes out the 3001 3001 * html input tags for this setting field. Use get_option() to retrive existing 3002 * values to show. 3002 * values to show. 3003 3003 * 3004 3004 * @since 2.7.0 … … 3103 3103 * 3104 3104 * @global array $wp_settings_errors Storage array of errors registered during this pageload 3105 * 3105 * 3106 3106 * @param string $setting Slug title of the setting to which this error applies 3107 3107 * @param string $code Slug-name to identify the error. Used as part of 'id' attribute in HTML output. … … 3130 3130 * pageload and returns them. 3131 3131 * 3132 * If changes were just submitted ($_GET['updated']) and settings errors were saved 3132 * If changes were just submitted ($_GET['updated']) and settings errors were saved 3133 3133 * to the 'settings_errors' transient then those errors will be returned instead. This 3134 3134 * is used to pass errors back across pageloads. … … 3178 3178 * 3179 3179 * Part of the Settings API. Outputs a <div> for each error retrieved by get_settings_errors(). 3180 * 3180 * 3181 3181 * This is called automatically after a settings page based on the Settings API is submitted. 3182 3182 * Errors should be added during the validation callback function for a setting defined in register_setting() … … 3301 3301 function favorite_actions( $screen = null ) { 3302 3302 global $post_type_object; 3303 3303 3304 3304 $default_action = false; 3305 3305 3306 3306 if ( is_string($screen) ) 3307 3307 $screen = convert_to_screen($screen); 3308 3308 3309 3309 if ( isset($post_type_object) ) { 3310 3310 switch ( $screen->id ) { … … 3317 3317 } 3318 3318 } 3319 3319 3320 3320 if ( !$default_action ) { 3321 3321 switch ( $screen->id ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)