Mark Jaquith
9cbffc9222
Fix comment_notification_recipients
filter behavior so that it is still respected even on comments left by the post author
...
The code was bailing on this-is-a-comment-on-your-own-post detection, ignoring additional recipients. Now:
* Logic check is done within `wp_notify_postauthor()`
* Logic check is overridable via `comment_notification_notify_author` filter (default still false)
* The code doesn't bail on comment-on-own-post detection, but just removes the author from the array
* The code instead now bails if the recipients list is empty, so `comment_notification_recipients` works properly
props ethitter.
fixes #25699
git-svn-id: https://develop.svn.wordpress.org/trunk@26367 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-25 01:46:49 +00:00
Andrew Ozz
89d0be9d3d
Widgets:
...
- Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
- Change the chooser's HTML id to a class to avoid collisions when cloning.
- Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.
See #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26366 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 22:06:13 +00:00
Dominik Schilling (ocean90)
a0f913563c
Cron Request: Fix incorrect use of add_query_arg() arguments.
...
props datafeedrcom, dimadin.
see [26267].
fixes #26218 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26365 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 21:48:32 +00:00
Andrew Ozz
dcb22eb75f
TinyMCE: use CSS classes instead of instance specific IDs for styling, props mattheu, fixes #26197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26364 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 21:46:17 +00:00
Lance Willett
d5bdc1a526
Twenty Fourteen: fix overlap issue when aligning consecutive images in the same direction. Props koki4a and janhenckens, fixes #26194 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26363 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:59:35 +00:00
Peter Westwood
5b81212ba1
Wrap the settings in the main Network Admin settings page in the expected paragraph tags so that the css applies correctly and the layout doesn't look off. Fixes #26211 props hanni.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26362 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:57:07 +00:00
Lance Willett
c4cf7603ac
Twenty Fourteen: update Customizer inline help text. Props siobhan, see #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26361 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:56:07 +00:00
Lance Willett
30f06be6f9
Twenty Fourteen: update theme description to be less instructional and more promotional. Pushing the how-to to the Codex and other documentation. Props siobhan, see #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26360 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:55:06 +00:00
Peter Westwood
fd24c90205
Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props hanni, iandunn, kovshenin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26359 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:29:19 +00:00
Peter Westwood
92ee005ea0
Deprecate the second argument for wp_notify_postauthor because it is unecessary. Fixes #17862 props scribu and wonderboymusic.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26358 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:25:44 +00:00
Lance Willett
80b7fe4af7
Twenty Fourteen: fix inconsistency with search-box padding. Props thomasguillot, fixes #26204 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26357 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:07:28 +00:00
Lance Willett
94a186663f
Twenty Fourteen: fix case where edit link goes to the top of content when only one left-aligned element exists. Props iamtakashi, fixes #26201 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26356 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:06:13 +00:00
Lance Willett
9f60483575
Twenty Fourteen: remove redundant gettext call, props defries. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26355 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 15:18:20 +00:00
Peter Westwood
6d2c07dbaf
Replace link to Codex with link to new Make page. Fixes #25806 props siobhyb.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26354 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 15:17:57 +00:00
Andrew Nacin
b63ab1ec9e
Add echo arguments to wp_list_comments() and Walker_Comment, allowing non-echo usage.
...
props mikelittle.
fixes #10948 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26353 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 14:58:48 +00:00
Jon Cave
0584f8690e
Allow customisation of theme mod defaults via custom-background theme support.
...
Give the power to theme authors to select defaults when registering
custom-background support.
Props obenland. Fixes #20816 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26352 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 14:04:50 +00:00
Lance Willett
5c301baece
Twenty Fourteen: avoid Featured Content thumbnail overflow, props binarymoon. Fixes #26190 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26351 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 13:56:43 +00:00
Jon Cave
88cc05b8f8
Allow has_post_format() to be used to check for any format.
...
Calling has_post_format() with an empty list of $format will check if the
provided post has any associated format at all.
Props obenland, DrewAPicture, nacin. Fixes #24906 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26350 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 13:44:42 +00:00
Sergey Biryukov
eb4d56b3f8
Remove redundant translation function calls.
...
props markoheijnen.
see #26187 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26349 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 12:41:17 +00:00
Andrew Nacin
0ffc2ecf7b
Fix alignment of the WordPress icon in the My Sites toolbar menu.
...
props jeremyfelt.
fixes #26154 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26348 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 12:08:35 +00:00
Dominik Schilling (ocean90)
8c915b97ae
Don't use esc_attr_e() function for a non-translatable context.
...
props yoavf, mattheu.
fixes #26187 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26347 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 12:03:25 +00:00
Dion Hulse
72e4fe6420
Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26346 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 06:09:43 +00:00
Drew Jaynes
b76c2b3170
Inline documentation for hooks in wp-admin/plugins.php.
...
Props a.hoereth and kpdesign for the initial patches.
Fixes #25836 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26345 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 23:03:21 +00:00
Drew Jaynes
c8d84aa39b
Inline documentation for hooks in wp-admin/user/admin.php.
...
Props leewillis77 for the initial patch. Props kpdesign.
Fixes #25825 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26344 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 22:46:22 +00:00
Drew Jaynes
96d3d38f9c
Inline documentation for hooks in wp-admin/theme-install.php.
...
Props leewillis77 and kpdesign for the initial patches.
Fixes #25823 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26343 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 22:36:48 +00:00
Drew Jaynes
91fb5e641a
Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php.
...
Props ShinichiN, kpdesign.
Fixes #25612 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26342 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 22:24:25 +00:00
Drew Jaynes
b8ac8fac34
Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php.
...
Props ShinichiN, kpdesign.
Fixes #25607 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26341 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 21:57:24 +00:00
Drew Jaynes
30600cefa0
Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php.
...
Props JoshuaAbenazer, kpdesign.
Fixes #26052 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26340 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 21:27:05 +00:00
Drew Jaynes
5b90a5b6e3
Cleanup incorrect duplicate comments for hooks in wp-admin/edit-tag-form.php introduced in [26274].
...
Also corrects the @since version for {$taxonomy}_term_new_form_tag in wp-admin/edit-tags.php.
Props kpdesign. See #25532 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26339 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 21:17:24 +00:00
Dominik Schilling (ocean90)
695499f318
Add a missing semicolon.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26338 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 16:29:12 +00:00
Dominik Schilling (ocean90)
6a5c878714
Dashboard: Use _draft_or_post_title()
to display (no title)
if no post title is set. see #25824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26337 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 14:12:05 +00:00
Dominik Schilling (ocean90)
13f6641cba
Revert property change in [26335].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26336 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:16:53 +00:00
Dominik Schilling (ocean90)
6a700e4199
Appearance Themes: Don't show theme actions if the current theme doesn't support menus or widgets.
...
props MikeHansenMe.
fixes #25949 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26335 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:14:19 +00:00
Dominik Schilling (ocean90)
e9b0911b2a
Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
...
props mattheu, mattwiebe.
fixes #26097 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26334 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:00:33 +00:00
Dominik Schilling (ocean90)
cb1641b14b
Suggest.js: Trigger change event when value is selected.
...
props obenland.
fixes #26110 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26333 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 11:53:49 +00:00
Lance Willett
1a5d00b986
Twenty Fourteen: standardize comment blocks and jQuery function wrapper calls in JavaScript files. Props seanchayes for initial patch, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26332 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 22:41:21 +00:00
Matt Thomas
830e72a481
Make disabled checkboxes and radios slightly less transparent for better visibility on low-contrast screens. Move this rule from colors-fresh to wp-admin as it's not color-specific. Fixes #26004 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26331 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 19:55:33 +00:00
Matt Thomas
bd59dc63b1
Use the correct shade of blue for the default filled progress bar color, 0074a2 to match the default scheme's highlight color. See #26147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26330 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 19:17:07 +00:00
Scott Taylor
18a088a4e1
In get_posts()
, alter the doc block and default args to make orderby
equal to date
, not post_date
.
...
Props ounziw.
Fixes #26128 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26329 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 17:38:34 +00:00
Scott Taylor
1dc930ba13
Add unit tests for links_add_target()
. Alter the patterns in links_add_target()
and _links_add_target()
slightly based on learnings after running tests.
...
Props mdbitz.
Fixes #26164 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26328 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 16:24:25 +00:00
Scott Taylor
b209e63234
Introduce unit tests for the normalize_whitespace()
function.
...
Props mdbitz.
Fixes #26163 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26327 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 16:17:59 +00:00
Lance Willett
e5a4834633
Twenty Fourteen: style cite
element correctly when not in a blockquote. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26326 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 11:21:57 +00:00
Lance Willett
72b219809f
Twenty Fourteen: fix typos and a correct @return
value, props morganestes. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26325 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 11:19:57 +00:00
Sergey Biryukov
494742302c
Fix keyboard accessibility for row actions in list tables. Restore the CSS part of [25592], accidentally reverted in [26072].
...
fixes #26145 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26324 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 08:19:44 +00:00
Sergey Biryukov
2af4da91bb
Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
...
see #26078 . fixes #26140 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26323 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 08:05:42 +00:00
Sergey Biryukov
bb56197ae6
Remove gradient for invalid menu items. props melchoyce. fixes #26144 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26322 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 07:35:26 +00:00
Dion Hulse
353bec85ae
Increase the click target to 100% of the add-new-theme element. Props scottbasgaard. Fixes #25960
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26321 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 07:21:25 +00:00
Dion Hulse
347febe7f7
Themes: Remove some unused invalid CSS. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26320 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 06:39:38 +00:00
Sergey Biryukov
517e4681b1
Restore "Skip to toolbar" link color. fixes #26146 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26319 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 05:40:36 +00:00
Sergey Biryukov
27972a39a1
Skip image mime type tests if both fileinfo PHP extension and mime_content_type() function are missing.
...
fixes #26155 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26318 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 05:37:35 +00:00