Press This:

- Test image sizes from JS after Press This loads, before adding them to  "Suggested media".
- Clean up and simplify the HTML and JS a bit.
Fixes #31561.

git-svn-id: https://develop.svn.wordpress.org/trunk@31797 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2015-03-16 20:50:39 +00:00
parent e35b6490a3
commit eb9cf72a1b
6 changed files with 108 additions and 96 deletions

View File

@@ -502,7 +502,6 @@ function wp_default_scripts( &$scripts ) {
'newPost' => __( 'Title' ),
'unexpectedError' => __( 'Sorry, but an unexpected error occurred.' ),
'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
'allMediaHeading' => __( 'Suggested media' ),
'suggestedEmbedAlt' => __( 'Suggested embed #%d' ),
'suggestedImgAlt' => __( 'Suggested image #%d' ),
) );