Commit Graph

18584 Commits

Author SHA1 Message Date
Andrew Ozz 80df7fe2cf Fix second callback when filtering caption text for shortcode, props SergeyBiryukov, fixes #20369
git-svn-id: https://develop.svn.wordpress.org/trunk@20376 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 17:38:49 +00:00
Andrew Nacin 6e3ed8bbf9 Internally cache themes inside wp_get_themes() by theme_root as well as stylesheet, to avoid conflicts with future calls to wp_get_themes(). Always return only the last stylesheet found, as before. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20375 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 20:38:42 +00:00
Andrew Nacin 596c72cafa Child theme files need to override parent theme files. The array_merge() arguments are swapped. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20374 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 20:36:34 +00:00
Peter Westwood 7ffdb1a514 Fix typo in [20372] - See #19922 props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@20373 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 15:34:28 +00:00
Peter Westwood 35cfb293e7 HTTP: Don't force cookie values to be urlencoded because it breaks usage of cookies in some scenarios like the LiveJournal Importer. Instead add a filter for a plugin to use if it really wants to have the cookie mangled. Fixes #19922 props pw201, dllh and kurtpayne.
git-svn-id: https://develop.svn.wordpress.org/trunk@20372 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 15:17:34 +00:00
bumpbot c16ba6d8c7 Compress scripts/styles: 3.4-beta1-20370.
git-svn-id: https://develop.svn.wordpress.org/trunk@20371 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:58:23 +00:00
Dion Hulse 20141db4eb WP_HTTP: Curl: Correct a typo in [20208] causing failed curl requests not to return a WP_Error under certain situations. Props SergeyBiryukov. Fixes #20219
git-svn-id: https://develop.svn.wordpress.org/trunk@20370 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:58:04 +00:00
Jon Cave 8578804f80 Remove duplicate JavaScript. Props aaroncampbell. See #19840, fixes #20363.
git-svn-id: https://develop.svn.wordpress.org/trunk@20369 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:14:32 +00:00
bumpbot 62c705e044 Compress scripts/styles: 3.4-beta1-20368.
git-svn-id: https://develop.svn.wordpress.org/trunk@20368 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:57:33 +00:00
Andrew Ozz 214f1e8672 Dashboard icon back in, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20367 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:55:35 +00:00
Ryan Boren 9f64f9aa35 Beta 1 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@20366 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:46:45 +00:00
bumpbot dcda0d1c10 Compress scripts/styles: 3.4-alpha-20365.
git-svn-id: https://develop.svn.wordpress.org/trunk@20365 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:34:01 +00:00
Andrew Ozz 130b4f2645 More specific selectors for the 2x images take 2, don't specify background-size for the 1x background, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20364 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:30:06 +00:00
Andrew Nacin f9a131231d Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists() or \$theme->errors() to confirm the requested theme actually exists. see #20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20363 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:05:49 +00:00
Andrew Ozz 7ceb8f1a68 More specific selectors for the 2x images, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20362 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:02:36 +00:00
bumpbot 897d692c6d Compress scripts/styles: 3.4-alpha-20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20361 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:58:26 +00:00
Andrew Nacin 7e614e2ff1 Empty media-gallery.js - bumpbot hungry. see [20359].
git-svn-id: https://develop.svn.wordpress.org/trunk@20360 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:23:12 +00:00
Ryan Boren 5ca4c46c85 Add media-gallery js. see #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20359 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:21:28 +00:00
Ryan Boren 485e7bc261 Allow selecting custom header and background images from the media library. Props aaroncampbell, sabreuse, greuben. fixes #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20358 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:20:28 +00:00
bumpbot f027063f41 Compress scripts/styles: 3.4-alpha-20357.
git-svn-id: https://develop.svn.wordpress.org/trunk@20357 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 23:58:25 +00:00
Andrew Ozz f62e952ae9 Double-size icons and WordPress logo for retina displays, props chexee, props empireoflight, props iammattthomas, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20356 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 23:02:51 +00:00
bumpbot 7f938af8c5 Compress scripts/styles: 3.4-alpha-20355.
git-svn-id: https://develop.svn.wordpress.org/trunk@20355 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:58:23 +00:00
Daryl Koopersmith 786145ebbf Theme Customizer: Add a link to customize the current theme. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20354 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:41:51 +00:00
Peter Westwood b57bf8a36d XMLRPC: Make sure that we always return valid dates when no date is currently set - for example if the post is pending. Fixes #19733 props markoheijnen and koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@20353 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:32:28 +00:00
Daryl Koopersmith 31caea7b9b Theme Customizer: Improve the customize loader and themes list table markup. see #19910.
* Use event delegation for triggering the customize loader (so we play nicely with infinite scroll).
* Use data attributes on .load-customize links instead of parsing the href.
* Properly translate the 'Customize' string instead of injecting the replacement with JS.

