Commit Graph

25505 Commits

Author SHA1 Message Date
Andrew Nacin
101863ea1d Network Admin: Case-insensitive comparisons for the network-site comparison in the bootstrap.
props jeremyfelt.
fixes #17168.


git-svn-id: https://develop.svn.wordpress.org/trunk@27725 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:06:26 +00:00
Andrew Nacin
51847e0c73 Multisite: Lowercase REQUEST_URI when matching paths.
props markjaquith, jeremyfelt.
fixes #26403.


git-svn-id: https://develop.svn.wordpress.org/trunk@27724 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 21:04:23 +00:00
Drew Jaynes (DrewAPicture)
9215e9f5ab Fix a typo in the deleted_{$meta_type}_meta hook description.
Props aliso.
Fixes #25826.


git-svn-id: https://develop.svn.wordpress.org/trunk@27723 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 20:33:21 +00:00
Andrew Nacin
80fcbd5cf7 Use dashicons in header images in the customizer.
props mcsf.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27722 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 19:50:19 +00:00
Andrew Nacin
e1c2e01c18 Update grunt-patch-wordpress to 0.2.0.
props jorbin, yoavf, sabreuse.
see #27023.


git-svn-id: https://develop.svn.wordpress.org/trunk@27721 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:47:24 +00:00
Scott Taylor
815adc833a Popular tags' edit links should respect the current post type. Adds unit test.
Props mordauk, fahmiadib.
Fixes #25566.



git-svn-id: https://develop.svn.wordpress.org/trunk@27720 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:39:26 +00:00
Andrew Nacin
fbb2e1dc89 Transients: Allow a non-expiring transient to be updated with an expiry.
props shahpranaf, sandyr.
fixes #22807.


git-svn-id: https://develop.svn.wordpress.org/trunk@27719 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 18:22:49 +00:00
Andrew Nacin
07eb830a9b Ensure the $path is trailing-slashed in domain_exists().
Adds tests for [27717].

props ejdanderson, ericmann.
fixes #20589.


git-svn-id: https://develop.svn.wordpress.org/trunk@27718 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 17:39:08 +00:00
Andrew Nacin
89d81da181 Ensure the $path is trailing-slashed in domain_exists().
props ejdanderson, ericmann.
fixes #18209.


git-svn-id: https://develop.svn.wordpress.org/trunk@27717 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 17:31:37 +00:00
Andrew Nacin
5a60d9dc24 Theme compat: Move <head profile> to <link>.
props spmlucas.
fixes #24523.


git-svn-id: https://develop.svn.wordpress.org/trunk@27716 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 17:21:45 +00:00
Andrew Nacin
b2ad4105e3 Network Admin: Fix pagination on site-themes and site-users.
props kawauso, jeremyfelt.
fixes #17545.


git-svn-id: https://develop.svn.wordpress.org/trunk@27715 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:56:45 +00:00
Andrew Nacin
17c48086fb 3.9-beta2-27714
git-svn-id: https://develop.svn.wordpress.org/trunk@27714 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:48:20 +00:00
Andrew Nacin
21b0ca8462 Back compat for overriding window.autosave.
props azaozz.
fixes #25272.


git-svn-id: https://develop.svn.wordpress.org/trunk@27713 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:46:22 +00:00
Andrew Nacin
fbe0b3e5ac Don't allow the image editor thumbnail to be dragged. see #21811.
git-svn-id: https://develop.svn.wordpress.org/trunk@27712 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 16:20:50 +00:00
Andrew Nacin
0fccb7b64d Restore the update message in the dashboard, removed in 3.8.
props obenland.
fixes #26664.


git-svn-id: https://develop.svn.wordpress.org/trunk@27711 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 14:35:23 +00:00
Andrew Nacin
c9531d6d67 Encode spaces in get_template_directory_uri() and get_stylesheet_directory_uri().
props SergeyBiryukov.
fixes #21969.


git-svn-id: https://develop.svn.wordpress.org/trunk@27710 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 13:06:21 +00:00
Andrew Nacin
87bfc847b1 Gracefully fail in wp_generate_tag_cloud() when emptiness is returned from the tag_cloud_sort filter.
props SergeyBiryukov.
fixes #27413.


git-svn-id: https://develop.svn.wordpress.org/trunk@27709 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:59:17 +00:00
Andrew Nacin
de653fe7ab Clarify the return value of wp_generate_tag_cloud().
props SergeyBiryukov, DrewAPicture.
fixes #27487.


