Commit Graph

976 Commits

Author SHA1 Message Date
Dion Hulse e98848a3c6 Upgrader: Remove some debug from r27336. See #25860
git-svn-id: https://develop.svn.wordpress.org/trunk@27338 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:03:55 +00:00
Dion Hulse 18364c9625 Upgrader: Remove two stray spaces. See #25860
git-svn-id: https://develop.svn.wordpress.org/trunk@27337 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:01:28 +00:00
Dion Hulse 14b4579d98 Upgrader: Copy wp-includes/version.php over last, to avoid an installation failing with the new version.php in place. Fixes #25860
git-svn-id: https://develop.svn.wordpress.org/trunk@27336 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-01 06:00:47 +00:00
Scott Taylor 07f14d6434 * Videos should always render at the same aspect ratio.
* Don't force a pseudo-mime-type for `.m4v` files
* Uniformly adapt to `$content_width` when setting video dimensions on the front end
* Add the `height` attribute to the initial `<video>` in the video playlist JS template
* Add some defensive/responsive CSS for a/v on the Edit Media page

See #27243.



git-svn-id: https://develop.svn.wordpress.org/trunk@27328 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 21:27:40 +00:00
John Blackbourn 6950f1bcd6 Don't filter out network-only plugins from the Plugins screen if they're individually active on the current site. Add some code comments for clarity. Props mordauk
git-svn-id: https://develop.svn.wordpress.org/trunk@27326 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 20:21:52 +00:00
Sergey Biryukov ecbe4f0909 Use a consistent format for translator comments.
props GaryJ.
fixes #27228.

git-svn-id: https://develop.svn.wordpress.org/trunk@27325 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 08:08:50 +00:00
Sergey Biryukov ef8de539b9 Remove temporary hooks added in [26865].
fixes #26661.

git-svn-id: https://develop.svn.wordpress.org/trunk@27324 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-28 00:44:38 +00:00
Sergey Biryukov 612b605c80 Avoid an undefined index notice in wp_doc_link_parse().
props pross for initial patch.
fixes #27214.

git-svn-id: https://develop.svn.wordpress.org/trunk@27323 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 23:15:29 +00:00
Sergey Biryukov a53fab8750 Avoid an undefined index notice in wp_handle_upload().
props tivnet.
fixes #27225.

git-svn-id: https://develop.svn.wordpress.org/trunk@27319 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 21:15:31 +00:00
Andrew Ozz 11586e8ebe Upgrade Plupload to 2.1.1, props kovshenin, see #25663
git-svn-id: https://develop.svn.wordpress.org/trunk@27316 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 20:00:55 +00:00
Sergey Biryukov 9bcb738064 Use wp_dropdown_roles() in wp-admin/network/site-users.php.
props jeremyfelt.
fixes #27215.

git-svn-id: https://develop.svn.wordpress.org/trunk@27310 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 10:21:13 +00:00
Andrew Nacin c1c57d5bcc Themes screen: Clicking back through history should properly close the overlay.
props gcorne.
fixes #27198.


git-svn-id: https://develop.svn.wordpress.org/trunk@27306 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 00:17:38 +00:00
Andrew Nacin 3d8a61bc79 Unslash in the time-format and date-format ajax endpoints.
props GregLone.
fixes #27216.


git-svn-id: https://develop.svn.wordpress.org/trunk@27305 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 00:04:45 +00:00
Drew Jaynes 6dee77ab95 Improve inline documentation for `WP_Users_List_Table`.
Props leewillis77 for the initial patch.
Fixes #26564.


git-svn-id: https://develop.svn.wordpress.org/trunk@27301 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 22:19:10 +00:00
Andrew Nacin 724ca13549 Remove unnecessary quotes from urls in CSS.
props TobiasBg.
fixes #22476.


git-svn-id: https://develop.svn.wordpress.org/trunk@27289 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 17:22:18 +00:00
Andrew Nacin 0fe3ffaf59 Remove title attributes on the fly when [27280] makes them incorrect. see #17703.
git-svn-id: https://develop.svn.wordpress.org/trunk@27281 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 07:36:05 +00:00
Andrew Nacin 9ddf03c0bb Decrement update count bubbles as plugins/themes are updated, live.
props gcorne, mitchoyoshitaka.
fixes #17703.


git-svn-id: https://develop.svn.wordpress.org/trunk@27280 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 06:54:26 +00:00
Andrew Nacin ee39026c2d Remove unused routing code in revisions.
props adamsilverstein.
fixes #26565.


