[wp-trac] [WordPress Trac] #46264: Page attributes 'ORDER' does not saving data for post-type 'post'.
WordPress Trac
noreply at wordpress.org
Sun Feb 17 11:06:28 UTC 2019
#46264: Page attributes 'ORDER' does not saving data for post-type 'post'.
--------------------------+-----------------------------
Reporter: tanvirul | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
I used {{{ add_post_type_support()}}} function to support 'page-
attributes' for Menu Order at post-type 'post'.
{{{#!php
<?php
function prefix_add_posts_order() {
add_post_type_support( 'post', 'page-attributes' );
}
add_action( 'admin_init', 'prefix_add_posts_order' );
}}}
When I save the post after putting an integer value in the Order field
then no value is saving on 'wp_posts' table 'menu_order' column and it
does not also update on the editor page.
But when I switch to TinyMCE editor it's working fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46264>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list