git-svn-id: https://develop.svn.wordpress.org/trunk@27708 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:55:11 +00:00
Andrew Nacin
89f16d1887 Allow XML attributes with colons to be read by kses.
The attribute would still need to be whitelisted to get through the filters.

props jorbin.
fixes #17847.


git-svn-id: https://develop.svn.wordpress.org/trunk@27707 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:52:48 +00:00
Andrew Nacin
3e28e2fae8 Multisite: Don't set the $super_admins global in grant_super_admin(), revoke_super_admin().
Adds tests and docs.

props jdgrimes.
see #27205.


git-svn-id: https://develop.svn.wordpress.org/trunk@27706 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:13:40 +00:00
Dominik Schilling (ocean90)
ee742d98b8 Update Dashicons.
* Includes new Media icons, see #26650.
* Includes icons for clipboard, megaphone, schedule, tickets, nametag, universal-access, microphone and <3.
* Includes icon for randomize, see #21785.
* Updates Google+ icon, fixes #26851.

props melchoyce, empireoflight.
see #26936.

git-svn-id: https://develop.svn.wordpress.org/trunk@27705 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:04:36 +00:00
Andrew Nacin
b48db6834f Custom backgrounds: Always cause a preview in the customizer.
Omitted from [27703].

props obenland.
see #22030.


git-svn-id: https://develop.svn.wordpress.org/trunk@27704 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 12:00:01 +00:00
Andrew Nacin
5653356188 Custom backgrounds: Do not print the default background color when it has been saved to the DB.
props obenland.
fixes #22030.


git-svn-id: https://develop.svn.wordpress.org/trunk@27703 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 11:52:56 +00:00
Dominik Schilling (ocean90)
2e1f98d2a0 Widget Customizer: Improve widget highlighting.
* Prefix box-shadow in inject_preview_css()
* Remove border-radius in inject_preview_css()
* Prevent hidden box-shadows in Customizer

see #27358.

git-svn-id: https://develop.svn.wordpress.org/trunk@27702 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 11:47:27 +00:00
Dominik Schilling (ocean90)
e54fff3bb1 Widget Customizer: Fix shift+click issue in Firefox to open a widget.
props westonruter.
see #27358.

git-svn-id: https://develop.svn.wordpress.org/trunk@27701 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 11:22:13 +00:00
Drew Jaynes (DrewAPicture)
9c740b8dd5 Inline documentation for hooks in wp-includes/nav-menu.php.
Props dustyf, kpdesign.
Fixes #27367.


git-svn-id: https://develop.svn.wordpress.org/trunk@27700 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 09:03:02 +00:00
Drew Jaynes (DrewAPicture)
16feaee19a Inline documentation for hooks in wp-includes/revision.php.
Props adamsilverstein, DrewAPicture.
Fixes #26979.


git-svn-id: https://develop.svn.wordpress.org/trunk@27699 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:59:55 +00:00
Drew Jaynes (DrewAPicture)
52a57b9f43 Inline documentation for hooks in wp-includes/meta.php.
Props raamdev and kpdesign.
Fixes #25826.


git-svn-id: https://develop.svn.wordpress.org/trunk@27698 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:55:44 +00:00
Drew Jaynes (DrewAPicture)
5e1914e748 Inline documentation for hooks in wp-includes/default-widgets.php.
Props janw.oostendorp and kpdesign.
Fixes #25638.


git-svn-id: https://develop.svn.wordpress.org/trunk@27697 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:52:22 +00:00
Drew Jaynes (DrewAPicture)
7fbfe22546 Fix typo from [27695]. See #26924.
git-svn-id: https://develop.svn.wordpress.org/trunk@27696 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:06:38 +00:00
Drew Jaynes (DrewAPicture)
0e7a34444d Correct misleading verbiage in 'print' hook docs.
Standardizes 'print' hook docs on the concept that hooks are fired when scripts and styles are printed.

Props ericlewis for the initial patch.
Fixes #26924.


git-svn-id: https://develop.svn.wordpress.org/trunk@27695 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 08:04:44 +00:00
Andrew Ozz
a00d98a8c2 TinyMCE: bring back removal of the size-* class when the user soft-resizes an image, see #24409
git-svn-id: https://develop.svn.wordpress.org/trunk@27694 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 00:15:37 +00:00
Scott Taylor
98921c5ca0 Let us pass jshint:core.
git-svn-id: https://develop.svn.wordpress.org/trunk@27693 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 23:01:15 +00:00
Andrew Nacin
05f0bcabec Use the current post's post type when determining post adjacency.
props ethitter.
fixes #26937.