git-svn-id: https://develop.svn.wordpress.org/trunk@27273 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 20:06:04 +00:00
Mark Jaquith 43e78ac29a Improve pushState, replaceState and routing for Themes page
* Uses `pushState()` generally
* Uses `replaceState()` when updating a search query (so no history cruft from typing)

fixes #27198. props gcorne, adamsilverstein.

git-svn-id: https://develop.svn.wordpress.org/trunk@27268 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 19:21:58 +00:00
Andrew Nacin 449e436ca1 Clarify return values for get_preferred_from_update_core() and get_core_updates().
props SergeyBiryukov.
fixes #20251.


git-svn-id: https://develop.svn.wordpress.org/trunk@27264 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:19:22 +00:00
Drew Jaynes 647f80595d Remove all `@package` and `@subpackage` PHPDoc tags not at the file- or class-levels in core.
See #27200.


git-svn-id: https://develop.svn.wordpress.org/trunk@27262 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:13:08 +00:00
Andrew Nacin 9bdaa48e3e Remove _relocate_children(), which has had no purpose for some time.
props SergeyBiryukov, scribu.
fixes #19367.


git-svn-id: https://develop.svn.wordpress.org/trunk@27261 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:09:09 +00:00
Andrew Nacin 7d18f3b34c Make the user arguments for get_edit_profile_url() and get_dashboard_url() optional, defaulting to the current user.
props garyc40.
fixes #16686.


git-svn-id: https://develop.svn.wordpress.org/trunk@27260 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:07:22 +00:00
Drew Jaynes 2aa5387801 Inline documentation for hooks in wp-admin/includes/screen.php.
Props enej, kpdesign.
Fixes #26821.


git-svn-id: https://develop.svn.wordpress.org/trunk@27256 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 10:04:46 +00:00
Drew Jaynes f36f14899d Inline documentation for hooks in wp-admin/includes/class-wp-posts-list-table.php.
Props nicolealleyinteractivecom, kpdesign.
Fixes #26397.


git-svn-id: https://develop.svn.wordpress.org/trunk@27255 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 06:11:32 +00:00
Helen Hou-Sandi e7f406b955 Fix the tags input in small viewports and make it a more reasonable size. props SergeyBiryukov. fixes #27082.
git-svn-id: https://develop.svn.wordpress.org/trunk@27254 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 05:24:56 +00:00
Sergey Biryukov ef9c73e792 Force UTF-8 in load-styles.php, like we do in load-scripts.php.
props iamfriendly, mjbanks.
fixes #25012.

git-svn-id: https://develop.svn.wordpress.org/trunk@27253 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 01:27:57 +00:00
Sergey Biryukov 48bed22306 Prevent large images in comments from overflowing the meta box.
props mattheu.
fixes #26643.

git-svn-id: https://develop.svn.wordpress.org/trunk@27252 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 01:21:05 +00:00
Sergey Biryukov b197472a5c Fix thickbox positioning if toolbar is not present.
fixes #26745.

git-svn-id: https://develop.svn.wordpress.org/trunk@27248 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:25:58 +00:00
Sergey Biryukov fc2230e12a Fix theme preview URL for themes loaded via AJAX on Install Themes screen.
props ocean90.
fixes #27128.

git-svn-id: https://develop.svn.wordpress.org/trunk@27247 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:00:48 +00:00
Sergey Biryukov d885ca8e31 Add Oxford comma to password hint.
props trepmal.
fixes #26457.

git-svn-id: https://develop.svn.wordpress.org/trunk@27246 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 23:30:52 +00:00
Drew Jaynes dd35bb5d7b Inline documentation for hooks in wp-admin/includes/template.php.
Props shelob9 for the initial patch. Props kpdesign.
Fixes #26089.


git-svn-id: https://develop.svn.wordpress.org/trunk@27237 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-23 22:43:44 +00:00
Helen Hou-Sandi 1ab5043e7f Make nav menu item add tabs and content consistent with similar tabs on the post edit screen. props corvannoorloos for the initial patch. fixes #26757.
git-svn-id: https://develop.svn.wordpress.org/trunk@27229 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 22:10:14 +00:00
Andrew Nacin bd71233c81 Embolden some instructions when installing a network.
props Ipstenu.
fixes #27057.


git-svn-id: https://develop.svn.wordpress.org/trunk@27226 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 19:32:52 +00:00
Sergey Biryukov 9d94ec0cad Use filtered per_page value in WP_Plugin_Install_List_Table and WP_Theme_Install_List_Table.
props brasofilo.
fixes #25675.

git-svn-id: https://develop.svn.wordpress.org/trunk@27221 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 18:29:41 +00:00
Andrew Nacin 4cfcdabdd8 Simplify error in validate_file_to_edit().
props MattyRob for initial patch.
fixes #25924.


