- This topic has 31 replies, 6 voices, and was last updated 4 years, 9 months ago by
Steve.
-
AuthorPosts
-
-
August 25, 2016 at 8:26 am #7246
lrtrlnParticipantPiklist 0.9.9.9 / WP 4.6 installed. When I write a post in a custom post type, post status remains “draft” and not “published” in drop down even if I changed it and clicked the OK button. I tested already with all other plugins deactivated. Can you please advise. Thanks
-
August 25, 2016 at 11:19 pm #7250
-
August 26, 2016 at 9:00 am #7254
lrtrlnParticipant@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. -
August 26, 2016 at 9:06 am #7256
lrtrlnParticipantExactly the same with action piklist_post_types or native register_post_type.
-
August 26, 2016 at 9:58 am #7257
SteveKeymasterDo you have any custom Piklist fields for this CPT? Try removing them and see if the bug goes away.
-
August 26, 2016 at 11:27 am #7258
lrtrlnParticipantBug 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 -
August 29, 2016 at 8:42 pm #7276
SteveKeymasterTry this:
-open this file:piklist/parts/meta-boxes/submitdiv.php
-Remove “piklist” from all the text domains.
— So THIS:_e('Status:', 'piklist'), SHOULD BE THIS_e('Status:')Let us know if that fixes the problem.
-
August 30, 2016 at 12:35 pm #7279
lrtrlnParticipantRemoving all text domains in this file but no change.
By cons, removing all the file piklist/parts/meta-boxes/submitdiv.php works. -
September 5, 2016 at 7:00 am #7309
lrtrlnParticipantHello, another problem: scheduled CPT not working.
This works in English but not in a translated version. -
September 5, 2016 at 7:03 am #7310
lrtrlnParticipantIn fact, all the “postbox picklist-meta-box” unit is not working properly when a translation is active.
-
September 6, 2016 at 11:54 am #7317
SteveKeymasterPlease double-check that you removed all text domains from piklist/parts/meta-boxes/submitdiv.php.
I was able to reproduce your error, and also fix it by removing text domains.
-
September 6, 2016 at 12:47 pm #7318
lrtrlnParticipantHello Steve,
I have checked and nothing better.
Works only with en_US despite having deleted the text domains: http://codepad.org/dUaHKOIn -
November 1, 2016 at 5:52 pm #7480
bicho44MemberAny idea, if this is solved?
I have the same problem
-
November 1, 2016 at 6:06 pm #7481
lrtrlnParticipantIt 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 ) ...
-
-
November 1, 2016 at 6:07 pm #7482
bicho44MemberOK, im gonna give it a try.
Thanks
-
November 1, 2016 at 10:39 pm #7483
bicho44MemberStill no working 🙁
If I update a post, the status, keep as draft.
When I create a post, the status are always draft
If I use quick edit, i can publish the post.
Anyone can help?
-
November 4, 2016 at 9:53 am #7490
amristarMemberI have the same problem in russian version of WP.
-
November 7, 2016 at 5:32 pm #7493
SteveKeymasterIf you remove all the text domains from this file does it work?
piklist/parts/meta-boxes/submitdiv.php -
November 11, 2016 at 4:47 pm #7527
amristarMemberHi!
I found a way to publish the CPT posts. First I move into status for review, and then only published. The way it works.
Can I set from draft status to publication? As in the usual case it works for pages. -
December 7, 2016 at 8:50 am #7617
xtianParticipantDear Steve, I have the same problem, fr_FR locale.
I removed all the text domains from submitdiv.php, no change.
If it’s any help, I can change the status with Quick Edit on the main Page list.
Best regards
Christian -
December 7, 2016 at 9:46 am #7619
amristarMemberAs a temporary solution I deleted the file submitdiv.php and problem gone.
-
December 7, 2016 at 2:13 pm #7621
xtianParticipantThanks amristar, it does work!
-
December 8, 2016 at 4:33 am #7625
Tonny KeukenMemberThis reply has been marked as private. -
January 23, 2017 at 12:09 pm #7744
lrtrlnParticipantAny update to fix the problem? Removing submitdiv.php doesn’t resolve this issue. This point is quite critical for all translated versions of WP
-
April 3, 2017 at 3:24 pm #7896
bicho44MemberAny idea about this bug? Is more anoying than anything
-
April 20, 2017 at 4:43 pm #7942
SteveKeymasterHi All– Please test this release. We rewrote this to work better:
https://github.com/piklist/piklist/releases/tag/0.9.9.13 -
April 21, 2017 at 4:48 am #7950
amristarMemberFor me it’s work nicely!
Submitdiv metabox now in correct translation. -
April 21, 2017 at 11:01 am #7953
-
April 21, 2017 at 6:50 pm #7957
bicho44MemberYeah! Victory! Thanks
-
April 24, 2017 at 1:48 pm #7970
SteveKeymasterAwesome! Closing ticket.
-
-
AuthorPosts
- The topic ‘Post status remains “draft” in submitbox’ is closed to new replies.