Image editors: After cropping, request new sizes from the image. If we rely on the values passed in, they may be floats. We must see what the image results in.

Cast in update_size() for sanity.

props DH-Shredder.
fixes #22779.



git-svn-id: http://core.svn.wordpress.org/trunk@23103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC3-23104.

git-svn-id: http://core.svn.wordpress.org/trunk@23104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
A neditor is a curious multi-celled organism found deep in the Content Management System "WordPress". It generally subsides on good content. It has an obsession with retina-quality graphical elements, and also has a strong affinity for puns. Occasionally, ACCIDENTAL CAPS LOCK occurs. Some organisms carry British accents; these are prone to changing state but then reverting to their previous state soon after. One has shown superior sleuthing abilities, despite having hardly left its Uni laboratory. Organisms from Australia are usually found deeper in the Content Management System, most of its energy spent on locomotion.

The attitude of a neditor is best described as cranky optimism. Younger organisms are more eager, but quickly tire after working on little sleep. They eventually evolve into the cranky optimism stage in a process that generally takes three to five months.



git-svn-id: http://core.svn.wordpress.org/trunk@23105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Rip keyboard shortcuts out of the image editor help. props helenyhou. fixes #22786.



git-svn-id: http://core.svn.wordpress.org/trunk@23106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use $current_site->path instead of $base in wpmu_validate_blog_signup(), as $base is now dead. props MarkJaquith. fixes #22787. see #19796.



git-svn-id: http://core.svn.wordpress.org/trunk@23107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
3.5-RC4.



git-svn-id: http://core.svn.wordpress.org/trunk@23108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Final screenshot on the about page for the media manager.

props lessbloat.
props matt for the photos.

fixes #22455.



git-svn-id: http://core.svn.wordpress.org/trunk@23109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When inserting from URL in the media modal, retain query params and properly insert the caption code.

Props koopersmith
fixes #22796


git-svn-id: http://core.svn.wordpress.org/trunk@23110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC4-23111.

git-svn-id: http://core.svn.wordpress.org/trunk@23111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Extend allowed elements for object and embed.

Props azaozz
fixes #22790


git-svn-id: http://core.svn.wordpress.org/trunk@23112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC4-23113. TinyMCE updated.

git-svn-id: http://core.svn.wordpress.org/trunk@23113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove trailing comma from JS. props koopersmith, fixes #22800.



git-svn-id: http://core.svn.wordpress.org/trunk@23114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC4-23115.

git-svn-id: http://core.svn.wordpress.org/trunk@23115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: set `color` values to black to ensure full text color contrast in print styles. Props miqrogroove, fixes #22797.


git-svn-id: http://core.svn.wordpress.org/trunk@23116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Make current_user_can_for_blog() safe to run single site.

Props nacin, MarkJaquith
fixes #22803


git-svn-id: http://core.svn.wordpress.org/trunk@23117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensure iframes in the media modal on the frontend have no borders. props nacin. fixes #22804.


git-svn-id: http://core.svn.wordpress.org/trunk@23118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add TinyMCE 3.5.8's Schema.js file in preparation for monkey patching it. see #22790.



git-svn-id: http://core.svn.wordpress.org/trunk@23119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add a sane, inclusive HTML element/attribute schema to TinyMCE.

TinyMCE 3.4.x (shipped with WordPress 3.4.x) had an HTML4-based schema definition, with HTML5 elements added to it. TinyMCE 3.5.x (shipping, again coincidentally, with WordPress 3.5) allows for HTML5 schema support, which also provides for full HTML5 attribute support. The problem is its HTML5 schema excludes all HTML4 elements and attributes that were dropped in the HTML5 spec, which is unacceptable behavior.

This "duck punch" of TinyMCE's Schema.js file creates a new, sane schema. It is TinyMCE's HTML4 and HTML5 schema definitions recursively merged.

Objects are not whitelisted in either schema to allow for embed elements as child nodes, so object, param, and embed remain separately whitelisted in the WordPress TinyMCE plugin. Our attempts to add other attributes in said plugin is now superceded.

props koopersmith, azaozz.
fixes #22790.



git-svn-id: http://core.svn.wordpress.org/trunk@23120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-RC4-23121. TinyMCE updated.

git-svn-id: http://core.svn.wordpress.org/trunk@23121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update fullscreen/DFW's "Text" tab to match the string context used for the editor Text tab. Not a string change. props pavelevap, fixes #22808.



git-svn-id: http://core.svn.wordpress.org/trunk@23122 1a063a9b-81f0-0310-95a4-ce76da25c4cd