bumpbot
fce47c7cef
Compress scripts/styles: 3.5-alpha-21416. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-03 18:58:19 +00:00
azaozz
f56f339aaf
TinyMCE: revert Firefox shortcuts to match all other browsers (Alt+Shift+letter), fix the labels for the shortcuts, update description in wp-mce-help, fixes #21197
...
git-svn-id: http://core.svn.wordpress.org/trunk@21415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-03 18:12:45 +00:00
ryan
5ca54e7d2f
Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option().
...
Use the regular option functions wrapped in switch_to_blog() and restore_current_blog() instead.
Group multiple operations within a single switch where possible.
fixes #21432
git-svn-id: http://core.svn.wordpress.org/trunk@21414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-03 17:51:42 +00:00
nacin
7127ed1197
Move most instances of new WP_User to get_userdata(). see #21120 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-03 01:06:05 +00:00
lancewillett
3a0841fee7
Twenty Twelve: bump theme-customizer JS version. See #21443 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 22:17:06 +00:00
lancewillett
ffc2e121fc
Twenty Twelve: Add postMessage support in Customizer for fonts, site title and description, and background color body_class value updates.
...
Props obenland for first patch and testing. Fixes #21443 .
git-svn-id: http://core.svn.wordpress.org/trunk@21411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 22:10:03 +00:00
lancewillett
751445937c
Twenty Twelve: update print styles to merge similar rules, props SergeyBiryukov, see #21377 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 21:11:11 +00:00
lancewillett
36bd0f0339
Twenty Twelve: update editor stylesheet, props obenland. See #21376 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 21:06:03 +00:00
lancewillett
4819a3ab37
Twenty Twelve: make sure embeds and videos don't overflow their containers, and add iframe styles to all embeds, videos, and objects. Fixes #21382 .
...
Props chriswallace and obenland for troubleshooting.
git-svn-id: http://core.svn.wordpress.org/trunk@21408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:57:47 +00:00
lancewillett
0a83a5cb02
Twenty Twelve: add max-width rule to help captions not overflow their container at small window sizes. Props chriswallace and obenland, fixes #21383 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:53:38 +00:00
lancewillett
ee6a92ceb7
Twenty Twelve: style hr, big, del, ins in editor stylesheet (and add all except big to style.css also). Fixes #21376 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:27:23 +00:00
lancewillett
29b95be1b5
Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:53:45 +00:00
lancewillett
1d9662043e
Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379 .
...
* Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container.
* Bump JS version after selector change.
* Move `image-attachment` to `post_class()` output
More exhaustive notes in the ticket on each id and class change.
git-svn-id: http://core.svn.wordpress.org/trunk@21404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:12:11 +00:00
ryan
295ca4d76f
Introduce wp_cache_switch_to_blog() and WP_Object_Cache::switch_to_blog() as a lighter/faster way to switch the cache to a new blog id.
...
Add the blog id to the cache keys for multisite installs.
Use wp_cache_switch_to_blog() instead of wp_cache_init() in switch_to_blog().
Use wp_cache_switch_to_blog() instead of wp_cache_reset() in wp_start_object_cache().
Deprecate wp_cache_reset().
This avoids the many queries needed to re-prime the cache after switch_to_blog() on multisite installs using the default cache backend.
fixes #21434
git-svn-id: http://core.svn.wordpress.org/trunk@21403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 18:31:14 +00:00
lancewillett
a7b6455c97
Twenty Twelve: CSS and markup improvements for better child theme support, part 2. See #21379 .
...
* Allow image alignment to apply anywhere, not just entry content area
* Remove unneeded `hgroup` `header` and `nav` selectors
git-svn-id: http://core.svn.wordpress.org/trunk@21402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 18:28:10 +00:00
lancewillett
4b2f431080
Twenty Twelve: CSS and markup improvements for better child theme support, part 1.
...
Move all media queries to bottom of document.
git-svn-id: http://core.svn.wordpress.org/trunk@21401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 17:50:52 +00:00
bumpbot
606c472881
Compress scripts/styles: 3.5-alpha-21400.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 22:58:25 +00:00
azaozz
9baca94459
Retina: add image editor 2x icons, props empireoflight, see #21019
...
git-svn-id: http://core.svn.wordpress.org/trunk@21399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 22:50:52 +00:00
lancewillett
a9052b5e1a
Twenty Twelve: Homepage page template logic cleanup and style updates, props obenland. Fixes #21245 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 18:52:20 +00:00
lancewillett
0403c40ecf
Twenty Twelve: update styles for tag/category descriptions on archive pages, props drewstrojny. Closes #21255 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:38:00 +00:00
lancewillett
dcde226134
Twenty Twelve: change featured post banner and comment author callout to look less like buttons. Props chriswallace and drewstrojny, fixes #21384 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:34:31 +00:00
nacin
c52291165e
Revert parameter changes in [21394] as these are unnecessary.
...
Our plugin API always passes the requested number arguments to a callback,
even if previous callbacks asked for less arguments than later callbacks.
see #21264 .
git-svn-id: http://core.svn.wordpress.org/trunk@21395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:03:29 +00:00
lancewillett
8e8c62cc9c
Twenty Twelve: better comment block for twentytwelve_wp_title() and set passed arguments to empty strings for compatibility with plugins or child themes that might override wp_title() before this filter runs.
...
See #21264 .
git-svn-id: http://core.svn.wordpress.org/trunk@21394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 16:45:12 +00:00
lancewillett
51563cf8ff
Twenty Twelve: add CSS rule for threaded comments. Fixes #21405 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 16:08:47 +00:00
lancewillett
87cc5cd6c9
Twenty Twelve: add print styles to stylesheet, first pass props obenland. See #21377 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:47:02 +00:00
lancewillett
c899eae2ae
Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399 , props obenland.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:36:44 +00:00
lancewillett
409214d1be
Twenty Eleven: update html5 shiv to 3.6 stable version. Props ocean90, fixes #20640 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:31:36 +00:00
lancewillett
5c5a3522ca
Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376 .
...
RTL version and tweaks to come after more testing.
git-svn-id: http://core.svn.wordpress.org/trunk@21389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:28:50 +00:00
lancewillett
7f29970ebd
Twenty Twelve: update comment header in html5 JS file.
...
Related to #20640 .
git-svn-id: http://core.svn.wordpress.org/trunk@21388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:06:24 +00:00
westi
4443baaab9
Multisite: Rework the upload space usage tracking code so as to be fully pluggable.
...
* Moves some admin only functions into wp-admin/includes/ms.php from wp-includes/ms-functions.php
* Reworked the variable naming to be more in line with the Coding Standards
* Introduced a new get_space_used() function instead of calculating it in multiple places.
Fixes #21181 props dllh and jkudish for inital work on this.
git-svn-id: http://core.svn.wordpress.org/trunk@21387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 13:52:06 +00:00
koopersmith
29f2b5b903
Fix @since blocks... since we already released 3.4.1. see #21355 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 07:20:44 +00:00
koopersmith
eb7e421d69
Add @since documentation, see #21355 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 07:01:08 +00:00
bumpbot
506492de67
Compress scripts/styles: 3.5-alpha-21384.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:58:20 +00:00
koopersmith
86b352faea
Remove the ability to upload custom headers in the customizer. Properly handle selecting the correct first tab, and removing the control/section if no tabs exist. see #21355 .
...
To check if the control has any potential tabs and headers, added:
* WP_Customize_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->default_headers
* WP_Customize_Header_Image_Control->uploaded_headers
git-svn-id: http://core.svn.wordpress.org/trunk@21383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:45:54 +00:00
bumpbot
50b0511449
Compress scripts/styles: 3.5-alpha-21382.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 02:58:20 +00:00
koopersmith
21d1ea5f85
Pinking shears.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 02:30:02 +00:00
koopersmith
b779aff50a
When the browser property is not provided to wp.Uploader, hide Plupload's auto-created file input and call Plupload's disableBrowse. see #21437 , [21379].
...
git-svn-id: http://core.svn.wordpress.org/trunk@21380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 02:27:18 +00:00
koopersmith
83f2d7dc6e
Make the browser property in wp.Uploader optional. fixes #21437 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 01:10:13 +00:00
ryan
af18fc1ae2
Use Yoda conditions. Props evansolomon. see #21270
...
git-svn-id: http://core.svn.wordpress.org/trunk@21378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 21:11:17 +00:00
nacin
fed9492cbc
Use get_userdata() rather than new WP_User in is_super_admin(), to take advantage of the performance improvements in [21376]. see #21120 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 17:47:08 +00:00
nacin
174dad02bc
Optimize get_user_by( 'id', $id ) to return wp_get_current_user() when the current user ID is requested.
...
Provides for a major performance improvement by preventing repeated instantiations of WP_User in the capabilities API.
see #21120 .
git-svn-id: http://core.svn.wordpress.org/trunk@21376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 17:45:38 +00:00
nacin
fcae3978c3
Don't call get_userdata() every time for the current user in map_meta_cap()'s read_post, edit_post, and delete_post branches. see #21120 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 17:39:14 +00:00
ryan
996366cc0e
Better phpdoc for user_nicename. Props SergeyBiryukov. fixes #21427
...
git-svn-id: http://core.svn.wordpress.org/trunk@21374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 15:50:29 +00:00
ryan
4630ae82ce
Call func_get_args() once in add_query_arg(). Props SergeyBiryukov. see #21332
...
git-svn-id: http://core.svn.wordpress.org/trunk@21373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-31 15:28:10 +00:00
lancewillett
4768331a77
Twenty Twelve: improve definition term layout a bit, use line-height instead of bottom margin. Fixes #21259 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 20:06:26 +00:00
lancewillett
afef3dd01d
Twenty Twelve: fix typo for comment-content container showing incorrect class value, props obenland. Closes #21242 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:56:35 +00:00
lancewillett
8c15bd54ac
Twenty Twelve: squeeze 1.47% more size savings by compressing screenshot again.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:51:43 +00:00
lancewillett
ba2fe5b89a
Twenty Twelve: fix typo, s/#entry-meta/.entry-meta/ props zeo. Closes #21418 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:48:43 +00:00
lancewillett
1f592e5cef
Twenty Eleven: fix typo, s/#entry-meta/.entry-meta/ props zeo. See #21418 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:45:58 +00:00
azaozz
d77372ea76
TinyMCE: better exclusion of Opera mobile, fixes #21416
...
git-svn-id: http://core.svn.wordpress.org/trunk@21367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:40:52 +00:00