Commit Graph

25607 Commits

Author SHA1 Message Date
Drew Jaynes (DrewAPicture)
d5100269c8 Inline documentation for hooks in wp-includes/taxonomy.php.
Props kpdesign for some minor language tweaks.
Fixes #27505.


git-svn-id: https://develop.svn.wordpress.org/trunk@27827 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:28:23 +00:00
Drew Jaynes (DrewAPicture)
eb7173d906 Inline documentation for hooks in wp-includes/class.wp-styles.php.
Props lkwdwrd.
Fixes #27445.


git-svn-id: https://develop.svn.wordpress.org/trunk@27826 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:23:44 +00:00
Drew Jaynes (DrewAPicture)
57f3e4ca3c Inline documentation for hooks in wp-includes/pluggable.php.
Props kpdesign for some cleanup.
Fixes #26888.


git-svn-id: https://develop.svn.wordpress.org/trunk@27825 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:20:08 +00:00
Dominik Schilling (ocean90)
12ba5b0ff9 Widget Customizer: Remove some specific styles for Widget Visibility from Jetpack.
This hasn't worked well and is now fixed upstream.

props westonruter.
see #27112.


git-svn-id: https://develop.svn.wordpress.org/trunk@27824 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 20:43:29 +00:00
Drew Jaynes (DrewAPicture)
a2d810d024 The sidebar_admin_setup hook should only be documented once in wp-admin/widgets.php. All others are duplicates.
See #25374, #25501, #27531.


git-svn-id: https://develop.svn.wordpress.org/trunk@27823 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 19:46:26 +00:00
Andrew Nacin
5857c18dd8 Install: Allow an installation to go through with a custom user table with the username 'admin'.
This could be better, but this solves the regression caused by [25115].

fixes #27093, see #24078.


git-svn-id: https://develop.svn.wordpress.org/trunk@27822 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 18:59:52 +00:00
Helen Hou-Sandi
49c1734957 Allow the fullscreen editor's content area to also be responsive. props avryl. fixes #27569.
git-svn-id: https://develop.svn.wordpress.org/trunk@27821 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 17:37:49 +00:00
Sergey Biryukov
0116e778d9 Widget Customizer: Simplify conditions in setup_widget_addition_previews().
see #27534.

git-svn-id: https://develop.svn.wordpress.org/trunk@27820 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 17:08:05 +00:00
Dominik Schilling (ocean90)
814b798b0d Widget Customizer: Simplify nonces.
see #27534.

git-svn-id: https://develop.svn.wordpress.org/trunk@27819 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 15:34:17 +00:00
Dominik Schilling (ocean90)
891e6183ee Widget Customizer: Remove UPDATE_WIDGET_AJAX_ACTION and UPDATE_WIDGET_NONCE_POST_KEY constants.
see #27534.

git-svn-id: https://develop.svn.wordpress.org/trunk@27818 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 15:01:41 +00:00
Dominik Schilling (ocean90)
66f5f64352 MediaElement.js: Update version for [27811]. see #27570.
git-svn-id: https://develop.svn.wordpress.org/trunk@27817 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 14:10:44 +00:00
Dominik Schilling (ocean90)
2d4b606e14 Widget Customizer: Convert static WP_Customize_Widgets class into instantiated class and merge Options_Transaction into WP_Customize_Widgets.
see #27504.
props westonruter.


git-svn-id: https://develop.svn.wordpress.org/trunk@27816 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 14:06:10 +00:00
Dominik Schilling (ocean90)
76a167ac5f Introduce pre_update_option filter.
Filter is available in update_option() and allows to filter any option before its value is (maybe) serialized and updated.

see #27504.
props westonruter.


git-svn-id: https://develop.svn.wordpress.org/trunk@27815 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 13:56:44 +00:00
Dominik Schilling (ocean90)
cc102fe0ff Widget Customizer: Set hightlight color to blue. Same color as in [27741].
fixes #27358.

git-svn-id: https://develop.svn.wordpress.org/trunk@27814 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 13:32:53 +00:00
Scott Taylor
e94f08380e Return the default mime icon for playlist items that don't have a featured image in wp_prepare_attachment_for_js().
See [27640].



git-svn-id: https://develop.svn.wordpress.org/trunk@27813 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 12:49:48 +00:00
Scott Taylor
0e188eba96 When creating a new playlist, we don't know from the model what "type" it is right away (there is no longer a video-playlist shortcode) - we need to check the controller's library's prop for type when deciding what settings to display in the modal.
See #27535.



