Commit Graph

19691 Commits

Author SHA1 Message Date
bumpbot 4777f4f5ba Compress scripts/styles: 3.5-alpha-21297.
git-svn-id: https://develop.svn.wordpress.org/trunk@21297 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-21 00:58:19 +00:00
Andrew Ozz 4dea1596a9 Add query args to refresh the sprite images, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@21296 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 23:38:23 +00:00
Andrew Ozz f90d787959 Retina: fix the icon positions in the original editor buttons sprite, reset the css tweaks and adjust the positions in the 2x sprite, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@21295 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 23:07:48 +00:00
Andrew Nacin 09c0ae245f If $group is empty in WP_Object_Cache::decr(), consider it to be 'default'.
This is consistent with the rest of the cache methods wrapped by
functions; the functions pass an empty string by default, hence
the need for this check.

props bananastalktome.
fixes #21327.



git-svn-id: https://develop.svn.wordpress.org/trunk@21294 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 20:15:25 +00:00
Ryan Boren a5d94bef07 Introduce cron_request filter. Props ikailo. fixes #13449
git-svn-id: https://develop.svn.wordpress.org/trunk@21293 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 15:15:22 +00:00
Andrew Nacin 6b6bea5e0d Only run stripslashes() in stripslashes_deep() for strings, not other scalar values. props Kawauso, knutsp. props coffee2code for [UT698]. fixes #18026.
git-svn-id: https://develop.svn.wordpress.org/trunk@21292 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 15:14:26 +00:00
Andrew Nacin f01b41eb1e Fix order of @param's for deactivate_plugins(). props Viper007Bond, fixes #21269.
git-svn-id: https://develop.svn.wordpress.org/trunk@21291 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 15:09:40 +00:00
Andrew Nacin 0887beb1d8 Fix typo in HTTP docblock. props ocean90. fixes #21215.
git-svn-id: https://develop.svn.wordpress.org/trunk@21290 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 15:09:11 +00:00
Andrew Nacin f4fc103c50 Use html_type for alternate link elements in atom feeds, as done in atom comment feeds. props niallkennedy. fixes #21305.
git-svn-id: https://develop.svn.wordpress.org/trunk@21289 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 15:08:45 +00:00
Andrew Nacin 50cd56f8fd Clarify the return value of has_filter() and has_action(). It returns a boolean if only the first argument is specified. If the second argument is specified, it returns false or an integer, which means it may return a non-boolean value that evaluates to false (so, 0), so you should take care to use the === operator.
Correct the function definition of remove_filter() and remove_action(), which 'accepted' an $accepted_args argument, but did not require or use it.

fixes #19417.



git-svn-id: https://develop.svn.wordpress.org/trunk@21288 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 13:54:42 +00:00
Andrew Nacin 11e877bcb8 Remove unnecessary is_null() checks from the worker loops inside do_action(), apply_filters(), etc. fixes #21321. see #21169.
git-svn-id: https://develop.svn.wordpress.org/trunk@21287 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 05:25:37 +00:00
Mark Jaquith ec527ab07d Clear the get_pages cache whenever ANY hierarchical post type cache is cleared — not just Pages. fixes #21279
git-svn-id: https://develop.svn.wordpress.org/trunk@21286 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 04:35:51 +00:00
Andrew Nacin 237b7f6dbe Improve the performance of WP_Object_Cache's _exists() method.
Results showed a performance improvement on one admin screen of 90ms (~2%).

fixes #21320. see #20004.



