Lance Willett
719e80e8cd
Twenty Twelve: theme-options.php fixes from obenland, see #21685 .
...
* Capability is already set to 'edit_theme_options' by default
* Simplify logic for form input validation
git-svn-id: http://core.svn.wordpress.org/trunk@21623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:51:21 +00:00
Lance Willett
fe87773446
Twenty Twelve: JavaScript fix props obenland; no need to put the selector in a variable as it will be called only once anyway. See #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:47:34 +00:00
Lance Willett
b3711fba97
Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:41:32 +00:00
Lance Willett
61174d8cdf
Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:32:06 +00:00
Bot (Translations)
810869a520
POT, generated from r21617
...
git-svn-id: http://core.svn.wordpress.org/trunk@21619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:18:53 +00:00
Lance Willett
70ffe26854
Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:16:56 +00:00
Lance Willett
3ec703a6d1
Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:53:32 +00:00
Lance Willett
8932111b07
Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:50:05 +00:00
Bot (Translations)
9519b9d000
POT, generated from r21613
...
git-svn-id: http://core.svn.wordpress.org/trunk@21614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 00:19:05 +00:00
Lance Willett
6bf7377138
Twenty Twelve: bump theme version to .9
...
git-svn-id: http://core.svn.wordpress.org/trunk@21613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 23:41:25 +00:00
Lance Willett
b4fb1aaf21
Twenty Twelve: remove typo in r21611. No 13 fo' you.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:08:35 +00:00
Lance Willett
a1d39f1e1e
Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:07:19 +00:00
Andrew Nacin
d1b5eca1a5
Add 'order' to wp_get_archives(). props tar.gz. fixes #18832 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 20:50:22 +00:00
Andrew Nacin
e225c12704
Basic support for the mysql_connect() new_link and client_flags arguments. props Otto42, fixes #19324 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 17:44:21 +00:00
Andrew Nacin
1d46178afd
Remove the @return for WP_Admin_Bar::remove_node(). props scribu. fixes #20906 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 17:34:52 +00:00
Bot (Translations)
dc3801d2ac
POT, generated from r21605
...
git-svn-id: http://core.svn.wordpress.org/trunk@21607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:56 +00:00
Bot (Translations)
aef278a516
POT, generated from r21605
...
git-svn-id: http://core.svn.wordpress.org/trunk@21606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:49 +00:00
Andrew Nacin
7de27aaab7
Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:32:23 +00:00
Andrew Nacin
770ee9720a
Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
...
props lancewillett. fixes #21065 .
git-svn-id: http://core.svn.wordpress.org/trunk@21604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:22:14 +00:00
Lance Willett
feb752da92
Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 23:39:57 +00:00
Bot (Translations)
8feca73039
POT, generated from r21600
...
git-svn-id: http://core.svn.wordpress.org/trunk@21602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 21:18:27 +00:00
Ryan Boren
0352820e7b
Remove typo in phpdoc. see #21309 Props TobiasBg
...
git-svn-id: http://core.svn.wordpress.org/trunk@21601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 21:15:40 +00:00
Lance Willett
64afcc0dea
Twenty Twelve: include links to source code for html5 shiv and matchmedia polyfil, props jorbin. Fixes #21671 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:52:07 +00:00
Ryan Boren
bd94583aaf
Use get_post() instead of bare SQL in do_trackbacks(). see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:43:47 +00:00
Ryan Boren
18a1783423
Update phpdoc for functions that return WP_Post. Soft deprecate get_page(). see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:34:41 +00:00
Ryan Boren
f56d8278bb
Remove return ref from all calls to get_post()
...
Return WP_Post from get_default_post_to_edit()
Replace all calls to get_page() with get_post()
see #21309
git-svn-id: http://core.svn.wordpress.org/trunk@21597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:01:10 +00:00
Ryan Boren
6248d6221c
Don't overwrite the post global in _get_page_link(). see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 19:28:58 +00:00
Ryan Boren
1c44b15e63
Restore blog_option_* filter. see #21459
...
git-svn-id: http://core.svn.wordpress.org/trunk@21595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 16:04:39 +00:00
Andrew Nacin
33d56c303c
Remove references to still-existing files from the old files array. see #20980 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:58:43 +00:00
Andrew Nacin
aec38ee1af
Remove Prototype and script.aculo.us from core.
...
Continue to register them, pulling from ajax.googleapis.com. This is only being done for backwards compatibility;
libraries in use will continue to be local sources.
In the process, update to the latest versions of Prototype (1.7.1, June 5) and script.aculo.us (1.9.0, from 2010).
props helenyhou.
fixes #21661 , #16664 , #16665 .
git-svn-id: http://core.svn.wordpress.org/trunk@21593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:51:08 +00:00
Andrew Nacin
2710bcade1
Switch to .min for compressed JS and CSS files.
...
* This moves our "development" versions from .dev.js to .js (same for css).
* The compressed version then moves from .js to .min.js (same for css).
By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.
fixes #21633 .
git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
Daryl Koopersmith
5bf22749a3
Please welcome Underscore.js and Backbone.js to core. fixes #21664 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 22:24:20 +00:00
Ryan Boren
d7f724070e
jQuery 1.8.0 and jQuery UI 1.8.23. Props c3mdigital. see #21532
...
git-svn-id: http://core.svn.wordpress.org/trunk@21590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 21:20:15 +00:00
Bot (Assets)
975b727abd
Compress scripts/styles: 3.5-alpha-21589.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 20:58:31 +00:00
Andrew Ozz
4fee15a9b4
Better styling of theme filter, props SergeyBiryukov, fixes #21637
...
git-svn-id: http://core.svn.wordpress.org/trunk@21588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 19:16:31 +00:00
Bot (Assets)
245cb4acba
Compress scripts/styles: 3.5-alpha-21587.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:58:32 +00:00
Andrew Ozz
82d27641a5
Fix tabbing from the title to the editor on the Edit Post screen, see #21173
...
git-svn-id: http://core.svn.wordpress.org/trunk@21586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:29:42 +00:00
Ryan Boren
7515511dd9
Use get_posts() to fetch stickies rather than custom bare SQL. Props scribu. see #21309
...
git-svn-id: http://core.svn.wordpress.org/trunk@21585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:24:23 +00:00
Andrew Ozz
9f02c68a00
Don't hide the label for the Title on the Edit Post screen, use 'screen-reader-text' instead, props SergeyBiryukov, fixes #21458
...
git-svn-id: http://core.svn.wordpress.org/trunk@21584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 17:40:17 +00:00
Bot (Assets)
4f587a0515
Compress scripts/styles: 3.5-alpha-21583.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 16:58:25 +00:00
Andrew Ozz
a9229369ce
Remove erroneous vertical-align: center values, props helenyhou, fixes #20586
...
git-svn-id: http://core.svn.wordpress.org/trunk@21582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 15:23:10 +00:00
Ryan Boren
f11317881a
Resurrect the switched global. Some are still using it. see #21459
...
git-svn-id: http://core.svn.wordpress.org/trunk@21581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 03:34:00 +00:00
Bot (Assets)
4ce88d3d0f
Compress scripts/styles: 3.5-alpha-21580. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:58:28 +00:00
Andrew Ozz
af85f3afe2
Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925
...
git-svn-id: http://core.svn.wordpress.org/trunk@21579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:28:30 +00:00
Andrew Ozz
b35d8b150d
Remove text-shadow on hover from update and comments bubbles in the admin menu, props markjaquith, fixes #21449
...
git-svn-id: http://core.svn.wordpress.org/trunk@21578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:25:28 +00:00
Andrew Ozz
e00b17aac6
Replace the dark spinner with the light on the widgets screen and retire wpspin_dark.gif, props helenyhou and lessbloat, fixes #20957
...
git-svn-id: http://core.svn.wordpress.org/trunk@21577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 02:02:37 +00:00
Andrew Ozz
d2f6b4559f
Disable the (fake) image resizing in WebKit and Opera in TinyMCE 3.5.6, fix dragging image with caption in Firefox, see #21173
...
git-svn-id: http://core.svn.wordpress.org/trunk@21576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 01:47:53 +00:00
Bot (Assets)
9bd7b4811b
Compress scripts/styles: 3.5-alpha-21575.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:58:27 +00:00
Andrew Ozz
0b92d7c941
Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
...
git-svn-id: http://core.svn.wordpress.org/trunk@21574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:46:30 +00:00
Lance Willett
5ee453f570
Twenty Twelve: s/Show navigation/Show menu/ in small menu button text, props nacin. See #21562 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 17:31:33 +00:00