[wp-trac] [WordPress Trac] #38342: Quick Draft: Leverage REST API endpoints
WordPress Trac
noreply at wordpress.org
Tue Nov 22 21:24:01 UTC 2016
#38342: Quick Draft: Leverage REST API endpoints
-------------------------------------+-------------------------------------
Reporter: adamsilverstein | Owner: joehoyle
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch 4.8-early | Focuses: accessibility,
needs-unit-tests | javascript, rest-api
-------------------------------------+-------------------------------------
Changes (by ocean90):
* keywords: has-patch 4.8-early => has-patch 4.8-early needs-unit-tests
* focuses: javascript, rest-api => accessibility, javascript, rest-api
Comment:
[attachment:38342.12.diff]
* `<?php esc_html_e( 'Drafts' ) ?>` and `<?php esc_html_e( 'Loading…' )
?>` should be without `esc_html()`, the latter should use `…`.
* While we're here: To improve a11y we should probably make use of
`wp.a11y.speak()`.
* `grunt precommit:js` complains about a missing var declaration: `'date'
is not defined.`
* `grunt precommit:css` generates the missing vendor prefixes for the
animation, make sure to run that before the commit.
* Can we have some QUnit tests for `wp.formatting.trimWords()`?
* The currently title is a number because of
`attributes.title.rendered.length`.
* JS variables in script-loader.php should be camelCase, `no_title` =>
`noTitle`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38342#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list