git-svn-id: https://develop.svn.wordpress.org/trunk@21285 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 04:21:42 +00:00
bumpbot d43f1b9948 Compress scripts/styles: 3.5-alpha-21284.
git-svn-id: https://develop.svn.wordpress.org/trunk@21284 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-19 16:58:20 +00:00
Andrew Ozz c7562f7aa9 Admin menu: add z-index to the pending/updates count bubbles, props ocean90, fixes #20502
git-svn-id: https://develop.svn.wordpress.org/trunk@21283 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-19 16:51:02 +00:00
bumpbot f81d86ae2a Compress scripts/styles: 3.5-alpha-21282.
git-svn-id: https://develop.svn.wordpress.org/trunk@21282 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 22:58:20 +00:00
Andrew Ozz 9847f571b9 Widgets UI: make the whole "header" clickable to open/close the widget (same as postboxes), remove deprecated jQuery .live(), part props lessbloat, fixes #21247
git-svn-id: https://develop.svn.wordpress.org/trunk@21281 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 22:41:43 +00:00
Lance Willett 4fb5c2778f 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: https://develop.svn.wordpress.org/trunk@21280 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:41:17 +00:00
Lance Willett 8dc9cd8698 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: https://develop.svn.wordpress.org/trunk@21279 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:13:49 +00:00
Lance Willett 4686ae30de Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291.
git-svn-id: https://develop.svn.wordpress.org/trunk@21278 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:06:18 +00:00
Lance Willett 1a52aad25f 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: https://develop.svn.wordpress.org/trunk@21277 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:03:38 +00:00
Lance Willett 03eca08891 Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: https://develop.svn.wordpress.org/trunk@21276 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 17:07:15 +00:00
Lance Willett 5c27dfc67c Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.
git-svn-id: https://develop.svn.wordpress.org/trunk@21275 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 16:26:40 +00:00
bumpbot 1879bb5571 Compress scripts/styles: 3.5-alpha-21273. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21273 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-14 02:58:20 +00:00
Andrew Ozz b3fdac2a17 TinyMCE: add the Alt + W shortcut only when DFW is loaded and Alt + G only when MCE fullscreen is loaded, fixes #21197
git-svn-id: https://develop.svn.wordpress.org/trunk@21272 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-14 01:46:54 +00:00
bumpbot b25666a393 Compress scripts/styles: 3.5-alpha-21271.
git-svn-id: https://develop.svn.wordpress.org/trunk@21271 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 02:58:22 +00:00
Andrew Ozz 062325379f Widgets: ensure the "drop zone" matches the height of the Inactive Widgets container, fixes #21250
git-svn-id: https://develop.svn.wordpress.org/trunk@21270 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 01:47:16 +00:00
bumpbot 47002c1652 Compress scripts/styles: 3.5-alpha-21269. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21269 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:58:19 +00:00
Lance Willett b21d21dc52 Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: https://develop.svn.wordpress.org/trunk@21268 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:36:27 +00:00
Lance Willett 2934b3d7b0 Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248.
git-svn-id: https://develop.svn.wordpress.org/trunk@21267 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:27:29 +00:00
Andrew Ozz 9423d09005 TinyMCE: update the keyboard shortcuts: Alt + letter for Firefox and WebKit, Alt + Shift + letter for IE and Opera, add shortcut for DFW (Alt + W), see #21214, fixes #21197, fixes #17992
git-svn-id: https://develop.svn.wordpress.org/trunk@21266 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:26:49 +00:00
Lance Willett 94eb96e85a Twenty Twelve: update search title styling to be consistent with archive title styling. Fixes #21239, props saltcod.
git-svn-id: https://develop.svn.wordpress.org/trunk@21265 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:17:05 +00:00
Lance Willett 5ab1806b37 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: https://develop.svn.wordpress.org/trunk@21264 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:08:52 +00:00
Lance Willett 09635ed0cb Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21263 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 23:53:27 +00:00
Lance Willett 008b1d5810 Twenty Twelve: fix @package documentation, props obenland. Fixes #21232.
git-svn-id: https://develop.svn.wordpress.org/trunk@21262 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 23:28:33 +00:00
Andrew Nacin 4cc47e2034 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: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 04:20:46 +00:00
Peter Westwood 86d82ac795 Multisite: Tidy up [21256] and introduce/correct PHPDoc for a few other media upload functions.
Fixes #21179 props SergeyBiryukov.


git-svn-id: https://develop.svn.wordpress.org/trunk@21260 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-11 10:20:15 +00:00
Andrew Nacin e6eda2b3f7 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: https://develop.svn.wordpress.org/trunk@21259 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 21:26:35 +00:00
Andrew Nacin 8a7ca493ad Admin bar: Avoid clash with a parent node and a 'content' post type. see #21117.
git-svn-id: https://develop.svn.wordpress.org/trunk@21258 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 20:46:22 +00:00
Andrew Nacin aa7f457bfb Tabs, not spaces for intendation. Add a docblock to the file/class.
git-svn-id: https://develop.svn.wordpress.org/trunk@21257 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 20:32:48 +00:00
Peter Westwood cebf4e277b 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: https://develop.svn.wordpress.org/trunk@21256 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 13:33:44 +00:00
bumpbot 95aac8c091 Compress scripts/styles: 3.5-alpha-21255. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21255 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 02:58:25 +00:00
Andrew Ozz e69e38219b 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: https://develop.svn.wordpress.org/trunk@21254 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 02:31:30 +00:00
Andrew Nacin e256a654ba Deprecate sticky_class() in favor of post_class(). props solarissmoke, fixes #16675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21253 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 21:10:59 +00:00
Andrew Nacin c418e6c76e Remove unused global reference. props ampt. fixes #20863.
git-svn-id: https://develop.svn.wordpress.org/trunk@21252 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 19:48:04 +00:00
Andrew Nacin de52076568 Only obey the RELOCATE move flag if it evaluates to true. props TomAuger, JustinSainton, fixes #20636.
git-svn-id: https://develop.svn.wordpress.org/trunk@21251 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 19:32:09 +00:00
Andrew Nacin 041b5f7af1 HTML object tags are self-nestable. props coffee2code. fixes #20401.
git-svn-id: https://develop.svn.wordpress.org/trunk@21250 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 19:27:44 +00:00
Andrew Nacin 6cc01f0113 Fix the 'Display item date' configuration option for the Incoming Links dashboard widget. props Latz, SergeyBiryukov, fixes #20644.
git-svn-id: https://develop.svn.wordpress.org/trunk@21249 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 19:16:53 +00:00
Andrew Nacin 9f9f2bcf13 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: https://develop.svn.wordpress.org/trunk@21248 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 17:28:55 +00:00
bumpbot 4c7b1daf92 Compress scripts/styles: 3.5-alpha-21247.
git-svn-id: https://develop.svn.wordpress.org/trunk@21247 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 06:58:24 +00:00