Commit Graph

19448 Commits

Author SHA1 Message Date
lancewillett 40d63f512c 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 4dcb39d686 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
lancewillett cef178b816 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 8ed8de23f2 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 dfb9c25a3e 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 474632b1b6 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 6a163cce8f 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 f5bfd83df8 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 b40c57105e 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 9d945f2eed 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 f9d4e63589 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 78cccedf1d 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
lancewillett f806640b28 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 3f9cb1e5e0 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 aa0491f413 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 8fc51e8ad3 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 0a22b3a88f 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 c163a3a642 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 6228e557fe 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 04fc749e50 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
lancewillett 60ed3d3773 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 43ba7ef82c 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 d23ef13dda 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
lancewillett 2bc8fc305d 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
lancewillett 8b6122a94f 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
lancewillett c5acc52beb 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 a6bb6202b7 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 e1ff5dca6b 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 8126fc54b2 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 90f4303960 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
lancewillett 763685ae9d Twenty Twelve: update theme options file to use PHP5 constructor and visibility keywords, and also minor DocBlock cleanup. Props Mamaduka and obenland, closes #21297.
git-svn-id: http://core.svn.wordpress.org/trunk@21280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:41:17 +00:00
lancewillett f16fc0c431 Twenty Twelve: Update full-width handling with a missing CSS selector, and add case of no sidebar to the content_width calculation. Props obenland, fixes #21254.
git-svn-id: http://core.svn.wordpress.org/trunk@21279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:13:49 +00:00
lancewillett e57205a236 Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291.
git-svn-id: http://core.svn.wordpress.org/trunk@21278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:06:18 +00:00
lancewillett ceebd16dc3 Twenty Twelve: add styles for common HTML elements in comment content, and also style up password protected form. Props drewstrojny, fixes #21242.
git-svn-id: http://core.svn.wordpress.org/trunk@21277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:03:38 +00:00
lancewillett f368144a7c Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 17:07:15 +00:00
lancewillett d8a7fc395e Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 16:26:40 +00:00
lancewillett fc71e92c21 Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:36:27 +00:00
lancewillett 5621400377 Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248.
git-svn-id: http://core.svn.wordpress.org/trunk@21267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:27:29 +00:00
lancewillett 1987dfa0a1 Twenty Twelve: update search title styling to be consistent with archive title styling. Fixes #21239, props saltcod.
git-svn-id: http://core.svn.wordpress.org/trunk@21265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:17:05 +00:00
lancewillett f6acaa5817 Twenty Twelve: improve screen-reader-text handling (aka assistive-text) to use text hiding technique more friendly for RTL.
Also remove a duplicate CSS declaration as the same selector exists below in the file.


git-svn-id: http://core.svn.wordpress.org/trunk@21264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:08:52 +00:00
lancewillett 23b119e304 Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 23:53:27 +00:00
lancewillett a94354de25 Twenty Twelve: fix @package documentation, props obenland. Fixes #21232.
git-svn-id: http://core.svn.wordpress.org/trunk@21262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 23:28:33 +00:00
nacin 1dd45e6d6c The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 04:20:46 +00:00
westi 4c33feb5ef Multisite: Tidy up [21256] and introduce/correct PHPDoc for a few other media upload functions.
Fixes #21179 props SergeyBiryukov.


git-svn-id: http://core.svn.wordpress.org/trunk@21260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-11 10:20:15 +00:00
nacin 189e833139 Admin bar: When calling add_node() for an existing node, all properties should be merged into the existing arguments, including individual meta arguments. Corrects a logic inversion. fixes #21117.
git-svn-id: http://core.svn.wordpress.org/trunk@21259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 21:26:35 +00:00
nacin ebd7e61ac9 Admin bar: Avoid clash with a parent node and a 'content' post type. see #21117.
git-svn-id: http://core.svn.wordpress.org/trunk@21258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 20:46:22 +00:00
nacin 6cb67e8817 Tabs, not spaces for intendation. Add a docblock to the file/class.
git-svn-id: http://core.svn.wordpress.org/trunk@21257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 20:32:48 +00:00
westi 2039e3a8f0 Multisite: Make it easy to replace or augment the over-quota message displayed when you try and upload new media and you have reached your quota.
Fixes #21179 props dllh, jkudish. 


git-svn-id: http://core.svn.wordpress.org/trunk@21256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 13:33:44 +00:00
bumpbot 4a5816348c Compress scripts/styles: 3.5-alpha-21255. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 02:58:25 +00:00
azaozz 90deeab136 TinyMCE: when pressing Enter while an image with caption is selected, fix moving the caret in a new paragraph under it, fix opening the Image Properties popup in IE9, see #21173
git-svn-id: http://core.svn.wordpress.org/trunk@21254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-10 02:31:30 +00:00