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
Dion Hulse
2388095150
Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26317 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 04:02:37 +00:00
Dion Hulse
f2ce159ded
Themes: Move the escaping of content from JS back to PHP. This allows us to take advantage of the display() WP_Theme method to translate the text properly, and to strip out any HTML tags we don't wish to display. Fixes #26100 . See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26316 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:33:19 +00:00
Andrew Ozz
36536bce2f
Fix the editor switching tabs position on small screens, props ryelle, fixes #26151 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26315 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:22:15 +00:00
Dion Hulse
9240861283
Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26314 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:09:14 +00:00
Dion Hulse
90fda37ed4
Use static strings instead of a impossible-to-translate string in the Automatic updates debug email. Props SergeyBiryukov. Fixes #25667
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26313 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 01:59:43 +00:00
Sergey Biryukov
11fb804e98
Correct @return value for wp_credits(). props morganestes. fixes #26150 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26312 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:24:01 +00:00
Matt Thomas
5667f2459e
Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26311 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:21:27 +00:00
Matt Thomas
734e42c912
Making a few more adjustments to the uploader progress bar styles. See #26147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26310 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:10:15 +00:00
Matt Thomas
c23257d7f2
Update the media upload interfaces to match new admin design:
...
* Replace separate progress bar designs on media-new.php and modal media uploader with a single consistent design
* Remove side borders from list of uploads on media-new.php
* Restyle the selected photo border and checkbox on modal media uploader
* Add a Media Uploader section to color schemes with progress bar and selected photo styles
Fixes #26147 . Props melchoyce, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26309 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:02:44 +00:00
Matt Thomas
f22fcec003
Combine border and box-shadow styles for inputs, textareas, and selects. Set border-radius to 0 on these elements to override default styling in iOS. See #24387 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26308 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 20:03:42 +00:00
Scott Taylor
926427e9ee
In update_meta_cache()
, ensure that meta is always stored in the same order. Removes an unnecessary $wpdb->prepare
statement. Adds unit test.
...
Props mattheu.
Fixes #25511 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26307 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:30:35 +00:00
Andrew Ozz
3341352a3d
Widgets:
...
- Prevent dragging of the widget-in-question when the chooser is open.
- Don't show more than one spinner when saving widgets positions.
- Disable selecting of text in the widget title. Prevents selecting/highlighting most of the screen when dragging on slower devices.
See #25821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26306 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:27:47 +00:00
Scott Taylor
72a3c91855
Mark test skipped when not in multisite. See #25883 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26305 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:13:53 +00:00
Scott Taylor
36a5af537e
Prefix the notoptions
cache key in the multisite site-options
group with $wpdb->siteid
to avoid collisions and race conditions when using a fancy multi-network setup. Adds unit test.
...
Fixes #25883 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26304 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:06:26 +00:00
Sergey Biryukov
731d102afb
Use correct variable. props wet. fixes #26139 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26303 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 09:45:22 +00:00
Matt Mullenweg
1b77c66fd8
Why hello there. Bumping for first beta of the 3.8 cycle.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26302 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 04:28:57 +00:00
Sergey Biryukov
4de639c01c
Use correct variable name in _wp_credits_add_profile_link() inline docs.
...
props morganestes.
fixes #26134 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26301 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 03:43:45 +00:00
Matt Thomas
6ed7efe416
Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26300 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:30:10 +00:00