Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: How is Gutenberg going to affect this Project #9063
    lrtrln
    Participant

    Hello Steve,
    Do you have any idea about the release date of the new version of Piklist compatible with Gutenberg ?

    in reply to: Implements Countable in PHP7.2 #8882
    lrtrln
    Participant

    just tested on version 0.9.9.17

    Attachments:
    You must be logged in to view attached files.
    in reply to: Post status remains “draft” in submitbox #8879
    lrtrln
    Participant

    Post type register with register_post_type

       $args_CPT = array(
             'label'               => __('CPT'),
             'labels'              => $labels_CPT,
             'public'              => true,
             'publicly_queryable'  => true,
             'can_export'          => true,
             'show_ui'             => true,
             '_builtin'            => false,
             'capability_type'     => 'CPT',
             'map_meta_cap'        => true,
             'menu_position'       => 30,
             'menu_icon'           => 'dashicons-chart-bar',
             'hierarchical'        => true,
             'rewrite'             => array( "slug" => "CPT", 'with_front' => false),
             'show_in_rest'        => true,
             'rest_base'           => 'CPT',
             'query_var'           => true,
             'supports'            => array('title', 'thumbnail', 'revisions') ,
             'show_in_nav_menus'   => true,
             'has_archive'         => true,
             'exclude_from_search' => false
          );
    
          register_post_type( 'CPT', $args_CPT );
    in reply to: PHP 7.2 bugs #8797
    lrtrln
    Participant

    Fine, all errors are solved.
    is this version usable in production?

    in reply to: PHP 7.2 bugs #8795
    lrtrln
    Participant

    problems are visible on demo : /wp-admin/post-new.php?post_type=piklist_demo

    in reply to: PHP 7.2 bugs #8794
    lrtrln
    Participant

    Hello Steve,
    sorry but problems are the same on the 0.10-beta.2 version.
    Tested on wordpress 4.9.4 / PHP Version 7.2.3-1 / Only piklist & query monitor are enabled.
    This mainly concerns this point: https://wiki.php.net/rfc/counting_non_countables

    in reply to: Post status remains “draft” in submitbox #7744
    lrtrln
    Participant

    Any update to fix the problem? Removing submitdiv.php doesn’t resolve this issue. This point is quite critical for all translated versions of WP

    in reply to: Post status remains “draft” in submitbox #7481
    lrtrln
    Participant

    It works by rewriting CPT statuses : https://piklist.com/learn/doc/creating-custom-post-statuses/
    Just add statuses array in piklist_post_types

    'status' => array(
      'draft' => array(
        'label' => __('draft', LANG),
        'public' => false
       ),
       'pending' => array(
         'label' => __('pending', LANG),
         'public' => false
       ),
       'publish' => array(
         'label' => __('publish', LANG),
         'public' => true
       )
      ...
    in reply to: Post status remains “draft” in submitbox #7318
    lrtrln
    Participant

    Hello Steve,
    I have checked and nothing better.
    Works only with en_US despite having deleted the text domains: http://codepad.org/dUaHKOIn

    in reply to: Post status remains “draft” in submitbox #7310
    lrtrln
    Participant

    In fact, all the “postbox picklist-meta-box” unit is not working properly when a translation is active.

    in reply to: Post status remains “draft” in submitbox #7309
    lrtrln
    Participant

    Hello, another problem: scheduled CPT not working.
    This works in English but not in a translated version.

    in reply to: Post status remains “draft” in submitbox #7279
    lrtrln
    Participant

    Removing all text domains in this file but no change.
    By cons, removing all the file piklist/parts/meta-boxes/submitdiv.php works.

    in reply to: Post status remains “draft” in submitbox #7258
    lrtrln
    Participant

    Bug comes from the translated version (tested with fr_FR version)
    With wpcli
    wp core language activate fr_FR ==> bug
    wp core language activate en_EN ==> no bug

    in reply to: Post status remains “draft” in submitbox #7256
    lrtrln
    Participant

    Exactly the same with action piklist_post_types or native register_post_type.

    in reply to: Post status remains “draft” in submitbox #7254
    lrtrln
    Participant

    @steve thx 🙂

    Demo offers redefined status fields (demo, pending, …). The problem affects only native WP fields (draf, publish, pending).
    Bug steps :
    1 publish CPT post with native status
    2 change status to draft
    3 publish
    4 change status to publish
    5 post remains in draft

    ->(attached GIF)

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 15 total)