Commit Graph

24174 Commits

Author SHA1 Message Date
Sergey Biryukov
95ff70fcc0 Remove redundant translation function calls.
props markoheijnen.
see #26187.
Built from https://develop.svn.wordpress.org/trunk@26349


git-svn-id: http://core.svn.wordpress.org/trunk@26250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:42:09 +00:00
Andrew Nacin
f2538ab7bd Fix alignment of the WordPress icon in the My Sites toolbar menu.
props jeremyfelt.
fixes #26154.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:09:11 +00:00
Dominik Schilling
df6010446a Don't use esc_attr_e() function for a non-translatable context.
props yoavf, mattheu.
fixes #26187.
Built from https://develop.svn.wordpress.org/trunk@26347


git-svn-id: http://core.svn.wordpress.org/trunk@26248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:04:09 +00:00
Dion Hulse
5624f82c38 Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667
Built from https://develop.svn.wordpress.org/trunk@26346


git-svn-id: http://core.svn.wordpress.org/trunk@26247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 06:10:10 +00:00
Drew Jaynes
2768466674 Inline documentation for hooks in wp-admin/plugins.php.
Props a.hoereth and kpdesign for the initial patches.
Fixes #25836.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 23:04:10 +00:00
Drew Jaynes
87a3892f45 Inline documentation for hooks in wp-admin/user/admin.php.
Props leewillis77 for the initial patch. Props kpdesign.
Fixes #25825.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:47:10 +00:00
Drew Jaynes
657824a133 Inline documentation for hooks in wp-admin/theme-install.php.
Props leewillis77 and kpdesign for the initial patches.
Fixes #25823.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:37:10 +00:00
Drew Jaynes
e90e224cbd Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php.
Props ShinichiN, kpdesign.
Fixes #25612.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:25:10 +00:00
Drew Jaynes
ff0ace6fe1 Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php.
Props ShinichiN, kpdesign.
Fixes #25607.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:58:10 +00:00
Drew Jaynes
f82f00a453 Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php.
Props JoshuaAbenazer, kpdesign.
Fixes #26052.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:28:11 +00:00
Drew Jaynes
9c5afca0f3 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:18:10 +00:00
Dominik Schilling
d5f124f45e Add a missing semicolon.
Built from https://develop.svn.wordpress.org/trunk@26338


git-svn-id: http://core.svn.wordpress.org/trunk@26239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 16:30:10 +00:00
Dominik Schilling
06b4f99e18 Dashboard: Use _draft_or_post_title() to display (no title) if no post title is set. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26337


git-svn-id: http://core.svn.wordpress.org/trunk@26238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 14:13:09 +00:00
Dominik Schilling
2597e857be Appearance Themes: Don't show theme actions if the current theme doesn't support menus or widgets.
props MikeHansenMe.
fixes #25949.
Built from https://develop.svn.wordpress.org/trunk@26335


git-svn-id: http://core.svn.wordpress.org/trunk@26237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:15:10 +00:00
Dominik Schilling
304e3aaa21 Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
props mattheu, mattwiebe.
fixes #26097.
Built from https://develop.svn.wordpress.org/trunk@26334


git-svn-id: http://core.svn.wordpress.org/trunk@26236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:01:11 +00:00
Dominik Schilling
457a48d735 Suggest.js: Trigger change event when value is selected.
props obenland.
fixes #26110.
Built from https://develop.svn.wordpress.org/trunk@26333


git-svn-id: http://core.svn.wordpress.org/trunk@26235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 11:54:10 +00:00
Lance Willett
c437b2d508 Twenty Fourteen: standardize comment blocks and jQuery function wrapper calls in JavaScript files. Props seanchayes for initial patch, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26332


git-svn-id: http://core.svn.wordpress.org/trunk@26234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 22:42:09 +00:00
Matt Thomas
456ce72df2 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.
Built from https://develop.svn.wordpress.org/trunk@26331


git-svn-id: http://core.svn.wordpress.org/trunk@26233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:56:09 +00:00
Matt Thomas
f0ec4ea835 Use the correct shade of blue for the default filled progress bar color, 0074a2 to match the default scheme's highlight color. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26330


git-svn-id: http://core.svn.wordpress.org/trunk@26232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:18:10 +00:00
Scott Taylor
295851d0bb In get_posts(), alter the doc block and default args to make orderby equal to date, not post_date.
Props ounziw.
Fixes #26128.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 17:39:10 +00:00
Scott Taylor
dc01b08a5e 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 16:25:10 +00:00
Lance Willett
28c19ec965 Twenty Fourteen: style cite element correctly when not in a blockquote. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26326


git-svn-id: http://core.svn.wordpress.org/trunk@26229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 11:22:09 +00:00
Lance Willett
7431d1b9ac Twenty Fourteen: fix typos and a correct @return value, props morganestes. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26325


git-svn-id: http://core.svn.wordpress.org/trunk@26228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 11:20:10 +00:00
Sergey Biryukov
5f5c95a5b6 Fix keyboard accessibility for row actions in list tables. Restore the CSS part of [25592], accidentally reverted in [26072].
fixes #26145.
Built from https://develop.svn.wordpress.org/trunk@26324


git-svn-id: http://core.svn.wordpress.org/trunk@26227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:20:10 +00:00
Sergey Biryukov
8d5b038aa1 Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
see #26078. fixes #26140.
Built from https://develop.svn.wordpress.org/trunk@26323


git-svn-id: http://core.svn.wordpress.org/trunk@26226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:06:09 +00:00
Sergey Biryukov
8a51dfff7d Remove gradient for invalid menu items. props melchoyce. fixes #26144.
Built from https://develop.svn.wordpress.org/trunk@26322


