get_post_stati() returns post statuses not types. Props jeremyfelt. Fixes #20664.


git-svn-id: http://core.svn.wordpress.org/trunk@20779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
log_app(): s/$message/$msg/. Props tamlyn. Fixes #20670.


git-svn-id: http://core.svn.wordpress.org/trunk@20780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert [20776], and instead pass the current locale to browsehappy.com.



git-svn-id: http://core.svn.wordpress.org/trunk@20781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Minor XML-RPC documentation improvements. See #20566.

Also make newly introduced _is_greater_than_one() private.


git-svn-id: http://core.svn.wordpress.org/trunk@20782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add filters for the default to get_option() and get_site_option(). Provide default overrides in the customizer. Props Otto42. see #20448


git-svn-id: http://core.svn.wordpress.org/trunk@20783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Call filters for default option values only as needed to reduce number of filter calls. Props Ott042. see #20448

git-svn-id: http://core.svn.wordpress.org/trunk@20784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove accidental bits in [20784]

git-svn-id: http://core.svn.wordpress.org/trunk@20785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove activate/deactivate messages from plugin upgrades. Props toppa. fixes #17833

git-svn-id: http://core.svn.wordpress.org/trunk@20786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Make the file names unique for cropped header images. Props SergeyBiryukov. fixes #20666

git-svn-id: http://core.svn.wordpress.org/trunk@20787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Exclude admin pot files when calculating the list of installed languages in get_available_languages(). fixes #20676

git-svn-id: http://core.svn.wordpress.org/trunk@20788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Fix Opera bug where, once the sidebar was collapsed, it could not be re-opened. props rosshanney. fixes #20452, see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-beta4-20790.

git-svn-id: http://core.svn.wordpress.org/trunk@20790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649, #20650, see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-beta4-20792.

git-svn-id: http://core.svn.wordpress.org/trunk@20792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't force frontend scheme to match backend. This fails if the frontend doesn't have proper SSL certs. Access-Control-Allow-Origin handles this without the need to make the schemes match. see #20507

git-svn-id: http://core.svn.wordpress.org/trunk@20793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
API for allowing cross origin resource sharing.

* Allowed origin whitelist that can be altered by plugins
* Validation of the request origin against the whitelist
* Send Access-Control-Allow-Origin if origin allowed
* get_http_origin(), get_allowed_http_origins(), is_allowed_http_origin(), send_origin_headers()

See #20681



git-svn-id: http://core.svn.wordpress.org/trunk@20794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Add an Events mixin to wp.customize, used by default in wp.customize.Messenger. see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.4-beta4-20796.

git-svn-id: http://core.svn.wordpress.org/trunk@20796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Make wp.customize.Values.when return a jQuery.Deferred.promise() object, to add additional flexibility. see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Clarify wp.customize.Values API by removing Values.pass and all methods that passed through to the wp.customize.Value objects it contained. see #19910.


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