[wp-trac] [WordPress Trac] #49343: post atrributes not saving post order

WordPress Trac noreply at wordpress.org
Sun Feb 2 16:31:17 UTC 2020


#49343: post atrributes not saving post order
-------------------------------+-----------------------------
 Reporter:  shadiadi           |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  5.3.2
 Severity:  normal             |   Keywords:  needs-testing
  Focuses:                     |
-------------------------------+-----------------------------
 the post attributes are not saving post order once the number of posts
 added has reached the amount to display in reading settings.

 I set my posts to display post attributes order.

 {{{
 add_action( 'admin_init', 'posts_order_wpse_91866' );

 function posts_order_wpse_91866()
 {
     add_post_type_support( 'post', 'page-attributes' );
 }
 }}}


 They were all saving fine and showing in order until I got to my 11th
 post. My reading settings are set to 10 per page. All of a sudden my posts
 orders had all been reset to zero. Now trying to add the order again to
 the posts is not even saving the order amount when republished. It seems
 to be a bug in the Rest API somewhere because it was working until it got
 to my reading settings display limit.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49343>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list