git-svn-id: http://core.svn.wordpress.org/trunk@26225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:36:10 +00:00
Dion Hulse
a4390517ca Increase the click target to 100% of the add-new-theme element. Props scottbasgaard. Fixes #25960
Built from https://develop.svn.wordpress.org/trunk@26321


git-svn-id: http://core.svn.wordpress.org/trunk@26224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:22:11 +00:00
Dion Hulse
37d2429ed8 Themes: Remove some unused invalid CSS. See #25948
Built from https://develop.svn.wordpress.org/trunk@26320


git-svn-id: http://core.svn.wordpress.org/trunk@26223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 06:40:10 +00:00
Sergey Biryukov
670cfd9a99 Restore "Skip to toolbar" link color. fixes #26146.
Built from https://develop.svn.wordpress.org/trunk@26319


git-svn-id: http://core.svn.wordpress.org/trunk@26222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 05:41:10 +00:00
Dion Hulse
f392843074 Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
Built from https://develop.svn.wordpress.org/trunk@26317


git-svn-id: http://core.svn.wordpress.org/trunk@26221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 04:03:10 +00:00
Dion Hulse
61ed60c619 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
Built from https://develop.svn.wordpress.org/trunk@26316


git-svn-id: http://core.svn.wordpress.org/trunk@26220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:34:10 +00:00
Andrew Ozz
7efd903498 Fix the editor switching tabs position on small screens, props ryelle, fixes #26151.
Built from https://develop.svn.wordpress.org/trunk@26315


git-svn-id: http://core.svn.wordpress.org/trunk@26219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:23:09 +00:00
Dion Hulse
3be48e6d26 Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098
Built from https://develop.svn.wordpress.org/trunk@26314


git-svn-id: http://core.svn.wordpress.org/trunk@26218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:10:10 +00:00
Dion Hulse
b7872fd70a Use static strings instead of a impossible-to-translate string in the Automatic updates debug email. Props SergeyBiryukov. Fixes #25667
Built from https://develop.svn.wordpress.org/trunk@26313


git-svn-id: http://core.svn.wordpress.org/trunk@26217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:00:10 +00:00
Sergey Biryukov
d4a4db64ef Correct @return value for wp_credits(). props morganestes. fixes #26150.
Built from https://develop.svn.wordpress.org/trunk@26312


git-svn-id: http://core.svn.wordpress.org/trunk@26216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:25:10 +00:00
Matt Thomas
79c8d875fa Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26311


git-svn-id: http://core.svn.wordpress.org/trunk@26215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:22:11 +00:00
Matt Thomas
9da12ebae7 Making a few more adjustments to the uploader progress bar styles. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26310


git-svn-id: http://core.svn.wordpress.org/trunk@26214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:11:09 +00:00
Matt Thomas
a3f4245602 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:03:10 +00:00
Matt Thomas
aed612cca4 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.
Built from https://develop.svn.wordpress.org/trunk@26308


git-svn-id: http://core.svn.wordpress.org/trunk@26212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 20:04:11 +00:00
Scott Taylor
05b22769e9 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:31:10 +00:00
Andrew Ozz
1aa122be5e 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.
Built from https://develop.svn.wordpress.org/trunk@26306


git-svn-id: http://core.svn.wordpress.org/trunk@26210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:28:10 +00:00
Scott Taylor
784bd41501 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:07:10 +00:00
Sergey Biryukov
129aec7174 Use correct variable. props wet. fixes #26139.
Built from https://develop.svn.wordpress.org/trunk@26303


git-svn-id: http://core.svn.wordpress.org/trunk@26208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 09:46:10 +00:00
Matt Mullenweg
172b3a9f32 Why hello there. Bumping for first beta of the 3.8 cycle.
Built from https://develop.svn.wordpress.org/trunk@26302


git-svn-id: http://core.svn.wordpress.org/trunk@26207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 04:29:09 +00:00
Sergey Biryukov
4d56083e5f Use correct variable name in _wp_credits_add_profile_link() inline docs.
props morganestes.
fixes #26134.
Built from https://develop.svn.wordpress.org/trunk@26301


git-svn-id: http://core.svn.wordpress.org/trunk@26206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 03:44:10 +00:00
Matt Thomas
6139ae6953 Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130.
Built from https://develop.svn.wordpress.org/trunk@26300


git-svn-id: http://core.svn.wordpress.org/trunk@26205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:31:10 +00:00
Matt Thomas
c0f4798af9 Update error screens with the new visual design:
* Bring in new styles for backgrounds/text/link/borders/buttons
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes

Fixes #25956, props johnbillion.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:25:10 +00:00
Matt Thomas
5d5114daf9 Bring the install/update screens in line with the new admin design. This affects:
* Creating a wp-config.php file
* Installation
* Database upgrade
* Database repair
* Readme.html
* Network sites actions

What's changed:

* Bring background/text/link/border colours in line with mp6
* Bring fonts in line with mp6 (see note below)
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
* Switch to the new vector WordPress logo in the header to match the log in screen
* Force table cells into rows in the <782px media query

Fixes #25951, props johnbillion.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:21:11 +00:00
Matt Thomas
1fc3716b84 Some improvements to the dashboard activity widget:
* Use the correct background color for unapproved comments.
* Use the sale box-shadow style instead of a border between rows so the orange border is uninterrupted between multiple pending comments.

See #25858.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:33:11 +00:00
Andrew Ozz
93faad2403 Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26296


git-svn-id: http://core.svn.wordpress.org/trunk@26201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:29:09 +00:00