git-svn-id: https://develop.svn.wordpress.org/trunk@20352 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:02:29 +00:00
Peter Westwood dfab3319f8 XMLRPC: Add a check in mw.newPost to stop the authorID being changed to an invalid value. Fixes #20356 props maxcutler.
git-svn-id: https://develop.svn.wordpress.org/trunk@20351 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 20:11:21 +00:00
Jon Cave d90bb2403a Make comment type filter persist across views (e.g. approved, spam) of the list of comments. Fixes #20281.
git-svn-id: https://develop.svn.wordpress.org/trunk@20350 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 17:36:23 +00:00
Jon Cave ecd1caa054 Add some missing documentation and fix a couple of typos. Props roscius. Fixes #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@20349 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 17:32:03 +00:00
bumpbot 0d6710383f Compress scripts/styles: 3.4-alpha-20348.
git-svn-id: https://develop.svn.wordpress.org/trunk@20348 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 02:58:22 +00:00
Andrew Ozz 8df58a787f RTL for the responsive columns, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20347 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 02:46:38 +00:00
Andrew Ozz 9dcc77d9c1 Make the layout of the tables on edit link screen "liquid" so they can be shown on the side, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20346 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 02:45:30 +00:00
bumpbot 825926267f Compress scripts/styles: 3.4-alpha-20345.
git-svn-id: https://develop.svn.wordpress.org/trunk@20345 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-03 22:58:20 +00:00
Daryl Koopersmith 9218ead840 Theme Customizer: Improve data binding in wp.customize.Value and wp.customize.Values. see #19910.
* Replace the convoluted wp.customize.Value.link method with a simple shortcut for direct binding.
* Add wp.customize.Value.sync for bidirectional linking.
* Add wp.customize.Value.setter for handling compound values (instead of using wp.customize.Value.link).

git-svn-id: https://develop.svn.wordpress.org/trunk@20344 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-03 22:04:40 +00:00
bumpbot f3e171b253 Compress scripts/styles: 3.4-alpha-20343.
git-svn-id: https://develop.svn.wordpress.org/trunk@20343 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 22:58:19 +00:00
Andrew Ozz 7e34db14c8 Fix adding of parent theme's editor-style before child theme's, props SergeyBiryukov, see #19437
git-svn-id: https://develop.svn.wordpress.org/trunk@20342 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 22:26:11 +00:00
Andrew Ozz 05071148d9 Editor: fix adding a link in WebKit to floated image, fixes #16569
git-svn-id: https://develop.svn.wordpress.org/trunk@20341 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 22:16:30 +00:00
Ryan Boren 467f9af92d Remove jQuery Masonry. Fully reverts [20060]. see #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@20340 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 20:05:35 +00:00
bumpbot 3a460964ae Compress scripts/styles: 3.4-alpha-20339.
git-svn-id: https://develop.svn.wordpress.org/trunk@20339 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-01 22:58:18 +00:00
Andrew Ozz ffbdfe9b06 Fix getting the checked radio button when attaching orphan attachments, props solarissmoke SergeyBiryukov, fixes #16655
git-svn-id: https://develop.svn.wordpress.org/trunk@20338 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-01 22:46:29 +00:00
Andrew Nacin 816ebbd616 jQuery 1.7.2. props ocean90. fixes #20339.
git-svn-id: https://develop.svn.wordpress.org/trunk@20337 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-01 20:13:36 +00:00
bumpbot c4e65f5f3f Compress scripts/styles: 3.4-alpha-20336.
git-svn-id: https://develop.svn.wordpress.org/trunk@20336 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-31 17:58:19 +00:00
Andrew Ozz 603565a190 Switch to one column on the edit/write screens at 850px (the editor becomes unusable at narrower screens and two columns), see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20335 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-31 17:00:08 +00:00
Andrew Ozz 790f4e47f9 Rename back the handle for the editor CSS, props nacin, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20334 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-31 16:32:47 +00:00
Andrew Nacin 467905e308 Use 'Keyword' instead of 'Term' in the search type selector in the plugin and theme installers. see #19619.
git-svn-id: https://develop.svn.wordpress.org/trunk@20333 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 21:17:22 +00:00
Andrew Nacin 48c5af2ac0 Clean up cap checks for autocompletes for sites and users in a network. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@20332 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 21:04:48 +00:00
Andrew Nacin 47a29d2c26 Ensure we get a theme back from wp_get_theme() before checking ->errors(). see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20331 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 16:35:51 +00:00
Peter Westwood efdcdfdf36 Avoid fatal errors in check_theme_switched() if we fail to get a WP_Theme object for the old theme. Fixes #20334.
git-svn-id: https://develop.svn.wordpress.org/trunk@20330 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 15:13:12 +00:00
Andrew Nacin 8abd8624be Clear WP_Theme caches on update. fixes #20331.
git-svn-id: https://develop.svn.wordpress.org/trunk@20329 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 14:46:52 +00:00
Andrew Nacin 09f946105d Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.
git-svn-id: https://develop.svn.wordpress.org/trunk@20328 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 14:39:05 +00:00
Andrew Nacin e9c7faff7c Set WP_Theme::scandir()'s default depth to 0 (flat), as intended. Cache untranslated page template names. Properly merge in a parent theme's templates when dealing with cached values. Always look one level deep for WP_Theme->get_files() regardless of file type. see #20103. see #11216.
git-svn-id: https://develop.svn.wordpress.org/trunk@20327 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 14:06:33 +00:00