Andrew Nacin
7387504854
Allow user_id to be an array of IDs in WP_Comment_Query.
...
props mordauk.
fixes #27064 .
Built from https://develop.svn.wordpress.org/trunk@27258
git-svn-id: http://core.svn.wordpress.org/trunk@27115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 16:35:13 +00:00
Andrew Nacin
c51ce41c59
Use mysqli for WordPress development versions, regardless of PHP version, to increase testing footprint.
...
Allow the lack of ext/mysql to pass wp_check_php_mysql_versions().
see #21663 .
Built from https://develop.svn.wordpress.org/trunk@27257
git-svn-id: http://core.svn.wordpress.org/trunk@27114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 15:53:13 +00:00
Drew Jaynes
94549c1a4a
Inline documentation for hooks in wp-admin/includes/screen.php.
...
Props enej, kpdesign.
Fixes #26821 .
Built from https://develop.svn.wordpress.org/trunk@27256
git-svn-id: http://core.svn.wordpress.org/trunk@27113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 10:05:14 +00:00
Drew Jaynes
0ab444cd42
Inline documentation for hooks in wp-admin/includes/class-wp-posts-list-table.php.
...
Props nicolealleyinteractivecom, kpdesign.
Fixes #26397 .
Built from https://develop.svn.wordpress.org/trunk@27255
git-svn-id: http://core.svn.wordpress.org/trunk@27112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 06:12:13 +00:00
Helen Hou-Sandí
ad2fe1873e
Fix the tags input in small viewports and make it a more reasonable size. props SergeyBiryukov. fixes #27082 .
...
Built from https://develop.svn.wordpress.org/trunk@27254
git-svn-id: http://core.svn.wordpress.org/trunk@27111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 05:25:13 +00:00
Sergey Biryukov
a73ce3610b
Force UTF-8 in load-styles.php, like we do in load-scripts.php.
...
props iamfriendly, mjbanks.
fixes #25012 .
Built from https://develop.svn.wordpress.org/trunk@27253
git-svn-id: http://core.svn.wordpress.org/trunk@27110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 01:28:15 +00:00
Sergey Biryukov
6f8cfb1c00
Prevent large images in comments from overflowing the meta box.
...
props mattheu.
fixes #26643 .
Built from https://develop.svn.wordpress.org/trunk@27252
git-svn-id: http://core.svn.wordpress.org/trunk@27109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 01:22:14 +00:00
Sergey Biryukov
19be701a86
Consistently return a WP_Error object in case of an error in wp_update_nav_menu_item().
...
props bootsz, ocean90.
fixes #21652 .
Built from https://develop.svn.wordpress.org/trunk@27251
git-svn-id: http://core.svn.wordpress.org/trunk@27108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:51:13 +00:00
Andrew Nacin
768db95280
Use ext/mysqli in PHP 5.5 or greater. Expect minor explosions.
...
props aaroncampbell, pento.
see #21663 .
Built from https://develop.svn.wordpress.org/trunk@27250
git-svn-id: http://core.svn.wordpress.org/trunk@27107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:40:13 +00:00
Andrew Nacin
1b9dda7d75
Declare $wpdb->base_prefix.
...
props DavidAnderson.
fixes #16762 .
Built from https://develop.svn.wordpress.org/trunk@27249
git-svn-id: http://core.svn.wordpress.org/trunk@27106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:30:13 +00:00
Sergey Biryukov
51d07be5fc
Fix thickbox positioning if toolbar is not present.
...
fixes #26745 .
Built from https://develop.svn.wordpress.org/trunk@27248
git-svn-id: http://core.svn.wordpress.org/trunk@27105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:26:13 +00:00
Sergey Biryukov
0cbdf53b18
Fix theme preview URL for themes loaded via AJAX on Install Themes screen.
...
props ocean90.
fixes #27128 .
Built from https://develop.svn.wordpress.org/trunk@27247
git-svn-id: http://core.svn.wordpress.org/trunk@27104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:01:14 +00:00
Sergey Biryukov
5d3e652c23
Add Oxford comma to password hint.
...
props trepmal.
fixes #26457 .
Built from https://develop.svn.wordpress.org/trunk@27246
git-svn-id: http://core.svn.wordpress.org/trunk@27103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 23:31:15 +00:00
Scott Taylor
d5c0574c94
Get the proper image size for an item's thumb in playlist JSON.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27245
git-svn-id: http://core.svn.wordpress.org/trunk@27102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 21:10:12 +00:00
Scott Taylor
d393e38624
Supply mime-type instead of extension for an item's `type` property in playlist JSON.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27244
git-svn-id: http://core.svn.wordpress.org/trunk@27101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 21:05:16 +00:00
Scott Taylor
4b66e01e6d
Remove a few unnecessary jQuery selectors added in [27239]. Playlists don't exist in some older contexts that galleries do.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27243
git-svn-id: http://core.svn.wordpress.org/trunk@27100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 20:49:14 +00:00
Scott Taylor
c0379aaafc
Load default settings state when creating a new playlist in the media modal. Add a few missing inline `@this` annotations in `media-editor.js`.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27242
git-svn-id: http://core.svn.wordpress.org/trunk@27099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 20:26:14 +00:00
Drew Jaynes
700ba14371
Spacing fixes for code introduced in [27239].
...
See #26631
Built from https://develop.svn.wordpress.org/trunk@27241
git-svn-id: http://core.svn.wordpress.org/trunk@27098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 19:50:15 +00:00
Drew Jaynes
de43247d4c
Inline documentation improvements for `wp_get_playlist()`.
...
* Adds a missing `@param` description in the PHPDoc.
* Adds hook documentation for the `post_playlist` filter.
* Other comment cleanup.
Built from https://develop.svn.wordpress.org/trunk@27240
git-svn-id: http://core.svn.wordpress.org/trunk@27097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 19:42:13 +00:00
Scott Taylor
943f295d2e
Add core support for Playlists and Video Playlists.
...
* Playlists operate like galleries in the admin.
* Provide default UI and JS support in themes using MediaElement and Backbone.
* The shortcodes are clickable, editable, and configurable using the media modal.
* Playlists support images for each item, whether or not the current theme supports images for `attachment:audio` and `attachment:video`
* Playlists respond to `$content_width` and resize videos accordingly.
* All playlist data is included inline, using a script tag with `type="application/json"`, allowing anyone to unenqueue the WP playlist JS and roll their own.
* Playlist styles are minimal and work out of the box in the last 5 default themes. They inherit and adapt to the current theme's font styles, and their rules are easily overrideable.
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27239
git-svn-id: http://core.svn.wordpress.org/trunk@27096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 18:08:16 +00:00
Scott Taylor
5d15ed5202
Access class directly instead of using `this` in the `shortcodeAttrs` method of any factory-generated `wp.media.collection`.
...
Fixes #27183 .
Built from https://develop.svn.wordpress.org/trunk@27238
git-svn-id: http://core.svn.wordpress.org/trunk@27095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 13:01:14 +00:00
Drew Jaynes
ad3861242d
Inline documentation for hooks in wp-admin/includes/template.php.
...
Props shelob9 for the initial patch. Props kpdesign.
Fixes #26089 .
Built from https://develop.svn.wordpress.org/trunk@27237
git-svn-id: http://core.svn.wordpress.org/trunk@27094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-23 22:44:13 +00:00
Dominik Schilling
c9a27f3927
Build: Update version of grunt-autoprefixer devDependency.
...
The update includes a new version of Autoprefixer which now supports the `ms-touch-action` prop for IE10.
Run `grunt autoprefixer:core` to re-add the missing props in media-view.css.
Built from https://develop.svn.wordpress.org/trunk@27236
git-svn-id: http://core.svn.wordpress.org/trunk@27093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-23 10:30:19 +00:00
Drew Jaynes
8ec1503e15
Correct PHPDoc return description for `get_boundary_post()`.
...
Props ericlewis.
Fixes #22950 .
Built from https://develop.svn.wordpress.org/trunk@27235
git-svn-id: http://core.svn.wordpress.org/trunk@27092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-22 22:28:13 +00:00
Andrew Nacin
98bf662bb9
Bump.
...
Built from https://develop.svn.wordpress.org/trunk@27234
git-svn-id: http://core.svn.wordpress.org/trunk@27091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-22 19:36:15 +00:00
Dominik Schilling
4dd8be2568
Update Backbone to version 1.1.2.
...
props gcorne.
fixes #27182 .
Built from https://develop.svn.wordpress.org/trunk@27233
git-svn-id: http://core.svn.wordpress.org/trunk@27090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-22 15:42:14 +00:00
Sergey Biryukov
b1cf2bea46
Revert [27228], as it doesn't work with SCRIPT_DEBUG off.
...
see #27175 .
Built from https://develop.svn.wordpress.org/trunk@27232
git-svn-id: http://core.svn.wordpress.org/trunk@27089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-22 01:59:15 +00:00
Sergey Biryukov
46fc082824
Correct @return value for get_the_date().
...
props TobiasBg.
fixes #27181 .
Built from https://develop.svn.wordpress.org/trunk@27231
git-svn-id: http://core.svn.wordpress.org/trunk@27088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 22:49:13 +00:00
Sergey Biryukov
68f4f9d5ba
Remove unnecessary assignment and concatenation from the_date() and get_the_date().
...
props juliobox.
fixes #27181 .
Built from https://develop.svn.wordpress.org/trunk@27230
git-svn-id: http://core.svn.wordpress.org/trunk@27087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 22:38:13 +00:00
Helen Hou-Sandí
9dd166a700
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 .
...
Built from https://develop.svn.wordpress.org/trunk@27229
git-svn-id: http://core.svn.wordpress.org/trunk@27086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 22:11:14 +00:00
Andrew Nacin
4e78f02a05
Make sure color schemes are registered when WP_Styles is initialized early.
...
fixes #27175 . see #26669 .
Built from https://develop.svn.wordpress.org/trunk@27228
git-svn-id: http://core.svn.wordpress.org/trunk@27085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 21:09:15 +00:00
Andrew Nacin
9cc9b023b4
Remove unused variable.
...
props ericlewis.
fixes #27176 .
Built from https://develop.svn.wordpress.org/trunk@27227
git-svn-id: http://core.svn.wordpress.org/trunk@27084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 20:52:13 +00:00
Andrew Nacin
8452a209c4
Embolden some instructions when installing a network.
...
props Ipstenu.
fixes #27057 .
Built from https://develop.svn.wordpress.org/trunk@27226
git-svn-id: http://core.svn.wordpress.org/trunk@27083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 19:33:13 +00:00
Andrew Nacin
9e3201f130
Allow any vimeo.com subdomain for embeds.
...
props danielbachhuber.
fixes #24170 .
Built from https://develop.svn.wordpress.org/trunk@27225
git-svn-id: http://core.svn.wordpress.org/trunk@27082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 19:32:13 +00:00
Sergey Biryukov
45838c805c
Remove unused code from WP_Widget::update_callback().
...
props OriginalEXE.
fixes #24733 .
Built from https://develop.svn.wordpress.org/trunk@27224
git-svn-id: http://core.svn.wordpress.org/trunk@27081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:51:13 +00:00
Drew Jaynes
de2bd0bf44
Fix reversed return logic in the `wp_nav_menu()` phpdoc.
...
See #27163 .
Built from https://develop.svn.wordpress.org/trunk@27223
git-svn-id: http://core.svn.wordpress.org/trunk@27080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:34:14 +00:00
Drew Jaynes
44696a60dc
Convert docs for `wp_nav_menu()` arguments to a hash notation.
...
Fixes #27163 .
Built from https://develop.svn.wordpress.org/trunk@27222
git-svn-id: http://core.svn.wordpress.org/trunk@27079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:32:15 +00:00
Sergey Biryukov
f9d5020cb5
Use filtered per_page value in WP_Plugin_Install_List_Table and WP_Theme_Install_List_Table.
...
props brasofilo.
fixes #25675 .
Built from https://develop.svn.wordpress.org/trunk@27221
git-svn-id: http://core.svn.wordpress.org/trunk@27078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:30:14 +00:00
Andrew Nacin
635e50d9a1
Remove theme support for 'menus' in unregister_nav_menu() when there are no more menus.
...
props kovshenin.
fixes #26900 .
Built from https://develop.svn.wordpress.org/trunk@27220
git-svn-id: http://core.svn.wordpress.org/trunk@27077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:14:14 +00:00
Andrew Nacin
912379a022
Simplify error in validate_file_to_edit().
...
props MattyRob for initial patch.
fixes #25924 .
Built from https://develop.svn.wordpress.org/trunk@27219
git-svn-id: http://core.svn.wordpress.org/trunk@27076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 14:46:14 +00:00
Sergey Biryukov
cc6aabb93e
Prevent "Add" button in Tags meta box from wrapping to a new line in ru_RU.
...
fixes #26510 .
Built from https://develop.svn.wordpress.org/trunk@27218
git-svn-id: http://core.svn.wordpress.org/trunk@27075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 22:35:13 +00:00
Sergey Biryukov
bb9114f554
Add boolean return values to require_if_theme_supports().
...
props jeffsebring, DrewAPicture.
fixes #26716 .
Built from https://develop.svn.wordpress.org/trunk@27217
git-svn-id: http://core.svn.wordpress.org/trunk@27074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 22:11:14 +00:00
Scott Taylor
a730c3744a
Correct a missing conditional in `edit-form-advanced.php`.
...
See #26631 , [27209].
Props nacin for noticing.
Built from https://develop.svn.wordpress.org/trunk@27216
git-svn-id: http://core.svn.wordpress.org/trunk@27073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 21:38:12 +00:00
Scott Taylor
f319feb524
Register `wp.media.controller.GalleryEdit` and `wp.media.controller.GalleryAdd` using the new `wp.media.controller.Collection*` abstraction code.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27215
git-svn-id: http://core.svn.wordpress.org/trunk@27072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 18:34:12 +00:00
Scott Taylor
4193c7f6c3
In `media-views.js`, add `wp.media.controller.CollectionAdd` and `wp.media.controller.CollectionEdit` to provide an abstraction for Add and Edit screens in the media modal for collection-type things.
...
There are currently no instances of this. Those will be forthcoming.
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27214
git-svn-id: http://core.svn.wordpress.org/trunk@27071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 18:25:14 +00:00
Scott Taylor
911442cdab
Replace the current `wp.media.gallery` instance in `media-editor.js` with one that leverages `wp.media.collection`.
...
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27213
git-svn-id: http://core.svn.wordpress.org/trunk@27070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 18:13:14 +00:00
Scott Taylor
08b1c1b0f5
Add an abstraction of the gallery code in `media-editor.js` called `wp.media.collection`. This will be the basis for parsing `[gallery]`-like shortcodes in the media editor (thing playlists, collections of PDFs, etc).
...
There are currently no instances of this. Those will be forthcoming.
See #26631 .
Built from https://develop.svn.wordpress.org/trunk@27212
git-svn-id: http://core.svn.wordpress.org/trunk@27069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 18:07:12 +00:00
Drew Jaynes
d8a52d7523
Remove now-unnecessary vanity spacing of various hooks in wp-includes/query.php.
...
See #25514 .
Built from https://develop.svn.wordpress.org/trunk@27211
git-svn-id: http://core.svn.wordpress.org/trunk@27068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 17:59:13 +00:00
Drew Jaynes
9f9d3f8b8a
Inline documentation hooks in wp-includes/query.php.
...
Covers documentation for the various remaining query hooks, notably including but not limited to:
* `parse_query`
* `parse_tax_query`
* `pre_get_posts`
* `posts_results`
* `the_posts`
* `found_posts`
* `the_post`
Props dougwollison, DrewAPicture.
See #25514 .
Built from https://develop.svn.wordpress.org/trunk@27210
git-svn-id: http://core.svn.wordpress.org/trunk@27067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 17:54:13 +00:00
Scott Taylor
7ff83d46aa
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 .
Built from https://develop.svn.wordpress.org/trunk@27209
git-svn-id: http://core.svn.wordpress.org/trunk@27066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 17:50:13 +00:00