Scott Taylor
d43fcdb10b
Correct a misspelled property name in a media-views.js
annotation.
...
Props kovshenin.
See #26870 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27309 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 03:06:37 +00:00
Scott Taylor
1481b6a07c
Populate playlist setting values with their default value if they don't exist while parsing shortcode attributes.
...
Props kovshenin.
See #26631 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27308 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 02:54:58 +00:00
Dion Hulse
6cc978fed7
WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP.
...
This file has been generated from the latest mozilla release NSS.
Fixes #27017
git-svn-id: https://develop.svn.wordpress.org/trunk@27307 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 02:32:57 +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
Andrew Nacin
88f1b6e7ec
Add a $default argument to get_query_var() and WP_Query::get(). fixes #16471 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27304 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 23:57:10 +00:00
Andrew Nacin
56c79f659c
Move comment-reply.js to the footer.
...
While it can function before the page is loaded, it works by moving the comment form, which is usually toward the bottom of the page. Please report any contraindications on the ticket.
props obenland.
fixes #12641 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27303 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 22:26:10 +00:00
Andrew Nacin
f45fa1f0a3
Introduce HTML5 gallery support.
...
When a theme supports HTML5 galleries via add_theme_support( 'html5', 'gallery' ), figure and figcaption will be used instead of definition list markup.
props obenland.
fixes #26697 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27302 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 22:19:11 +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
6a35efe1e5
Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary.
...
microtime() returns greater precision than microtime(true).
see #27000 , #23448 , #26903 , #14485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27300 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 22:04:52 +00:00
Andrew Nacin
0fc8021977
Developer tools: grunt-patch-wordpress from jorbin, for applying patches directly from Trac.
...
Mapped to `grunt patch`, which declares usage. Requires `npm install` to install.
props jorbin. props helen, evarlese for help with grammar/instructions.
see #27023 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27299 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 21:45:55 +00:00
Mark Jaquith
7e70cdcb9b
Remove twenty* ignore-exclusion lines. Already tracked.
...
see #27207 . props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@27298 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 20:59:25 +00:00
Andrew Nacin
f17d43e620
Add a filter to remove or rename page templates for a theme. This does not yet handle adding page templates. see #13265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27297 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 20:31:00 +00:00
Andrew Nacin
de824fade1
Set the taxonomy property in the WP_Adjacent_Post class. fixes #26937 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27296 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:45:39 +00:00
Mark Jaquith
9907c09f1b
More robust .gitignore
file
...
fixes #27207 . props TobiasBg, markjaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@27295 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:44:27 +00:00
Andrew Nacin
68c8b9cf0f
Introduce doing_filter() and doing_action() to identify hooks in progress.
...
did_action() returns true the moment a hook is initially run, leaving you no way to tell if the hook is still in progress. Hooks can be nested and this checks the entire stack, versus current_filter() which only identifies the final hook in the stack. This commit also introduces current_action() for parity.
To tell if a hook has completed, one can use did_action() and ! doing_action() together.
The functions do not require an argument. In that situation, they indicate whether the stack is empty.
props ericmann for the initial unit tests.
fixes #14994 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27294 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:43:59 +00:00
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
3abea9370b
Add jshint to Travis CI config.
...
props jorbin.
fixes #26446 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27267 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:57:04 +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