Commit Graph

15031 Commits

Author SHA1 Message Date
Ian Stewart a8f8a655f2 Twenty Fifteen: If the sidebar is taller than the viewport scroll it with the content, if it's shorter keep it fixed.
Props mattwiebe, iamtakashi, avryl, fixes #29979.


Built from https://develop.svn.wordpress.org/trunk@30025


git-svn-id: http://core.svn.wordpress.org/trunk@30025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-26 15:04:21 +00:00
Sergey Biryukov ef00815a3a Fix JSHint errors introduced in [30014].
props adamsilverstein.
see #29572.
Built from https://develop.svn.wordpress.org/trunk@30024


git-svn-id: http://core.svn.wordpress.org/trunk@30024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-26 12:06:19 +00:00
Sergey Biryukov 220213a3f9 Twenty Fifteen: Add Foursquare icon support to the social link menu.
props iamtakashi.
fixes #30100.
Built from https://develop.svn.wordpress.org/trunk@30023


git-svn-id: http://core.svn.wordpress.org/trunk@30023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-26 10:45:18 +00:00
Sergey Biryukov 1bd594f033 Remove one-time loop and redundant isset() checks.
props ipm-frommen.
fixes #30093.
Built from https://develop.svn.wordpress.org/trunk@30022


git-svn-id: http://core.svn.wordpress.org/trunk@30022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-25 16:34:18 +00:00
Sergey Biryukov d4f1296098 Fix a copy/paste issue in Custom_Image_Header::get_header_dimensions() introduced in [27497].
props ipm-frommen.
fixes #30095.
Built from https://develop.svn.wordpress.org/trunk@30021


git-svn-id: http://core.svn.wordpress.org/trunk@30021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-25 15:56:19 +00:00
Sergey Biryukov 4cedf4a2a2 Users screen in network admin:
* Remove unused $key variables.
* Rename $val to $user_id for clarity.

props ipm-frommen.
fixes #30096.
Built from https://develop.svn.wordpress.org/trunk@30020


git-svn-id: http://core.svn.wordpress.org/trunk@30020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-25 13:52:19 +00:00
Drew Jaynes 96fb9e36a2 Fix the `$location` parameter type in the `unregister_nav_menu()` DocBlock.
`$location` is a string, not an array.

Props ipm-frommen.
Fixes #30098.

Built from https://develop.svn.wordpress.org/trunk@30019


git-svn-id: http://core.svn.wordpress.org/trunk@30019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-25 13:43:18 +00:00
Drew Jaynes 3ad681b2ef Fix an invalid type for the `$section` parameter in the `do_settings_fields()` DocBlock.
Props ipm-frommen.
See #30098.

Built from https://develop.svn.wordpress.org/trunk@30018


git-svn-id: http://core.svn.wordpress.org/trunk@30018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-25 13:38:23 +00:00
Boone Gorges fb89a4c762 Streamline `WP_User_Query` unit tests.
* Don't create user during setUp(), as it's not used in every test.
* Create fewer users in `get_all` and `orderby` tests.

See #30017.
Built from https://develop.svn.wordpress.org/trunk@30017


git-svn-id: http://core.svn.wordpress.org/trunk@30017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 19:51:38 +00:00
Boone Gorges be4bc9a7e1 Accept 'orderby=include' in `WP_User_Query`.
This lets the results of a user query be sorted manually by the value of the
'include' param.

Props jipmoors.
Fixes #30064.
Built from https://develop.svn.wordpress.org/trunk@30016


git-svn-id: http://core.svn.wordpress.org/trunk@30016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 19:51:21 +00:00
John Blackbourn 823cfebeca Remove padding from the comment notification emails which is from a bygone fixed-width font era. Prevents alignment issues in email clients which use vairable width fonts for plain text emails. Fixes #16721. Props DrewAPicture.
Built from https://develop.svn.wordpress.org/trunk@30015


