Stars ticket summary owner component version priority severity milestone type _status workflow _created modified _description _reporter 1 41111 WP-API JS Client: Add a helper to get model or collection by route adamsilverstein REST API 4.7 normal normal 4.9 enhancement closed commit 2017-06-21T09:51:02Z 2017-11-28T14:15:41Z "In the process of adding page/custom post type support to Gutenberg, the need arose to identify the models based on their route - the code passes the route from PHP to JavaScript, and the JavaScript needs to know which model to use. See [https://github.com/WordPress/gutenberg/pull/1276 this pull requst] for additional details. We should add helpers to the client to easily find a model or collection based on its route, something like `getModelByRoute` and `getCollectionByRoute` - each would search thru the constructed models/collections and return the matching object, or `false` if none was found. We should also add unit tests to verify the functions work as expected." adamsilverstein 3 37595 Better titles for the Quick Draft dashboard widget afercia Administration normal normal 4.9 enhancement closed has-patch 2016-08-08T10:48:51Z 2017-06-05T11:59:51Z "The ""Quick Draft"" dashboard widget shows the recent drafts below the form, with a title that says ""Drafts"": [[Image(https://cldup.com/bJfUsOstKl.png)]] And when JS is off, the widget hides the form and shows just the recent drafts with a ""Drafts"" title: [[Image(https://cldup.com/sc-qAQwCXT.png)]] By the way, these are just the drafts created by the current user, so if there are drafts from other users, the widget will display just your ones. It's a minor thing for sure, but it's not clear at first sight because the two titles can be a bit misleading. Users may think it's a list of ''all'' the drafts (from all users), while it is not. At the very least, I'd suggest to consider to change the two titles to make them a bit more clear. Maybe using something like ""Your Recent Drafts"" instead of just ""Drafts"". Maybe also worth considering if limiting this list to the current user's drafts makes sense or if it should list all the drafts or maybe both types in two separated lists. Personally, I'd be in favor of keeping it simple. Worth noting when there are more than 3 drafts from the current user, a ""View all"" link will appear: [[Image(https://cldup.com/9GdGj9hLsI.png)]] and this link points to the list of drafts from ''all'' users which is OK I guess, maybe just needs to be clarified. Feedback from the UI team more than welcome :)" afercia 5 38238 Sorting a list table by some kind of count should default to DESC initially helen Administration normal normal Awaiting Review enhancement reviewing has-patch 2016-10-05T21:32:01Z 2020-06-29T11:01:52Z "List tables that can be sorted by some kind of count (posts with that term, comments on that post, etc.) should likely use `DESC` for that sort initially, as more frequent user workflows involve wanting to see things with many X (popularity/usage), as opposed to items with no X (cleanup). For example, you may want to see which categories are most popular (related: #36964) or which posts have generated a lot of comments. Should also consider how sortable custom columns indicate whether to use `ASC` or `DESC` initially." helen 41044 Update PHPDoc for has_cap in wpdb johnbillion Database 4.6 normal normal 4.9 defect (bug) closed commit 2017-06-14T12:03:04Z 2017-06-15T11:59:19Z "The accepted parameters are listed for the `$db_cap` parameter but ""utf8mb4_520"" is missing, which was added in 4.6.0." rcutmore 40572 .htaccess has incorrect permissions after installation rcutmore Upgrade/Install 4.7.4 normal normal 5.4 defect (bug) closed has-patch 2017-04-26T09:11:09Z 2019-12-22T02:43:31Z "Having used the WordPress installation instructions and the .htaccess was installed on the server with 0600 permissions, instead of 0644 permissions (like all the other files). This caused our installation to function incorrectly, denying access to at least the login page. Steps to reproduce: - Install wordpress - Fill in online 'setup' (the one where you choose admin credentials) - Be redirected to the wp-login.php - Get a 403 error" i3anaan 8 40244 Inconsistent casing in the list table select filters whyisjake Administration 5.4 normal normal 5.5 enhancement closed has-patch 2017-03-23T18:17:01Z 2020-07-26T12:17:25Z "In the various admin screens with list tables (posts, pages, media, comments, users...) a toolbar on the top displays some `