Drew Jaynes (DrewAPicture)
aae8ddf48f
Add a missing asterisk in the DocBlock for write_post()
.
...
Also removes several `@uses` tags, which are no longer leveraged as part of the inline documentation standard.
Props tareq1988.
Fixes #30118 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30034 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 23:55:16 +00:00
John Blackbourn
bc1168e953
Rename _wp_password_hint()
to _wp_get_password_hint()
to bring it inline with core terminology. Fixes #21243 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30033 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 23:29:11 +00:00
Mark Jaquith
48325023e2
Cast class names to an array to avoid a potential warning.
...
props briandichiara
fixes #29743
git-svn-id: https://develop.svn.wordpress.org/trunk@30032 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 23:18:03 +00:00
Boone Gorges
ae0ae95be6
Improve WP_Tax_Query
param sanitization for empty strings.
...
When an empty string is passed as one of the clauses in the `$tax_query`
parameter, it should be discarded rather than parsed as a first-order clause.
Props tmtrademark.
Fixes #30117 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30031 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 22:56:36 +00:00
John Blackbourn
b92307f58d
In wp_link_pages()
, only output link separators between actual pagination links. Fixes #24940 . Props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30030 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 22:40:07 +00:00
Jeremy Felt
42773dc11b
Optimize site query when performing network database upgrades
...
We only use `blog_id` from the query, so we don't need a wildcard.
props marcosf
Fixes #30097
git-svn-id: https://develop.svn.wordpress.org/trunk@30029 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 22:09:46 +00:00
John Blackbourn
5567318f63
Introduce an edit_form_before_permalink
action which gets fired after the title field but before the permalink fields. Fixes #29691 . Props captaintheme
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30028 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 21:48:38 +00:00
John Blackbourn
e6483ffab5
Add labels to the Personal Options input fields on the user profile editing screen. Fixes #30101 . Props Ankit K Gupta
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30027 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 21:28:50 +00:00
Boone Gorges
4482d000ba
Fix 'count' in WP_Comment_Query
when using 'meta_query'.
...
Props heshiming, desaiuditd.
Fixes #23369 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30026 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 16:45:37 +00:00
Ian Stewart
c429ba1bdd
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30025 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 15:03:45 +00:00
Sergey Biryukov
79a5303f68
Fix JSHint errors introduced in [30014].
...
props adamsilverstein.
see #29572 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30024 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 12:05:58 +00:00
Sergey Biryukov
f1c05021aa
Twenty Fifteen: Add Foursquare icon support to the social link menu.
...
props iamtakashi.
fixes #30100 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30023 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-26 10:44:28 +00:00
Sergey Biryukov
36ee6ba8be
Remove one-time loop and redundant isset() checks.
...
props ipm-frommen.
fixes #30093 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30022 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-25 16:33:45 +00:00
Sergey Biryukov
8e3a90887e
Fix a copy/paste issue in Custom_Image_Header::get_header_dimensions() introduced in [27497].
...
props ipm-frommen.
fixes #30095 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30021 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-25 15:55:37 +00:00
Sergey Biryukov
f9101c1de9
Users screen in network admin:
...
* Remove unused $key variables.
* Rename $val to $user_id for clarity.
props ipm-frommen.
fixes #30096 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30020 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-25 13:51:36 +00:00
Drew Jaynes (DrewAPicture)
3168f799c9
Fix the $location
parameter type in the unregister_nav_menu()
DocBlock.
...
`$location` is a string, not an array.
Props ipm-frommen.
Fixes #30098 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30019 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-25 13:42:57 +00:00
Drew Jaynes (DrewAPicture)
c61e074530
Fix an invalid type for the $section
parameter in the do_settings_fields()
DocBlock.
...
Props ipm-frommen.
See #30098 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30018 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-25 13:37:59 +00:00
Boone Gorges
1fe9707760
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30016 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 19:50:53 +00:00
John Blackbourn
d033be1f9d
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.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30015 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 17:07:53 +00:00
John Blackbourn
37a3642183
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
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30014 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 16:31:54 +00:00
Ian Stewart
805f230e99
Twenty Fifteen: valid HTML for accessible child page menu expanding and collapsing -- now with even better accessiblity.
...
Props afercia, davidakennedy, iamtakashi, fixes #30083 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30013 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 15:14:02 +00:00
Ian Stewart
81639b9dd7
Twenty Fifteen: correct list indentation in older IE versions.
...
Props iamtakashi, fixes #30074 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30012 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 15:04:48 +00:00
Ian Stewart
342f782ea0
Twenty Fifteen: darken up the post navigation with thumbnail for better a11y.
...
Props davidakennedy, fixes #30069 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30011 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 14:58:40 +00:00
Ian Stewart
e67582c911
Twenty Fifteen: removing Skype from the list of social links is easier than adding skype to $allowed_protocols.
...
Props iamtakashi, fixes #30059 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30010 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 14:54:12 +00:00
Ian Stewart
c9f6dd15f1
Twenty Fifteen: Use a p for the site description for a better experience when using a screenreader.
...
Props rianrietveld, fixes #30057 , see #30065 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30009 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 14:50:49 +00:00
Jeremy Felt
c7ad092b1d
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
git-svn-id: https://develop.svn.wordpress.org/trunk@30005 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 04:48:31 +00:00
Boone Gorges
382871ad9d
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30004 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 02:50:24 +00:00
Boone Gorges
ce810ba5b3
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30003 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 02:33:46 +00:00
Andrew Ozz
1880bf988c
Editor: use <button> instead of <a> for the Visual/Text buttons, make them focusable. Props afercia, fixes #27553
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30002 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-24 01:20:42 +00:00
Andrew Nacin
9b3aabc7f9
4.1-alpha-30000 (!)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30000 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-23 23:31:19 +00:00
Andrew Nacin
8c555f2ed2
4.1-alpha-29999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29999 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-23 23:26:02 +00:00
Ian Stewart
8fdc680f66
Twenty Fifteen: documentation for the twentyfifteen_credits action
...
Props iamtakashi, fixes #30051
git-svn-id: https://develop.svn.wordpress.org/trunk@29998 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-23 18:36:20 +00:00
Sergey Biryukov
150f0cdfaf
Twenty Fifteen: Isolate :not selectors from CSS2 selectors.
...
props peterwilsoncc, iamtakashi.
fixes #30014 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29996 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-23 11:43:04 +00:00
Sergey Biryukov
3816b779f0
Twenty Fifteen: Fix typo in a CSS comment.
...
props iamtakashi.
fixes #30081 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29995 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-23 11:36:27 +00:00
Andrew Ozz
a454872630
TinyMCE: update to 4.1.6+. Adds support for cache-busting when auto-loading JS and CSS. Change the tests to run in /build. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt .
...
Fixes #30079
git-svn-id: https://develop.svn.wordpress.org/trunk@29994 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-23 02:07:15 +00:00
Sergey Biryukov
082ad55827
Twenty Fifteen: Include post title in Continue Reading link in Link post format.
...
props davidakennedy.
fixes #30070 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29991 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-22 16:29:49 +00:00
Sergey Biryukov
efd52e2bd9
Twenty Fifteen: Remove a non-relevant part of a string in 404.php.
...
props davidakennedy.
fixes #30061 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29990 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-22 11:59:43 +00:00
Andrew Ozz
2ba822f6f1
Script-loader: remove 'heartbeat' dependency for post.js and inline-edit-post.js, fix dependencies for autosave.js. Fixes #30008
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29989 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-22 03:40:13 +00:00
Sergey Biryukov
2c3e3238e2
Twenty Fifteen: Fix missing commas in the stylesheet.
...
props iamtakashi.
fixes #30068 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29988 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-22 02:42:38 +00:00
Andrew Ozz
880dcf7376
Twenty Fifteen: better editor-style.css: slightly smaller fonts, make the body margins relative, fix dependency on the mce-item-table
class for tables. Props iamtakashi, fixes #29986
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29987 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-22 02:39:39 +00:00
Andrew Ozz
37e553ec79
TinyMCE: update the default styles: make the font size larger and make it the same size in tables. Fixes #30038
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29986 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-21 23:05:33 +00:00
John Blackbourn
58c5345d4b
Update the docs for wp_remote_retrieve_response_code()
. See #28887 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29985 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-21 21:12:30 +00:00
John Blackbourn
294cb1ec53
Avoid double path separators in load_theme_textdomain()
. Fixes #29122 . Props bradyvercher
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29984 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-21 17:57:41 +00:00
John Blackbourn
368bc7b468
Add a focus outline to the widget control toggle arrows. Fixes #27953 . Props TomHarrigan.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29983 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-21 17:39:02 +00:00
Andrew Ozz
8288e31417
Admin menu:
...
- Fix scrolling the pinned menu with a mouse wheel.
- Fix pinning when the menu is only slightly taller than the viewport.
- Disable pinning on IE8, updating CSS top makes it jump when scrolling with a mouse wheel.
See #29806
git-svn-id: https://develop.svn.wordpress.org/trunk@29978 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-21 06:11:07 +00:00
Sergey Biryukov
4ea9070f8a
Fix copy/paste errors in [27769].
...
props Corphi.
fixes #30054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29977 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-20 21:34:51 +00:00
Ian Stewart
74f1fad31d
Twenty Fifteen: updated styles for skip link.
...
Props afercia and iamtakashi, fixes #30043 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29976 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-20 19:38:41 +00:00
Ian Stewart
e9be393270
Twenty Fifteen: Adding in the twentyfifteen credits action.
...
Props iamtakashi, fixes #30051 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29975 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-20 19:20:48 +00:00
Ian Stewart
dd417a184c
Twenty Fifteen: correct comment meta alignment when avatar display is turned off.
...
Props iamtakashi, fixes #30046 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29974 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-20 19:18:36 +00:00
Ian Stewart
7ce8654a92
Twenty Fifteen: correct button sizes.
...
Props iamtakashi, fixes #30045 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29973 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-20 19:15:24 +00:00