git-svn-id: http://core.svn.wordpress.org/trunk@30015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 17:08:18 +00:00
John Blackbourn 905b6a9d67 Add the ability for a customizer control to render its controls via a JavaScript template. Switches the default color picker control to a JavaScript template. See #29572. Props celloexpressions
Built from https://develop.svn.wordpress.org/trunk@30014


git-svn-id: http://core.svn.wordpress.org/trunk@30014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 16:32:18 +00:00
Ian Stewart 3ec1c95062 Twenty Fifteen: valid HTML for accessible child page menu expanding and collapsing -- now with even better accessiblity.
Props afercia, davidakennedy, iamtakashi, fixes #30083.


Built from https://develop.svn.wordpress.org/trunk@30013


git-svn-id: http://core.svn.wordpress.org/trunk@30013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 15:15:20 +00:00
Ian Stewart ea264c07b2 Twenty Fifteen: correct list indentation in older IE versions.
Props iamtakashi, fixes #30074.


Built from https://develop.svn.wordpress.org/trunk@30012


git-svn-id: http://core.svn.wordpress.org/trunk@30012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 15:05:19 +00:00
Ian Stewart 164f786627 Twenty Fifteen: darken up the post navigation with thumbnail for better a11y.
Props davidakennedy, fixes #30069.

Built from https://develop.svn.wordpress.org/trunk@30011


git-svn-id: http://core.svn.wordpress.org/trunk@30011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 14:59:19 +00:00
Ian Stewart a031e94d8c Twenty Fifteen: removing Skype from the list of social links is easier than adding skype to $allowed_protocols.
Props iamtakashi, fixes #30059.


Built from https://develop.svn.wordpress.org/trunk@30010


git-svn-id: http://core.svn.wordpress.org/trunk@30010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 14:55:18 +00:00
Ian Stewart fdbd6b439b Twenty Fifteen: Use a p for the site description for a better experience when using a screenreader.
Props rianrietveld, fixes #30057, see #30065.

Built from https://develop.svn.wordpress.org/trunk@30009


git-svn-id: http://core.svn.wordpress.org/trunk@30009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 14:51:19 +00:00
Boone Gorges 4e43b1ef56 Improve unit tests for `WP_User_Query` include param.
Built from https://develop.svn.wordpress.org/trunk@30008


git-svn-id: http://core.svn.wordpress.org/trunk@30008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 12:19:18 +00:00
Jeremy Felt 16c1fc686a Improve tests for get_blog_id_from_url()
Expand tests to cover additional cache and lookup scenarios. Explicitly test the reaction of `get_blog_id_from_url()` when `$drop = false` is passed to `wpmu_delete_blog()`. See #30080

Fixes #30088

Built from https://develop.svn.wordpress.org/trunk@30007


git-svn-id: http://core.svn.wordpress.org/trunk@30007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 05:31:19 +00:00
Jeremy Felt e815da555f Begin cleanup of ms-sites group unit tests
* Split `test_create_and_delete_blog()` into two tests.
* Clean up number of sites created during tests.
* Remove test_getters(), move get_blog_address_by_name() test to `test_created_site_details()`

See #30080

Built from https://develop.svn.wordpress.org/trunk@30006


git-svn-id: http://core.svn.wordpress.org/trunk@30006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 04:51:18 +00:00
Jeremy Felt fd149bb220 Deprecate admin_created_user_subject()
When `admin_created_user_subjec()` was merged from MU, the accompanying filter was left behind. As it has never been used by WordPress core, and is not an otherwise useful function, it can be deprecated.

Fixes #29915

Built from https://develop.svn.wordpress.org/trunk@30005


git-svn-id: http://core.svn.wordpress.org/trunk@30005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 04:49:20 +00:00
Boone Gorges 40ec420689 Allow ORDER BY in `WP_Comment_Query::query()` to be disabled.
Disable ORDER BY by passing boolean false, an empty array, or the string
'none' to the 'orderby parameter. This mirrors the behavior of `WP_Query`.

