vasko_t
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Notice: screen_icon is deprecatedI beleive @elitelayers refers to the standard WordPress Importer plugin. I ran into the same issue.
Thanks for the quick reply!
Forum: Plugins
In reply to: [WooCommerce] Edit order item meta filed after paymentTo clarify, the order item meta field should be editable only from the backend form by an admin user.
- This reply was modified 8 years, 2 months ago by vasko_t.
Forum: Plugins
In reply to: [WP Advanced Importer] "The plugin does not have a valid header."Same thing happened to me.
Forum: Plugins
In reply to: [Custom Post Type UI] PHP Notices after updating from 1.1.3 to 1.2.0This is how I fixed it:
custom-post-type-ui.php lines 332 – 354:
$rest_base = $description = $show_in_rest = null; if ( ! empty( $taxonomy['rest_base'] ) ) { $rest_base = $taxonomy['rest_base']; } if ( ! empty( $taxonomy['description'] ) ) { $description = $taxonomy['description']; } if ( ! empty( $taxonomy['show_in_rest'] ) ) { $show_in_rest = $taxonomy['show_in_rest']; } $args = array( 'labels' => $labels, 'label' => $taxonomy['label'], 'description' => $description, 'hierarchical' => get_disp_boolean( $taxonomy['hierarchical'] ), 'show_ui' => get_disp_boolean( $taxonomy['show_ui'] ), 'query_var' => $taxonomy['query_var'], 'rewrite' => $rewrite, 'show_admin_column' => $show_admin_column, 'show_in_rest' => get_disp_boolean( $show_in_rest ), 'rest_base' => $rest_base, );
inc/post-types.php line 473:
$selected = ( isset( $current ) AND isset( $current['show_in_nav_menus'] ) ) ? disp_boolean( $current['show_in_nav_menus'] ) : '';
inc/post-types.php line 493:
$selected = ( isset( $current ) AND isset( $current['show_in_rest'] ) ) ? disp_boolean( $current['show_in_rest'] ) : '';
Cheers ??
Forum: Plugins
In reply to: [Custom Post Type UI] PHP Notices after updating from 1.1.3 to 1.2.0Also 4 more notices of the same type on Edit post types screen:
Notice: Undefined index: show_in_nav_menus in /.../wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 473
Notice: Undefined index: show_in_nav_menus in /.../wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 474
Notice: Undefined index: show_in_rest in /.../wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 493
Notice: Undefined index: show_in_rest in /.../wp-content/plugins/custom-post-type-ui/inc/post-types.php on line 494
This is for an existing custom post type created before the plugin was updated.
Forum: Plugins
In reply to: [Simple Staff List] Drag and drop order doesn't saveThe problem is in
_inc/admin-views.php
on line 148. It uses$post->ID
(which is wrong since we’re inside the loop) instead ofget_the_ID()
as the first parameter forget_the_post_thumbnail()
.Forum: Fixing WordPress
In reply to: Nextgen gallery won't sort imagesThe bug is in the file wp-content\plugins\nextgen-gallery\widgets\widgets.php around line 297:
$imageList = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE tt.exclude != 1 $exclude_list ORDER by pid DESC limit 0,$items");
The ORDER BY is incorrect, it should say
ORDER by sortorder ASC