git-svn-id: https://develop.svn.wordpress.org/trunk@27812 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 12:36:41 +00:00
Scott Taylor
559cad0fb0 Bump to 2.14.0 - fixes issues related to m4a files.
Fixes #27570.



git-svn-id: https://develop.svn.wordpress.org/trunk@27811 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 12:34:05 +00:00
Drew Jaynes (DrewAPicture)
815ccdf8f3 Wow. One more time with the typos.
I can, in fact, spell 'instance'.

See #27566.


git-svn-id: https://develop.svn.wordpress.org/trunk@27810 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:53:42 +00:00
Drew Jaynes (DrewAPicture)
01e30d23b4 Better description and fixed typo for _WP_Editors::parse_settings().
See [27808]. See #27566.


git-svn-id: https://develop.svn.wordpress.org/trunk@27809 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:50:12 +00:00
Drew Jaynes (DrewAPicture)
f36a1ab9b5 Convert wp_editor() default arguments documentation to a hash notation in the _WP_Editors::parse_settings() PHPDoc.
See #27566.


git-svn-id: https://develop.svn.wordpress.org/trunk@27808 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:45:54 +00:00
Drew Jaynes (DrewAPicture)
01ecedbb0d Fix the wp_count_attachments() PHPDoc to reflect that it returns an object, not array.
See #25412.


git-svn-id: https://develop.svn.wordpress.org/trunk@27807 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 05:42:49 +00:00
Andrew Ozz
e50f30640e Make DFW usable on touch devices: change the toolbar to two rows and keep it and borders visible. See #26907
git-svn-id: https://develop.svn.wordpress.org/trunk@27806 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 04:39:04 +00:00
Helen Hou-Sandi
706b608000 Set baseline colors for the light playlist skin. props kwight. fixes #27562.
git-svn-id: https://develop.svn.wordpress.org/trunk@27805 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:37:08 +00:00
Helen Hou-Sandi
90d45acbf7 Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521.
git-svn-id: https://develop.svn.wordpress.org/trunk@27804 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:15:30 +00:00
Andrew Nacin
7a3c12d985 Add a unit test for shortlinks of a page on front.
see #26871, see [27802].


git-svn-id: https://develop.svn.wordpress.org/trunk@27803 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:01:43 +00:00
Andrew Nacin
09d8fe1b09 Shortlinks: Use the home URL for a page on front.
This will result in 'Get Shortlink' hiding by default, as it will match the permalink (also the home URL).

fixes #26871.


git-svn-id: https://develop.svn.wordpress.org/trunk@27802 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:58:53 +00:00
Andrew Nacin
98ac075d8b Always decode special characters for email subjects.
props tlovett1, jeremyfelt.
fixes #25346.


git-svn-id: https://develop.svn.wordpress.org/trunk@27801 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:43:04 +00:00
Andrew Nacin
65007189cf Galleries: Avoid doubling up clearing br elements.
props drozdz.
fixes #25537.


git-svn-id: https://develop.svn.wordpress.org/trunk@27800 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:40:47 +00:00
Andrew Nacin
d686c73525 Pass walker arguments to get_comment_link() so pagination works when wp_list_comments() is used outside the comment template.
props SergeyBiryukov.
fixes #27007.


git-svn-id: https://develop.svn.wordpress.org/trunk@27799 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 02:37:33 +00:00
Dominik Schilling (ocean90)
4d57b96fb2 Widget Customizer: Improve behavior of bigger widgets.
* Support widgets which are higher than browsers viewport.
* Use widgets width as max-width.
* Don't animate the width of wide widgets to make them visible, instead fade them in/out.
* Fix Chrome flickerings while updating wide widgets.

props adamsilverstein, westonruter, ocean90.
see #27348.

git-svn-id: https://develop.svn.wordpress.org/trunk@27798 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 23:12:25 +00:00
Andrew Ozz
bbe59d0487 Edit Image modal:
- Bring back some of the advanced settings.
- Make the layout two-column for wider screens, remove the sidebar, and shrink the modal a bit.
- The image reflects the size as inserted in the post as long as it doesn't overflow the column and is not too tall. Changing the size to another intermediate will also update the image "preview."
- Rename "Edit Image" to "Edit Original" to try and better communicate that editing the image will modify the media library item not just the image inserted into the post that is being edited.
(updates two PNGs from precommit)
Props gcorne, see #27366

git-svn-id: https://develop.svn.wordpress.org/trunk@27797 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 22:40:06 +00:00
Scott Taylor
c411ad4cba When labeling Show Tracklist for playlist settings, use Show Video List when the playlist is video.
Fixes #27535.