git-svn-id: https://develop.svn.wordpress.org/trunk@27219 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 14:45:06 +00:00
Sergey Biryukov 84c8009c50 Prevent "Add" button in Tags meta box from wrapping to a new line in ru_RU.
fixes #26510.

git-svn-id: https://develop.svn.wordpress.org/trunk@27218 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 22:34:44 +00:00
Scott Taylor 52cbf23fe2 Correct a missing conditional in `edit-form-advanced.php`.
See #26631, [27209]. 
Props nacin for noticing.



git-svn-id: https://develop.svn.wordpress.org/trunk@27216 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 21:37:57 +00:00
Scott Taylor ae603ef26d Allow pseudo post types `attachment:audio` and `attachment:video` to get the media modal on Edit Media when they support featured images.
Introduces `post_supports_thumbnails( $post )` and `theme_supports_thumbnails( $post )` to cut down on duplicated code everytime this needs to be checked. There will be more cases forthcoming.

See #26631.



git-svn-id: https://develop.svn.wordpress.org/trunk@27209 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 17:49:30 +00:00
Sergey Biryukov 76ba2667c1 Update $parent_file value in wp-admin/update-core.php.
props bcworkz.
fixes #27109.

git-svn-id: https://develop.svn.wordpress.org/trunk@27205 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 16:41:50 +00:00
Drew Jaynes d3aa609740 Inline documentation for hooks in wp-admin/includes/image.php.
Props theorboman, kpdesign.
Fixes #25832.


git-svn-id: https://develop.svn.wordpress.org/trunk@27202 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 06:26:51 +00:00
Helen Hou-Sandi bc8302d050 Login styles do not depend on common.css. see #12506.
git-svn-id: https://develop.svn.wordpress.org/trunk@27200 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 03:27:54 +00:00
Helen Hou-Sandi 1c5f1cebff Make login styles standalone. see #12506.
git-svn-id: https://develop.svn.wordpress.org/trunk@27199 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 03:23:49 +00:00
John Blackbourn a0536406a1 Add screen-reader friendly variations of some short text links in the Publish meta box. Fixes #25459.
git-svn-id: https://develop.svn.wordpress.org/trunk@27196 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-19 22:43:55 +00:00
Helen Hou-Sandi c4848bbac4 Once upon a time not long ago,
The admin CSS was merged in #18314.
After a couple years as it stood,
The mess it had become just was no good.
One day we realized Grunt is pretty cool,
And said "we should use this as our build tool!"
Now we can maintain separate files with ease,
Using @import and cssmin meets all our needs.
Welcome to the future of the WordPress stylesheets,
And thanks to Slick Rick for the beats.

props jorbin for the initial patch.
fixes #26669.


git-svn-id: https://develop.svn.wordpress.org/trunk@27195 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-19 21:42:36 +00:00
Sergey Biryukov 073d970d1f Use correct variable. props avryl. fixes #27153.
git-svn-id: https://develop.svn.wordpress.org/trunk@27194 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-19 15:28:17 +00:00
Scott Taylor 1b8da3d0d6 Use `selected()` where appropriate in `touch_time()`, `page_template_dropdown()`, and `parent_dropdown()`. Also, add proper docs.
Props meloniq, DrewAPicture.
Fixes #25889.



git-svn-id: https://develop.svn.wordpress.org/trunk@27188 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-17 22:26:14 +00:00
Andrew Nacin 6351b0b3a4 Rename the old media.css file, used for the pre-3.5 media library. Clean up script-loader CSS registrations.
see #26669.


git-svn-id: https://develop.svn.wordpress.org/trunk@27181 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-16 00:35:12 +00:00
Andrew Nacin 01b809bf2b Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes.
We'll be using it for two distinct tasks:
 * Core CSS files will keep prefixes. `grunt autoprefixer:core` will update files directly in src/ as a pre-commit step, rather than doing it on build.
 * Color CSS files will receive prefixes when they are built.

This commit:
 * Adds prefixes we were missing to core CSS.
 * Removes prefixes that we no longer need from core CSS.
 * Removes all prefixes from colors CSS.

props ocean90.
fixes #27078.


git-svn-id: https://develop.svn.wordpress.org/trunk@27174 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-13 08:29:16 +00:00
Andrew Nacin 12b13fe7cf Optimize 69 images (of 127) using the new Grunt task. (See [27172].)
fixes #25169.


git-svn-id: https://develop.svn.wordpress.org/trunk@27173 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-13 08:02:48 +00:00