Commit Graph

19498 Commits

Author SHA1 Message Date
ryan
e75d8f7d9e Refactor *_blog_option() functions to use switch_to_blog(), restore_current_blog(), and the *_option() functions. Do not use site-options for blog option caching as this duplicated info and did not properly invalidate.
Props jeremyfelt
fixes #21270


git-svn-id: http://core.svn.wordpress.org/trunk@21357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 14:57:32 +00:00
azaozz
99496fb30c Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338
git-svn-id: http://core.svn.wordpress.org/trunk@21356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 03:56:27 +00:00
azaozz
93979aa0ef Widgets: Add the name of the widget to the Add and Edit buttons on the Accessible Widget Management Screen, props cannona, fixes #21338
git-svn-id: http://core.svn.wordpress.org/trunk@21355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-27 03:33:38 +00:00
ryan
564a7db2cb phpdoc for Customizer classes and methods. Props bananastalktome. see #21303
git-svn-id: http://core.svn.wordpress.org/trunk@21354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 21:45:33 +00:00
ryan
44ef6d8e80 Deprecate and stub _media_button. fixes #21317
git-svn-id: http://core.svn.wordpress.org/trunk@21353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 21:33:01 +00:00
ryan
1c175f829e Deprecate and stub _insert_into_post_button(). fixes #20427
git-svn-id: http://core.svn.wordpress.org/trunk@21352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 21:30:06 +00:00
ryan
c390c3afb0 Introduce wp_oembed_remove_provider(). Props r-a-y. fixes #16327
git-svn-id: http://core.svn.wordpress.org/trunk@21351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 20:18:27 +00:00
ryan
2417e42fe5 Improved phpdoc for file.php. Props tommcfarlin. fixes #21328
git-svn-id: http://core.svn.wordpress.org/trunk@21350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 15:08:30 +00:00
ryan
e02ea8023e Remove debug cruft. Props ocean90. fixes #21315
git-svn-id: http://core.svn.wordpress.org/trunk@21349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-26 15:01:44 +00:00
bumpbot
020cb0fd5a Compress scripts/styles: 3.5-alpha-21348.
git-svn-id: http://core.svn.wordpress.org/trunk@21348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 22:58:21 +00:00
azaozz
523ae5d425 Update ImgAreaSelect to 0.9.9 that fixes IE7 stack overflow error, props c3mdigital, fixes #21363, fixes #21348 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 22:43:04 +00:00
azaozz
d4e0c684d3 Bail out themes and plugins that have copied code from core and don't maintain it by requiring class-wp-editor.php in wp-langs.php, fixes #21350 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:59:29 +00:00
lancewillett
9f5310274b Twenty Twelve: enable async body class value changes for custom background color changes in Theme Customizer. See #21226.
git-svn-id: http://core.svn.wordpress.org/trunk@21343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:42:55 +00:00
lancewillett
080992c54b Twenty Twelve: improve table styles, props sennza and drewstrojny. Fixes #21261.
git-svn-id: http://core.svn.wordpress.org/trunk@21342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:15:55 +00:00
lancewillett
edc8dd9f0b Twenty Twelve: new screenshot, props drewstrojny. Fixes #21227.
git-svn-id: http://core.svn.wordpress.org/trunk@21341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:09:46 +00:00
lancewillett
fe813cf573 Twenty Twelve: update pre element styles, props senzza and drewstrojny. Fixes #21263.
git-svn-id: http://core.svn.wordpress.org/trunk@21340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 19:03:39 +00:00
bumpbot
0d4970e928 Compress scripts/styles: 3.5-alpha-21338.
git-svn-id: http://core.svn.wordpress.org/trunk@21339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:58:20 +00:00
lancewillett
a0dabb5b6c Twenty Twelve: give address element a little more line-height, props sennza and drewstrojny. Fixes #21262.
git-svn-id: http://core.svn.wordpress.org/trunk@21338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:58:04 +00:00
lancewillett
3fcb5b1764 Twenty Twelve: adjust styles for definition lists, props sennza and drewstrojny. Fixes #21259.
git-svn-id: http://core.svn.wordpress.org/trunk@21337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:55:33 +00:00
lancewillett
d9a33b924f Twenty Twelve: CSS cleanup for clearing float method. Use overflow: hidden; and leave the other method intact in .clear rule so child themes can use it if needed. See #21381.
git-svn-id: http://core.svn.wordpress.org/trunk@21336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:44:37 +00:00
azaozz
dcf3b84ebb Reset text-indent on the toolbar, props mfields, fixes #21362
git-svn-id: http://core.svn.wordpress.org/trunk@21335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:38:16 +00:00
lancewillett
8313567c35 Twenty Twelve: CSS cleanup for old prefixes. See #21381.
git-svn-id: http://core.svn.wordpress.org/trunk@21334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:13:41 +00:00
ryan
fdae8f9b42 Fix some spelling errors. Props thee17. fixes #21191
git-svn-id: http://core.svn.wordpress.org/trunk@21333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:06:13 +00:00
ryan
29e6ade734 Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365
git-svn-id: http://core.svn.wordpress.org/trunk@21332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 18:04:17 +00:00
lancewillett
f6b8c4779a Twenty Twelve: tag and category descriptions should not be part of h1 element. Props obenland, see #21255.
git-svn-id: http://core.svn.wordpress.org/trunk@21331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:55:50 +00:00
ryan
50fc51d8d2 Don't attempt to define the COMMENTS_TEMPLATE constant twice. Props kitchin. fixes #21337
git-svn-id: http://core.svn.wordpress.org/trunk@21330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:54:35 +00:00
lancewillett
8b283073d0 Twenty Twelve: remove unneeded filter (props nacin) and fix up PHP comment blocks in custom-header.php file for s/@package/@since/ on individual functions. See #21231.
git-svn-id: http://core.svn.wordpress.org/trunk@21329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:30:19 +00:00
lancewillett
cb4f0bf507 Twenty Twelve: remove back compat for custom header image, installs prior to 3.4 will not see it as an option. Props obenland, closes #21231.
git-svn-id: http://core.svn.wordpress.org/trunk@21328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:12:40 +00:00
lancewillett
80a592d548 Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:51:23 +00:00
lancewillett
d7ba9b6944 Twenty Twelve: add explanatory notes to top of style.css for the use of rem and pixel units for font-size and line-height values, props drewstrojny. See #21379.
git-svn-id: http://core.svn.wordpress.org/trunk@21326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:46:21 +00:00
lancewillett
f42eabe82b Twenty Twelve: set gray background as default, handling empty and white as fallback cases. See #21226.
Also fix incorrect logic for full-width-page.php page template check in `twentytwelve_body_class` function.