git-svn-id: https://develop.svn.wordpress.org/trunk@27796 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 21:09:39 +00:00
Scott Taylor
17e4da2bd8 Remove html5 theme support on tearDown() so theme settings don't leak into other tests.
git-svn-id: https://develop.svn.wordpress.org/trunk@27795 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:54:08 +00:00
Scott Taylor
7b7e5305c7 In multi_resize() image editor methods, assert that null can only be passed for one of the arguments, not both. Add a lot more unit test assertions to ensure this.
Props pbearne, DH-Shredder.
Fixes #26823.



git-svn-id: https://develop.svn.wordpress.org/trunk@27794 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:39:08 +00:00
Scott Taylor
75ee98cb25 Remove tracknumbers from the UI, can still be overridden as a playlist shortcode attribute.
See #27535.



git-svn-id: https://develop.svn.wordpress.org/trunk@27793 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:26:24 +00:00
Helen Hou-Sandi
1959b1379b Affix the audio view toolbar to the bottom as opposed to the top of the view. Otherwise it's not accessible when the view is the first item in the content. Said views keep a newline underneath, so there's space for it to appear there instead. fixes #27548, see #27320.
git-svn-id: https://develop.svn.wordpress.org/trunk@27792 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 20:09:38 +00:00
Andrew Ozz
7494a5acc5 Set the default font family to inherit (Open Sans) in all TinyMCE modals, change the cursor to pointer when hovering over Quicktags buttons. Props avryl, see #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27791 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 19:18:45 +00:00
Dominik Schilling (ocean90)
615e820420 Add some missing CSS prefixes. props grunt autoprefixer:core.
git-svn-id: https://develop.svn.wordpress.org/trunk@27790 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 19:16:35 +00:00
Scott Taylor
8312fca652 Make sure Playlist states that are audio are marked as such with proper localized strings.
See #27554.


git-svn-id: https://develop.svn.wordpress.org/trunk@27789 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:36:03 +00:00
Scott Taylor
85de422f33 Move counting of attachments for audio/video to the backend, instead of using a reduce function in JS.
See #27554.



git-svn-id: https://develop.svn.wordpress.org/trunk@27788 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:15:09 +00:00
Andrew Nacin
c0fcc61290 Avoid JS errors when edit image is not available, such as outside of post editing.
props gcorne.
fixes #27551.


git-svn-id: https://develop.svn.wordpress.org/trunk@27787 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:14:05 +00:00
Andrew Nacin
c5717f0aa1 Remove the TinyMCE image toolbar when the image is deleted via the keyboard.
props gcorne.
fixes #27527.


git-svn-id: https://develop.svn.wordpress.org/trunk@27786 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 18:06:13 +00:00
Scott Taylor
9384ee1bf3 There is no more video-playlist shortcode. To use video, it is now [playlist type="video" ....]. Also deleting core playlist styles. The style attribute is still supported, defaulting to light. Our core style support was 4-5 CSS rules.
See #27552. Leaving open for comments and potential bugs.



git-svn-id: https://develop.svn.wordpress.org/trunk@27785 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:57:30 +00:00
Andrew Nacin
0098d5ab65 Color scheme support for the new theme installer UI.
props ryelle.
fixes #27522.


git-svn-id: https://develop.svn.wordpress.org/trunk@27784 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:55:34 +00:00
Andrew Nacin
ccf21196cb Remove unused JS variables after [27770]. see #27013.
git-svn-id: https://develop.svn.wordpress.org/trunk@27783 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:31:00 +00:00
Andrew Nacin
9e29fa6ffd Add post_parent to the private query vars list. Fixes detached media queries.
props SergeyBiryukov.
fixes #27532.


git-svn-id: https://develop.svn.wordpress.org/trunk@27782 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 16:36:40 +00:00
Andrew Nacin
1c19360c54 Preserve comments in Masonry shim. see [27780], see #27510.
git-svn-id: https://develop.svn.wordpress.org/trunk@27781 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:32:43 +00:00
Andrew Nacin
f89de2538c Update minified jQuery Masonry shim. see [27779], see #27510.
git-svn-id: https://develop.svn.wordpress.org/trunk@27780 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:31:32 +00:00
Andrew Nacin
ca8351919e Update Masonry v2/v3 shim from upstream.
props kovshenin.
see #27510.


git-svn-id: https://develop.svn.wordpress.org/trunk@27779 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:24:04 +00:00
Andrew Nacin
f4089c7a58 TinyMCE: Differentiate active and hover states for toolbar buttons like the kitchen sink.
This restores 3.8 behavior.

see #27279.


git-svn-id: https://develop.svn.wordpress.org/trunk@27778 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 07:18:18 +00:00