Commit Graph

19414 Commits

Author SHA1 Message Date
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
nacin 70791f60b9 Deprecate sticky_class() in favor of post_class(). props solarissmoke, fixes #16675.
git-svn-id: http://core.svn.wordpress.org/trunk@21253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 21:10:59 +00:00
nacin 62c65ba3ef Remove unused global reference. props ampt. fixes #20863.
git-svn-id: http://core.svn.wordpress.org/trunk@21252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:48:04 +00:00
nacin 489f6828d8 Only obey the RELOCATE move flag if it evaluates to true. props TomAuger, JustinSainton, fixes #20636.
git-svn-id: http://core.svn.wordpress.org/trunk@21251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:32:09 +00:00
nacin 6c2720b7d1 HTML object tags are self-nestable. props coffee2code. fixes #20401.
git-svn-id: http://core.svn.wordpress.org/trunk@21250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:27:44 +00:00
nacin cacce8add0 Fix the 'Display item date' configuration option for the Incoming Links dashboard widget. props Latz, SergeyBiryukov, fixes #20644.
git-svn-id: http://core.svn.wordpress.org/trunk@21249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 19:16:53 +00:00
nacin cc06e13817 Use is_main_query() method, rather than the function. Only decode the search query variable if we are executing the main query and it came from the /search/ base, rather than the query string. fixes #13961.
git-svn-id: http://core.svn.wordpress.org/trunk@21248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 17:28:55 +00:00
bumpbot 878db9bd76 Compress scripts/styles: 3.5-alpha-21247.
git-svn-id: http://core.svn.wordpress.org/trunk@21247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:58:24 +00:00
azaozz d47fd9d12c Add 2x icons for the list/excerpt switch on the Posts screen, props empireoflight, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:53:43 +00:00
azaozz d726a5fb71 TinyMCE icons sprite with tweaked positions, props lessbloat, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:11:30 +00:00
markjaquith d80cb05db0 Increase the height of the widget drag/drop placeholder by one pixel so it matches the size of the dragged widget. props alexvorn2. props SergeyBiryukov. fixes #21054
git-svn-id: http://core.svn.wordpress.org/trunk@21244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:21:59 +00:00
markjaquith 364763adfe Remove an errant 1 pixel border below the header image in Twenty Eleven. props alexvorn2. props SergeyBiryukov. fixes #21057
git-svn-id: http://core.svn.wordpress.org/trunk@21243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:13:50 +00:00
markjaquith d644bc50b0 Collapse an i18n context to make it more accurate and to make for one less string to translate. props pavelevap. fixes #21137
git-svn-id: http://core.svn.wordpress.org/trunk@21242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:08:43 +00:00
markjaquith d65e49c9f3 Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149
git-svn-id: http://core.svn.wordpress.org/trunk@21241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:03:53 +00:00
markjaquith 109768b788 Hide UI for Attachment taxonomies if show_ui is false for that taxonomy. props simonwheatley. fixes #21104
git-svn-id: http://core.svn.wordpress.org/trunk@21240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 04:56:50 +00:00
markjaquith 3e371b4587 Supply the missing @return doc for get_the_content_feed(). props c3mdigital. fixes #21148
git-svn-id: http://core.svn.wordpress.org/trunk@21239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 04:51:00 +00:00
markjaquith a96c5c0b2a Use a CDATA section for RSS2 comments feeds, so HTML in comments doesn't kill XML validation. props bazza. fixes #16466
git-svn-id: http://core.svn.wordpress.org/trunk@21238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 04:25:57 +00:00
markjaquith 3b46a53530 Do not block XML-RPC uploads when upload_space_check_disabled is true, regardless of fileupload_maxk value. props SergeyBiryukov. fixes #16217
git-svn-id: http://core.svn.wordpress.org/trunk@21237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:49:23 +00:00
markjaquith 09f66013f5 Do not display an error message when a plugin or theme being updated is found to already be up to date. Note the fact, and call it success. props solarissmoke. fixes #19752
git-svn-id: http://core.svn.wordpress.org/trunk@21236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:40:32 +00:00
markjaquith 87125fe8b5 Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604
git-svn-id: http://core.svn.wordpress.org/trunk@21235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:33:01 +00:00
markjaquith ecea277a8a Insert a proper line break (instead of an HTML line break) into the "first comment". props nacin. fixes #16712
git-svn-id: http://core.svn.wordpress.org/trunk@21234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 03:19:02 +00:00
bumpbot f40ddd4ecc Compress scripts/styles: 3.5-alpha-21233. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 22:58:20 +00:00
azaozz 851db96416 TinyMCE: don't throw fatal errors for malformed/invalid image caption shortcodes, props SergeyBiryukov, see #21145
git-svn-id: http://core.svn.wordpress.org/trunk@21232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 21:11:23 +00:00
dd32 251719c5e5 WP_HTTP: Add a @link to the Chunked Decode RFC for documentation of how to decode the data correctly. Props mailnew2ster. Fixes #14184
git-svn-id: http://core.svn.wordpress.org/trunk@21231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 05:34:47 +00:00
dd32 6f29700fdb WP_HTTP: Remove a empty() check that would never be empty due to the format of HTTP Headers, value would always contain at least a space followed by the value. See #14184
git-svn-id: http://core.svn.wordpress.org/trunk@21230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-08 05:16:26 +00:00
bumpbot 0230a753ec Compress scripts/styles: 3.5-alpha-21229. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 16:58:20 +00:00
azaozz 54294ad174 Update TinyMCE to 3.5.4.1, fixes #21173
git-svn-id: http://core.svn.wordpress.org/trunk@21228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 16:22:53 +00:00
dd32 4db9e5c605 WP_HTTP: Allow for cookies with "empty" values be sent, this affects sending cookies such as test=0, which would previously fail. Props mailnew2ster for initial patch. See #14184
git-svn-id: http://core.svn.wordpress.org/trunk@21227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 12:06:09 +00:00
dd32 2005aed7e6 WP_HTTP: Respect that some cookies do not have an expiration time, this is a valid use-case that WP_HTTP_Cookie::test() should not discard, a non-existant expiration date simply means to let it expire at the end of the session. Props mailnew2ster. Fixes #14191
git-svn-id: http://core.svn.wordpress.org/trunk@21226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 04:23:49 +00:00
dd32 9ed35c4586 WP_HTTP: Add a filter to WP_HTTP_Proxy::send_through_proxy() to allow for plugins to modify which requests are sent to a proxy dynamically. Fixes #20222
git-svn-id: http://core.svn.wordpress.org/trunk@21225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-07 02:27:13 +00:00
dd32 509b845abc Make get_home_path() work in more cases by being case insensitive and sanitzing Windows paths. In some cases (such as differing case of hostnames or paths in the site/home options, or when SCRIPT_FILENAME contains forward slashes) the function was failing to return the correct path, and would instead return /. Props to SergeyBiryukov for the initial patch. Fixes #20449 Fixes #10447
git-svn-id: http://core.svn.wordpress.org/trunk@21224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 13:54:15 +00:00
dd32 2a708450ec WP_Filesystem: Return symlinked directory names correctly, previously the FTP extensions would return it as 'source -> dest' instead of simply 'source'. Props kurtpayne. Fixes #17846
git-svn-id: http://core.svn.wordpress.org/trunk@21223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 11:39:39 +00:00
dd32 18e83f9c36 WP_Filesystem: When recursivly searching for a directory path, only search for unfound directory entries. This solves a case where the same directory may be entered twice inadvertantly when nested directories using the same name exist. Fixes #20652
git-svn-id: http://core.svn.wordpress.org/trunk@21222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 11:19:46 +00:00
dd32 6c6d746637 WP_Filesystem: Correct a rare case where the FTP directory will be detected incorrectly when the final path token exists higher in the chain, for example /x/x/Z/x/Z/ would be detected as /x/x/Z/. Fixes #20934
git-svn-id: http://core.svn.wordpress.org/trunk@21221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-06 10:41:32 +00:00
bumpbot 02192b7f71 Compress scripts/styles: 3.5-alpha-21220.
git-svn-id: http://core.svn.wordpress.org/trunk@21220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:58:21 +00:00