git-svn-id: http://core.svn.wordpress.org/trunk@21325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:28:50 +00:00
ryan
ef95736bce Set the global comment var before invoking callbacks in wp_list_comments(). Props sirzooro. fixes #21184
git-svn-id: http://core.svn.wordpress.org/trunk@21324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:27:48 +00:00
ryan
73addbbd24 More screen reader text for list table checkboxes and theme install search. Props MikeLittle, SergeyBiryukov. see #21325
git-svn-id: http://core.svn.wordpress.org/trunk@21323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:18:14 +00:00
ryan
f45383244d Fix per_page screen option for custom post types and taxonomies. Don't convert taxonomy and post type slugs from hyphen to underscore when saving the per_page usermeta. Props nacin. see #18958
git-svn-id: http://core.svn.wordpress.org/trunk@21322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:13:13 +00:00
bumpbot
6c82674ea0 Compress scripts/styles: 3.5-alpha-21321.
git-svn-id: http://core.svn.wordpress.org/trunk@21321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 06:58:20 +00:00
azaozz
883114f813 RTL css for the spinner in internal linking, see #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 05:15:26 +00:00
azaozz
e844940922 Put the spinner back to the right of the search field in internal linking, fixes #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 04:41:18 +00:00
ryan
72e4f612e2 Add screen reader text for search fields in theme-install.php. Props MikeLittle. see #21325
git-svn-id: http://core.svn.wordpress.org/trunk@21318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 18:31:03 +00:00
ryan
c36145c9aa Add screen reader text to checkboxes in list tables. Props MikeLittle, nacin. see #21325
git-svn-id: http://core.svn.wordpress.org/trunk@21317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 18:01:22 +00:00
ryan
5ac8a32840 Translate role names in the new user notification email. Props obenland. fixes #20764
git-svn-id: http://core.svn.wordpress.org/trunk@21316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 17:32:40 +00:00
ryan
91ab52d443 For get_settings_errors(), make sure errors from transient get added to the global variable and not unset when checking for an error of a specific setting. Also always return an array, as noted in the documentation. Props obenland. fixes #20833
git-svn-id: http://core.svn.wordpress.org/trunk@21315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 15:13:46 +00:00
bumpbot
ab56412645 Compress scripts/styles: 3.5-alpha-21314.
git-svn-id: http://core.svn.wordpress.org/trunk@21314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 02:58:23 +00:00
azaozz
21141ab1c0 Remove left-over style for the Categories postbox that had a typo and wasn't used, props tommcfarlin fixes #21360
git-svn-id: http://core.svn.wordpress.org/trunk@21313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 01:33:43 +00:00
bumpbot
8167046e99 Compress scripts/styles: 3.5-alpha-21312.
git-svn-id: http://core.svn.wordpress.org/trunk@21312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:58:22 +00:00
azaozz
34535097b7 Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).
Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.

Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.

See #21340.

git-svn-id: http://core.svn.wordpress.org/trunk@21311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:15:15 +00:00
azaozz
6d556cbcdb Make it possible to tab out of the plugin and theme editors textareas by pressing Esc followed by Tab, fixes #21347
git-svn-id: http://core.svn.wordpress.org/trunk@21310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 23:46:27 +00:00
bumpbot
63df9ad5e0 Compress scripts/styles: 3.5-alpha-21309.
git-svn-id: http://core.svn.wordpress.org/trunk@21309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:58:26 +00:00
azaozz
c176634781 Prevent WebKit from adding outline to #wpbody-content as a result of tabindex="-1", see #21361
git-svn-id: http://core.svn.wordpress.org/trunk@21308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:49:50 +00:00
azaozz
4a9e3f4297 Fix internal linking search spinner position, fixes #21351
git-svn-id: http://core.svn.wordpress.org/trunk@21306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:18:28 +00:00
azaozz
3df1783276 Add "Skip to content" link to all screens in the admin, fixes #21361
git-svn-id: http://core.svn.wordpress.org/trunk@21305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:00:06 +00:00