git-svn-id: https://develop.svn.wordpress.org/trunk@27692 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 21:29:14 +00:00
Andrew Nacin
4983a8b8d0 RSS widgets: Omit the title attribute when the summary is shown.
Trim the title attribute to ensure whitespace isn't rendered.

props SergeyBiryukov.
fixes #26520. see #26552.


git-svn-id: https://develop.svn.wordpress.org/trunk@27691 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 21:07:10 +00:00
Scott Taylor
9cd40edebf In wp_create_post_autosave(), intersect the $new_autosave's keys with the keys from _wp_post_revision_fields() to ensure that all expected fields are present.
Props kovshenin.
Fixes #25416.



git-svn-id: https://develop.svn.wordpress.org/trunk@27690 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 20:31:51 +00:00
Scott Taylor
82ba1702df When using meta_query in a WP_Query, passing NOT EXISTS or '' to compare should not require value to be set. The resulting SQL should then produce the appropriate OR clause for existence of non-existence after passing the query to the $key_only_queries stack internally.
Adds unit tests. 

Props chrisguitarguy, for the original patch.
Fixes #23268.



git-svn-id: https://develop.svn.wordpress.org/trunk@27689 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 19:56:54 +00:00
Andrew Nacin
afde656058 Customizer header images: Fix randomizing headers.
props mcsf.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27688 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 19:15:32 +00:00
Andrew Nacin
d9ab8333c8 Media manager: Avoid a blank modal when an invalid image size class is set on the image.
props gcorne.
fixes #24409.


git-svn-id: https://develop.svn.wordpress.org/trunk@27687 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 19:00:15 +00:00
Scott Taylor
710f11f2df When using WP_Query's "fields" => "ids" (or "fields" => "id=>parent"), the returned values should be an array of integers, not array of integers represented by strings.
Adds unit tests. All other unit tests pass.

Props danielbachhuber.
Fixes #27252.



git-svn-id: https://develop.svn.wordpress.org/trunk@27686 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 18:54:38 +00:00
Scott Taylor
651b4a5f5b Fix the video shortcode unit test after [27519].
git-svn-id: https://develop.svn.wordpress.org/trunk@27685 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 17:13:48 +00:00
Scott Taylor
88b610dc72 Fix a swath of broken unit tests from Tests_User_ListAuthors.
git-svn-id: https://develop.svn.wordpress.org/trunk@27684 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 16:52:38 +00:00
Scott Taylor
2583c954b9 Revert [27184] until WP_Query is patched to apply order to each space-delimited orderby value properly.
See #26042.



git-svn-id: https://develop.svn.wordpress.org/trunk@27683 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 14:45:44 +00:00
Scott Taylor
54bc81e04f Do not use the alternative if/elseif/else syntax in prepend_attachment() introduced in [27622], as per kovshenin.
Fixes #27243.



git-svn-id: https://develop.svn.wordpress.org/trunk@27682 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 14:38:31 +00:00
Sergey Biryukov
f966183e51 Fix typo in a comment. see #25663.
git-svn-id: https://develop.svn.wordpress.org/trunk@27681 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 09:08:36 +00:00
Andrew Ozz
2dc003fb02 Two files weren't deleted in [27679], see #27014
git-svn-id: https://develop.svn.wordpress.org/trunk@27680 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 06:12:08 +00:00
Andrew Ozz
0898014ebd Update the TinyMCE tests.
In 4.0.20 all tests were reworked. The 'testrunner' was removed and the PhantomJS Runner QUnit plugin was added making it possible to run the tests from cli. However it is still necessary to run the tests in all supported browsers to test the fixes for all browser quirks and normalization. Also all tests are loaded in one html file.

See #27014

git-svn-id: https://develop.svn.wordpress.org/trunk@27679 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 05:59:45 +00:00
Andrew Nacin
9b56f72fb1 Ensure Thickbox loading spinner is properly sized for HiDPI displays.
props paulwilde.
see #26952.


git-svn-id: https://develop.svn.wordpress.org/trunk@27678 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:45:08 +00:00
Andrew Nacin
401aa27073 Plugin Installer: Disable 'Latest Version Installed' buttons.
props paulwilde.
see #26952.


git-svn-id: https://develop.svn.wordpress.org/trunk@27677 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:40:28 +00:00
Drew Jaynes (DrewAPicture)
73fe2abadd Inline documentation for hooks in wp-includes/post-template.php.
Props Toru and kpdesign.
Fixes #25621.


git-svn-id: https://develop.svn.wordpress.org/trunk@27676 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 03:36:36 +00:00