Drew Jaynes
139dedb474
Document the $taxonomy
property in WP_Adjacent_Post
.
...
See #26937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27293 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:20:44 +00:00
Drew Jaynes
73e5f71859
Remove now-moot vanity spacing for WP_Adjacent_Post
property definitions.
...
See #26937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27292 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:17:36 +00:00
Drew Jaynes
4a381ab393
Add inline documentation for properties and other inline docs fixes for WP_Adjacent_Post
.
...
See #26937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27291 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:15:03 +00:00
Mark Jaquith
1d91296b3b
Return 404 when querying author's posts who is not a member and has no posts on the site
...
fixes #20601 . props yoavf, nacin, SergeyBiryukov, wonderboymusic, markjaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@27290 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:11:36 +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
36b9bab81b
One more change. see #26937 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27288 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 17:17:27 +00:00
Andrew Nacin
ee8715af6a
We shall call it WP_Adjacent_Post instead. see #26937 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27287 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 17:16:47 +00:00
Andrew Nacin
34f1504cd9
Make get_adjacent_post() wrap a new WP_Get_Adjacent_Post object that uses WP_Query.
...
See [27285] for the actual commit, which misfired.
props ethitter!
fixes #26937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27286 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 17:11:19 +00:00
Andrew Nacin
1d8d862e97
Make get_adjacent_post() wrap a new WP_Get_Adjacent_Post object that uses WP_Query.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27285 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 17:09:54 +00:00
Andrew Nacin
2652ddf3d5
Use placeholders in strings in wp_sprintf_l() to ensure spaces are not lost in translation.
...
props andy.
fixes #26651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27284 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 16:49:24 +00:00
nacin
fb317e3d70
Pass the comment object to the get_comment_date and get_comment_time.
...
props SergeyBiryukov.
fixes #19849 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27283 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 16:40:03 +00:00
Andrew Nacin
6dde834d22
Ensure disabled secondary buttons do not change background on hover or active.
...
props helen.
fixes #26785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27282 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 08:06:33 +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
544b73ec4c
When failing to reconnect to a server that has gone away, simply fail the query once we've passed template_redirect, rather than wp_die().
...
props pento.
see #5932 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27279 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 04:53:21 +00:00
Andrew Nacin
73ad0a310a
Add a constant to disable mysqli for testing purposes. see #21663 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27278 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 04:19:45 +00:00
Andrew Nacin
b84ed60fa9
wpdb: set dbh to null when the mysqli connection fails. see #21663 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27277 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 04:14:54 +00:00
Andrew Ozz
5e8787d0de
When closing the various "edit" media modals, remove the related views elements from the DOM. Props gcorne, fixes #27204 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27276 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 21:02:22 +00:00
Mark Jaquith
46ee6fbc51
Fix a sometimes notice in wpmu_current_site()
...
props johnjamesjacoby. see #27003 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27275 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 20:52:05 +00:00
Andrew Nacin
c5206e3d41
Add exclude and include to wp_list_authors().
...
props patricknami.
fixes #9902 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27274 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 20:10:34 +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
Andrew Nacin
ef8c2d0020
Keep redirect_to when hitting the log out AYS.
...
props mitchoyoshitaka for initial patch.
fixes #17398 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27272 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 20:01:36 +00:00
Andrew Nacin
f14ef59818
Update the Masonry JavaScript library to version 3.
...
The new script handle is 'masonry'. The old 'jquery-masonry' handle is the official shiv that sits on top of the v3 library. While v3 no longer depends on jQuery, a theme or plugin may have bee
n implicitly loading jQuery though Masonry, rather than additionally declaring it as a dependency for themselves. Thus, the shiv is separate.
Themes should switch to 'masonry' and declare jQuery as a dependency on their own if they need it. Upgrade guide: http://masonry.desandro.com/appendix.html#upgrading-from-v2 . imagesLoaded remai
ns included with Masonry here.
props shelob9.
fixes #25351 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27271 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 19:52:57 +00:00
Andrew Ozz
58fe64750d
Set wpActiveEditor to the id of the first instance on init, props kovshenin, fixes #27210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27270 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 19:30:46 +00:00
Scott Taylor
7a21b05378
Make sure data.meta
always exists when rendering tracklists. Use $theme_width
when rendering media tag in playlist template instead of recalculating.
...
Props helen.
git-svn-id: https://develop.svn.wordpress.org/trunk@27269 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 19:29:49 +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
1e078dd1e4
Fixed mixed spaces and tabs. Also remove trailing comma. see #26631 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27266 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:31:19 +00:00
Andrew Nacin
7b944c03a6
Fix undefined variable. see #16686 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27265 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:28:54 +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
Andrew Nacin
db2203acbd
Update the HTML5 Shiv across the default themes to 3.7.0.
...
props rickalee.
fixes #26491 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27263 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:17:30 +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
Andrew Nacin
1916576840
Allow current_time() to accept a date format string, adding to 'timestamp' and 'mysql'.
...
props danielbachhuber.
fixes #21653 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27259 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:00:36 +00:00
Andrew Nacin
a407ae2363
Allow user_id to be an array of IDs in WP_Comment_Query.
...
props mordauk.
fixes #27064 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27258 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 16:34:25 +00:00
Andrew Nacin
19d7d1dd09
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27257 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 15:52:48 +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
5b8000ebce
Consistently return a WP_Error object in case of an error in wp_update_nav_menu_item().
...
props bootsz, ocean90.
fixes #21652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27251 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:50:36 +00:00
Andrew Nacin
f8af178264
Use ext/mysqli in PHP 5.5 or greater. Expect minor explosions.
...
props aaroncampbell, pento.
see #21663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27250 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:39:28 +00:00
Andrew Nacin
c61accb146
Declare $wpdb->base_prefix.
...
props DavidAnderson.
fixes #16762 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27249 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:29:01 +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
Scott Taylor
a99056fd24
Get the proper image size for an item's thumb in playlist JSON.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27245 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 21:09:14 +00:00
Scott Taylor
e46f8428fd
Supply mime-type instead of extension for an item's type
property in playlist JSON.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27244 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 21:05:00 +00:00
wonderboymusic
29725ce426
Remove a few unnecessary jQuery selectors added in [27239]. Playlists don't exist in some older contexts that galleries do.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27243 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 20:48:02 +00:00
Scott Taylor
5ead62b90c
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27242 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 20:25:54 +00:00
Drew Jaynes
2a900a80a1
Spacing fixes for code introduced in [27239].
...
See #26631
git-svn-id: https://develop.svn.wordpress.org/trunk@27241 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 19:49:12 +00:00
Drew Jaynes
268b688247
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@27240 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 19:41:24 +00:00
Scott Taylor
9ff3e7c214
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27239 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 18:07:51 +00:00
Scott Taylor
7b4cc75efb
Access class directly instead of using this
in the shortcodeAttrs
method of any factory-generated wp.media.collection
.
...
Fixes #27183 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27238 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-24 13:00:01 +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
Dominik Schilling (ocean90)
1c9c7b99f5
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@27236 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-23 10:29:42 +00:00
Drew Jaynes
7f6661b330
Correct PHPDoc return description for get_boundary_post()
.
...
Props ericlewis.
Fixes #22950 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27235 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-22 22:27:04 +00:00
Andrew Nacin
b750990447
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27234 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-22 19:35:41 +00:00
Dominik Schilling (ocean90)
fb3d0c02b4
Update Backbone to version 1.1.2.
...
props gcorne.
fixes #27182 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27233 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-22 15:41:50 +00:00
Sergey Biryukov
03f35c2bce
Revert [27228], as it doesn't work with SCRIPT_DEBUG off.
...
see #27175 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27232 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-22 01:58:45 +00:00
Sergey Biryukov
ed6ec6de61
Correct @return value for get_the_date().
...
props TobiasBg.
fixes #27181 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27231 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 22:48:38 +00:00
Sergey Biryukov
fdb9451326
Remove unnecessary assignment and concatenation from the_date() and get_the_date().
...
props juliobox.
fixes #27181 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27230 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 22:38:00 +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
2122d00761
Make sure color schemes are registered when WP_Styles is initialized early.
...
fixes #27175 . see #26669 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27228 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 21:08:37 +00:00
Andrew Nacin
909fe70f4e
Remove unused variable.
...
props ericlewis.
fixes #27176 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27227 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 20:51:23 +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
Andrew Nacin
5e48d4236a
Allow any vimeo.com subdomain for embeds.
...
props danielbachhuber.
fixes #24170 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27225 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 19:32:01 +00:00
Sergey Biryukov
ddb1f3e7ca
Remove unused code from WP_Widget::update_callback().
...
props OriginalEXE.
fixes #24733 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27224 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 18:50:08 +00:00
Drew Jaynes
45cbb9148a
Fix reversed return logic in the wp_nav_menu()
phpdoc.
...
See #27163 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27223 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 18:33:39 +00:00
Drew Jaynes
2a926fe16b
Convert docs for wp_nav_menu()
arguments to a hash notation.
...
Fixes #27163 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27222 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 18:31:27 +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
b74f222d33
Remove theme support for 'menus' in unregister_nav_menu() when there are no more menus.
...
props kovshenin.
fixes #26900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27220 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-21 18:13:52 +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
Sergey Biryukov
0ccc5db0dd
Add boolean return values to require_if_theme_supports().
...
props jeffsebring, DrewAPicture.
fixes #26716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27217 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 22:10:32 +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
2b06a387fe
Register wp.media.controller.GalleryEdit
and wp.media.controller.GalleryAdd
using the new wp.media.controller.Collection*
abstraction code.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27215 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 18:33:39 +00:00
Scott Taylor
fc5a96502f
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27214 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 18:25:01 +00:00
Scott Taylor
6fed18847c
Replace the current wp.media.gallery
instance in media-editor.js
with one that leverages wp.media.collection
.
...
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27213 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 18:12:05 +00:00
Scott Taylor
863c141ba8
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27212 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 18:06:31 +00:00
Drew Jaynes
b85d8ddbd8
Remove now-unnecessary vanity spacing of various hooks in wp-includes/query.php.
...
See #25514 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27211 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 17:58:42 +00:00
Drew Jaynes
efd0b5081e
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27210 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 17:53:33 +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
Drew Jaynes
3776fd7d5d
Inline documentation for various SQL clause hooks in wp-includes/query.php.
...
Covers documentation for SQL clause hooks related to comment feeds, including:
* `comment_feed_join`
* `comment_feed_where`
* `comment_feed_groupby`
* `comment_feed_orderby`
* `comment_feed_limits`
Props dougwollison, DrewAPicture.
See #25514 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27208 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 17:45:19 +00:00
Drew Jaynes
5f068b8a11
Inline documentation for various SQL clause hooks in wp-includes/query.php.
...
Covers documentation for SQL clause hooks specified for use by caching plugins, including:
* `posts_selection`
* `posts_where_request`
* `posts_groupby_request`
* `posts_join_request`
* `posts_orderby_request`
* `posts_distinct_request`
* `posts_fields_request`
* `post_limits_request`
* `posts_clauses_request`
Props dougwollison, DrewAPicture.
See #25514 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27207 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 17:40:14 +00:00
Drew Jaynes
5fbf05a2cb
Inline documentation for various SQL clause hooks in wp-includes/query.php.
...
Covers documentation for general SQL clause hooks, including:
* `posts_where`
* `posts_join`
* `posts_where_paged`
* `posts_groupby`
* `posts_join_paged`
* `posts_orderby`
* `posts_distinct`
* `post_limits`
* `posts_fields`
* `posts_clauses`
Props dougwollison, DrewAPicture.
See #25514 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27206 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 17:33:16 +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
nacin
4397095aa8
Remove accidental change in [27203]. see #20729 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27204 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 06:59:02 +00:00
Andrew Nacin
f176ab98fc
Simplify how admin color schemes are enqueued.
...
Removes a piece of [27111].
fixes #20729 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27203 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 06:58:10 +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
Drew Jaynes
1b45201476
Fixes for hooks documentation wp-includes/nav-menu-template.php.
...
See #26869 , #25229 and [25410].
git-svn-id: https://develop.svn.wordpress.org/trunk@27201 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 05:07:39 +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
Andrew Ozz
377c5520ea
TinyMCE: revert style for the blocks drop-down in the toolbar, limit the styles imported for the same drop-down, make the menu highlight color grey. Part props avryl, see #26952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27193 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-19 03:50:09 +00:00
Sergey Biryukov
47510a2092
Correct @since value. see #26869 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27192 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-18 21:44:14 +00:00
Sergey Biryukov
013a4e3381
Correct return values for update_metadata() and related functions.
...
fixes #21864 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27191 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-18 21:35:07 +00:00