Props psycleuk.
Fixes #29902.
Built from https://develop.svn.wordpress.org/trunk@30004


git-svn-id: http://core.svn.wordpress.org/trunk@30004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 02:51:19 +00:00
Boone Gorges f780d0d09b Add unit tests for WP_Comment_Query 'orderby' param.
For better testability, the SQL string generated in `WP_Comment_Query::get_posts()`
is now stored as a 'request' property on the object.

See #29902.
Built from https://develop.svn.wordpress.org/trunk@30003


git-svn-id: http://core.svn.wordpress.org/trunk@30003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 02:34:18 +00:00
Andrew Ozz 8681dc786c Editor: use <button> instead of <a> for the Visual/Text buttons, make them focusable. Props afercia, fixes #27553
Built from https://develop.svn.wordpress.org/trunk@30002


git-svn-id: http://core.svn.wordpress.org/trunk@30002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 01:21:18 +00:00
Boone Gorges 34f3c6faf2 Set current user to 0 after each unit test.
This prevents $current_user, $userdata, and other user-related globals from
being polluted if a previous test does not properly reset the current user.

Props nacin, mnelson4.
Fixes #29712.
Built from https://develop.svn.wordpress.org/trunk@30001


git-svn-id: http://core.svn.wordpress.org/trunk@30001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 00:59:18 +00:00
Andrew Nacin 1df979dea5 4.1-alpha-30000 (!)
Built from https://develop.svn.wordpress.org/trunk@30000


git-svn-id: http://core.svn.wordpress.org/trunk@30000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 23:32:19 +00:00
Andrew Nacin 23bcdc8089 4.1-alpha-29999
Built from https://develop.svn.wordpress.org/trunk@29999


git-svn-id: http://core.svn.wordpress.org/trunk@29999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 23:27:20 +00:00
Andrew Nacin 49729f6e35 4.1-alpha-29998. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:40 +00:00
Andrew Nacin d6f37c2f9b 4.1-alpha-29997. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:39 +00:00
Andrew Nacin d134bb7f42 4.1-alpha-29996. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:38 +00:00
Andrew Nacin a9c72f0ccf 4.1-alpha-29995. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:37 +00:00
Andrew Nacin dc259efd77 4.1-alpha-29994. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:36 +00:00
Andrew Nacin 661676d57d 4.1-alpha-29993. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:35 +00:00
Andrew Nacin f76901b8b1 4.1-alpha-29992. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:34 +00:00
Andrew Nacin be954c2ac9 4.1-alpha-29991. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:33 +00:00
Andrew Nacin 4520bfd83a 4.1-alpha-29990. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:32 +00:00
Andrew Nacin 4e50e1ae47 4.1-alpha-29989. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:31 +00:00
Andrew Nacin fa13230216 4.1-alpha-29988. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:30 +00:00
Andrew Nacin 54eefdf23f 4.1-alpha-29987. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:29 +00:00
Andrew Nacin f2aa96c821 4.1-alpha-29986. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:28 +00:00
Andrew Nacin 0dc211f9e8 4.1-alpha-29985. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:27 +00:00
Andrew Nacin 3dcd08fc9e 4.1-alpha-29984. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:26 +00:00
Andrew Nacin 72549de5b1 4.1-alpha-29983. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:25 +00:00
Andrew Nacin 0a31a051c1 4.1-alpha-29982. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:24 +00:00
Andrew Nacin 65f1326d97 4.1-alpha-29981. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:23 +00:00
Andrew Nacin 1a89790c7c 4.1-alpha-29980. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:22 +00:00
Andrew Nacin d3c19bc09c 4.1-alpha-29979. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:21 +00:00
Andrew Nacin 8b4e0394da 4.1-alpha-29978. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:20 +00:00
Andrew Nacin de3e1f8f2c 4.1-alpha-29977. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:19 +00:00
Andrew Nacin 799b982ce5 4.1-alpha-29976. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 21:01:18 +00:00