Drew Jaynes
2aa620b76a
Update the DocBlock for wp_new_comment()
to reference the wp_insert_comment()
documentation for argument information.
...
Fixes #31747 .
Built from https://develop.svn.wordpress.org/trunk@32500
git-svn-id: http://core.svn.wordpress.org/trunk@32470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-13 02:54:26 +00:00
Drew Jaynes
4769bd2a4f
Document the default arguments for wp_insert_comment()
as a hash notation.
...
Props lamosty, rachelbaker.
See #31747 .
Built from https://develop.svn.wordpress.org/trunk@32499
git-svn-id: http://core.svn.wordpress.org/trunk@32469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-13 02:51:28 +00:00
Boone Gorges
63eb910445
Respect $_wp_suspend_cache_invalidation
in clean_term_cache()
.
...
Props tollmanz, rmccue.
Fixes #28743 .
Built from https://develop.svn.wordpress.org/trunk@32498
git-svn-id: http://core.svn.wordpress.org/trunk@32468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-12 20:14:26 +00:00
Lance Willett
4633e1eb79
Twenty Fifteen: add missing social link Genericons styles for Skype and Path.
...
Fixes #32332 , props philiparthurmoore.
Built from https://develop.svn.wordpress.org/trunk@32497
git-svn-id: http://core.svn.wordpress.org/trunk@32467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-12 18:15:27 +00:00
John Blackbourn
da99450d30
Add a sanity check to theme-compat/header.php
to avoid outputting CSS which could reference a non-existant file.
...
Props Mte90
Fixes 32240
Built from https://develop.svn.wordpress.org/trunk@32496
git-svn-id: http://core.svn.wordpress.org/trunk@32466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-12 10:47:29 +00:00
Andrew Ozz
fe427017a5
Fix comments postbox:
...
- Add comment button text.
- Positioning of the Author, Email, URL fields.
Fixes #32349 .
Built from https://develop.svn.wordpress.org/trunk@32495
git-svn-id: http://core.svn.wordpress.org/trunk@32465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-12 01:22:25 +00:00
Lance Willett
ede6d64e7b
Twenty Twelve: fix typo in readme.txt file.
...
See #31814 , props TomasM.
Built from https://develop.svn.wordpress.org/trunk@32494
git-svn-id: http://core.svn.wordpress.org/trunk@32464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 23:32:26 +00:00
Lance Willett
a170135a7c
Twenty Fifteen: fix typo in readme file, props obenland. Format the release dates as per other bundled themes readme.txt file format.
...
See #31814 .
Built from https://develop.svn.wordpress.org/trunk@32493
git-svn-id: http://core.svn.wordpress.org/trunk@32463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:56:25 +00:00
Lance Willett
c4f78c9c29
Twenty Ten: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
Closes #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32492
git-svn-id: http://core.svn.wordpress.org/trunk@32462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:53:25 +00:00
Lance Willett
daae491af9
Twenty Eleven: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32491
git-svn-id: http://core.svn.wordpress.org/trunk@32461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:52:25 +00:00
Lance Willett
d3dc56d6bd
Twenty Twelve: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32490
git-svn-id: http://core.svn.wordpress.org/trunk@32460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:49:26 +00:00
Lance Willett
0dce6cb21d
Twenty Thirteen: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32489
git-svn-id: http://core.svn.wordpress.org/trunk@32459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:48:26 +00:00
Lance Willett
3d2ff11479
Twenty Fourteen: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
...
See #31814 , props mercime.
Built from https://develop.svn.wordpress.org/trunk@32488
git-svn-id: http://core.svn.wordpress.org/trunk@32458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:46:25 +00:00
Lance Willett
7053929095
Twenty Fifteen: update readme file.
...
Props mercime, lancewillett. See #31814 .
Built from https://develop.svn.wordpress.org/trunk@32487
git-svn-id: http://core.svn.wordpress.org/trunk@32457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:42:27 +00:00
Lance Willett
86c5b28894
Twenty Twelve: fix content skip link appearance.
...
Props davidakennedy, fixes #32232 .
Built from https://develop.svn.wordpress.org/trunk@32486
git-svn-id: http://core.svn.wordpress.org/trunk@32456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 21:01:28 +00:00
Dominik Schilling
a42b5dc78e
Improve focus styles for the Switch View links in Posts listings and Media Library.
...
props afercia.
fixes #32294 .
Built from https://develop.svn.wordpress.org/trunk@32485
git-svn-id: http://core.svn.wordpress.org/trunk@32455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 19:34:27 +00:00
Boone Gorges
7314a0f3df
In category dropdown, 'selected' should match against 'value_field'.
...
Props tlexcellent.
Fixes #32330 .
Built from https://develop.svn.wordpress.org/trunk@32484
git-svn-id: http://core.svn.wordpress.org/trunk@32454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-11 13:11:31 +00:00
John Blackbourn
987716720f
Add a return value to wp_register_script()
and wp_register_style()
which matches the return value of WP_Dependencies::add()
.
...
Props katzwebdesign, pareshradadiya, DrewAPicture.
Fixes #31126
Built from https://develop.svn.wordpress.org/trunk@32483
git-svn-id: http://core.svn.wordpress.org/trunk@32453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-10 19:57:25 +00:00
Andrew Ozz
9ecaba2688
Check if running from /src or SCRIPT_DEBUG is defined in print_emoji_detection_script()
.
...
See #32118 .
Built from https://develop.svn.wordpress.org/trunk@32482
git-svn-id: http://core.svn.wordpress.org/trunk@32452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-10 18:24:30 +00:00
Drew Jaynes
73892c112c
Update the DocBlock description for update_option()
to account for the ability to define the $autoload
parameter, added in 4.2.
...
Props Clorith for the initial patch.
Fixes #32331 .
Built from https://develop.svn.wordpress.org/trunk@32481
git-svn-id: http://core.svn.wordpress.org/trunk@32451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-10 16:58:27 +00:00
Andrew Ozz
999ae33a2e
Widgets:
...
- Fix dragging to the bottom of the screen.
- Fix hiding of the dragged widget when dragging over a closed sidebar.
- Fix the admin menu position and scrolling when all widget containers are folded.
Fixes #32094 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32480
git-svn-id: http://core.svn.wordpress.org/trunk@32450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-10 00:32:31 +00:00
Drew Jaynes
59fe6b2368
Lightly clean up and improve inline documentation in wp-config-sample.php.
...
* Fixes some grammatical and wrapping issues in the file header, and breaks the contents list up into, well, a list.
* Adds a note and Codex link to the DocBlock for the `WP_DEBUG` constant definition on where to find more information about constants used for debugging.
Fixes #28551 .
Built from https://develop.svn.wordpress.org/trunk@32479
git-svn-id: http://core.svn.wordpress.org/trunk@32449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-10 00:06:31 +00:00
Andrew Ozz
7ad60f3154
Emoji: do not try to replace emoji chars inside dynamic SVGs.
...
Fixes #32305 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32478
git-svn-id: http://core.svn.wordpress.org/trunk@32448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 23:44:27 +00:00
Dominik Schilling
60c9fdf9fd
Merge similar error strings for invalid data.
...
props pavelevap.
fixes #32329 .
Built from https://develop.svn.wordpress.org/trunk@32477
git-svn-id: http://core.svn.wordpress.org/trunk@32447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 21:09:25 +00:00
Dominik Schilling
42cd948544
Improve focus styles for:
...
* Quick Draft links
* Media Library list mode thumbnails
props afercia.
fixes #32284 , #32291 .
Built from https://develop.svn.wordpress.org/trunk@32476
git-svn-id: http://core.svn.wordpress.org/trunk@32446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 21:05:25 +00:00
Dominik Schilling
bbcdcc084d
Improve focus styles for:
...
* Welcome Panel dismiss link
* Welcome Panel assembled links
* At a Glance links
* Recently Published/Publishing Soon and latest Comments links in the Dashboard Activity box
props afercia.
fixes #32287 , #32288 , #32289 , #32292 .
Built from https://develop.svn.wordpress.org/trunk@32475
git-svn-id: http://core.svn.wordpress.org/trunk@32445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 20:35:27 +00:00
Dominik Schilling
e44d2f7289
Merge a help tab string for pages.
...
fixes #32328 .
Built from https://develop.svn.wordpress.org/trunk@32474
git-svn-id: http://core.svn.wordpress.org/trunk@32444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 20:07:26 +00:00
Dominik Schilling
f9e1c18698
List Table: Add placeholder to a plural string.
...
props SergeyBiryukov.
fixes #32034 .
Built from https://develop.svn.wordpress.org/trunk@32473
git-svn-id: http://core.svn.wordpress.org/trunk@32443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 19:22:24 +00:00
Dominik Schilling
5268a77a80
Sites List Table: Replace context with a translators comment for the site name and tagline.
...
props ramiy.
fixes #31849 .
Built from https://develop.svn.wordpress.org/trunk@32472
git-svn-id: http://core.svn.wordpress.org/trunk@32442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 19:18:27 +00:00
Dominik Schilling
c37bdc3c9e
Merge similar error strings.
...
props pavelevap.
fixes #32327 .
Built from https://develop.svn.wordpress.org/trunk@32471
git-svn-id: http://core.svn.wordpress.org/trunk@32441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 18:27:26 +00:00
Scott Taylor
a6428fe295
In fetch_feed()
, call ->set_output_encoding()
on the SimplePie
instance to ensure the feed is served with encoding specified by the blog_charset
option.
...
Props chriscct7.
Fixes #10713 .
Built from https://develop.svn.wordpress.org/trunk@32469
git-svn-id: http://core.svn.wordpress.org/trunk@32439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 06:49:24 +00:00
Scott Taylor
3ec1d3bf9d
Serve RSS feeds with the proper mime-type: application/rss+xml
. The reason for hacking around browsers by using text/xml
appears to no longer be relevant.
...
Props @chriscct7.
Reverts [11334] and [11358]
Fixes #15110 .
Built from https://develop.svn.wordpress.org/trunk@32468
git-svn-id: http://core.svn.wordpress.org/trunk@32438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 06:39:24 +00:00
Scott Taylor
2251a28f1d
In media-template.php
, change a few <a href="#" class="button">
s to <button type="button" class="button" ...>
.
...
See #26550 .
Built from https://develop.svn.wordpress.org/trunk@32467
git-svn-id: http://core.svn.wordpress.org/trunk@32437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 06:07:25 +00:00
Scott Taylor
4af6d6f305
Media Grid: clean up our flawed Backbone.Router
implementation so that the browser forward/back buttons work the same way as the left/right keys when the Edit Attachment frame is open.
...
Fixes #31846 .
Built from https://develop.svn.wordpress.org/trunk@32466
git-svn-id: http://core.svn.wordpress.org/trunk@32436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 05:42:28 +00:00
John Blackbourn
bb02256966
Introduce a $token
argument to wp_set_auth_cookie()
so session tokens can be reused by custom authentication implementations.
...
Props rmccue
Fixes 30247
Built from https://develop.svn.wordpress.org/trunk@32465
git-svn-id: http://core.svn.wordpress.org/trunk@32435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-09 00:28:27 +00:00
Scott Taylor
2c42a665a2
wp.media.view.Button
should create <button>
s, not <a href="#">
s.
...
Props afercia.
See #32236 .
Built from https://develop.svn.wordpress.org/trunk@32464
git-svn-id: http://core.svn.wordpress.org/trunk@32434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 20:39:27 +00:00
Scott Taylor
a417b2cf1a
In EmbedLink
, a URL needs to be at least 11 chars to be useful.
...
Fixes #32059 .
Built from https://develop.svn.wordpress.org/trunk@32463
git-svn-id: http://core.svn.wordpress.org/trunk@32433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 20:30:26 +00:00
Scott Taylor
b7d4685f3d
When creating an EmbedLink
view, don't add a spinner - it already exists in Embed
.
...
Use the value of `wp.media.controller.Embed.sensitivity` as the sensitivity value for the debounced method in `EmbedLink` to ensure that the spinner toggles don't stutter or overlap.
Fixes #32036 .
Built from https://develop.svn.wordpress.org/trunk@32462
git-svn-id: http://core.svn.wordpress.org/trunk@32432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 20:10:26 +00:00
Boone Gorges
3f642ba717
Use table prefix for comment__in
and comment__not_in
SQL clauses of WP_Comment_Query
.
...
The prefix prevents ambiguity when joining against other tables.
Props willgladstone.
Fixes #32081 .
Built from https://develop.svn.wordpress.org/trunk@32461
git-svn-id: http://core.svn.wordpress.org/trunk@32431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 19:45:26 +00:00
Scott Taylor
af326241ff
When fetching in media/views/embed/link.js
, call abort()
on any existing XHRs.
...
Use `$.ajax` instead of `wp.ajax.send()` to allow this.
Pass `this` as `context` to the options to remove the need to bind callbacks.
Fixes #32035 .
Built from https://develop.svn.wordpress.org/trunk@32460
git-svn-id: http://core.svn.wordpress.org/trunk@32430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 19:16:25 +00:00
Scott Taylor
31f46f5363
In media/views/embed/link.js
, URLs should have a valid protocol before an attempt to fetch them is made.
...
Fixes #32037 .
Built from https://develop.svn.wordpress.org/trunk@32459
git-svn-id: http://core.svn.wordpress.org/trunk@32429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 18:34:28 +00:00
Andrew Nacin
62d845f32b
Add a comment to maybe_serialize().
...
Built from https://develop.svn.wordpress.org/trunk@32458
git-svn-id: http://core.svn.wordpress.org/trunk@32428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 16:27:27 +00:00
Gary Pendergast
02621f2a14
Upgrades: If a table has already been converted to utf8mb4
, there's no need to try and convert it again.
...
Props gabrielperezs for the initial patch.
See #32310 .
Built from https://develop.svn.wordpress.org/trunk@32456
git-svn-id: http://core.svn.wordpress.org/trunk@32426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 12:22:25 +00:00
Gary Pendergast
837fd1ca10
When saving Writing Options, check that the UI is enabled for use_smilies
and use_balanceTags
before trying to update them.
...
Fixes #5161 .
Fixes #32298 .
Built from https://develop.svn.wordpress.org/trunk@32455
git-svn-id: http://core.svn.wordpress.org/trunk@32425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 11:59:26 +00:00
Gary Pendergast
412e070d69
On the Writing Options screen, hide the Balance Tags and Convert Smilies options on new installs.
...
Fixes #5161 .
Fixes #32298 .
Built from https://develop.svn.wordpress.org/trunk@32454
git-svn-id: http://core.svn.wordpress.org/trunk@32424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-08 06:52:27 +00:00
Drew Jaynes
674e47cc89
Fix a wide variety of syntactical, spacing, wording, and other issues in wp-includes/taxonomy.php.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32453
git-svn-id: http://core.svn.wordpress.org/trunk@32423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 20:37:41 +00:00
Drew Jaynes
3050d96310
Ensure the optional parameter in get_object_taxonomies()
is documented as such.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32452
git-svn-id: http://core.svn.wordpress.org/trunk@32422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 20:37:17 +00:00
Drew Jaynes
b801f6f230
Add a description to the hook documentation for the created_$taxonomy
action to clarify the dynamic portion of the hook name.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32451
git-svn-id: http://core.svn.wordpress.org/trunk@32421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 20:36:53 +00:00
Drew Jaynes
948186df0b
Add missing parameter descriptions to the created_term
hook documentation.
...
Props dlh.
Fixes #32276 .
Built from https://develop.svn.wordpress.org/trunk@32450
git-svn-id: http://core.svn.wordpress.org/trunk@32420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 20:36:29 +00:00
Andrew Nacin
9c7a8b386d
Twenty Fifteen is 1.2 after [32392].
...
Built from https://develop.svn.wordpress.org/trunk@32442
git-svn-id: http://core.svn.wordpress.org/trunk@32412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 01:39:26 +00:00
Michael Adams
a3807c1d34
Upgrade: Since MySQL may auto-expand column widths when changing a column's character set, we must do our length-based comment checks prior to the character set changes.
...
Props jorbin, et alii.
See #32165 .
Built from https://develop.svn.wordpress.org/trunk@32440
git-svn-id: http://core.svn.wordpress.org/trunk@32410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-07 01:11:29 +00:00
Michael Adams
26c3c6d9cb
Upgrade: $wpdb->get_col_length()
sanity check: bail on unexpected return value.
...
See #32165 .
Built from https://develop.svn.wordpress.org/trunk@32429
git-svn-id: http://core.svn.wordpress.org/trunk@32399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:11:26 +00:00
Michael Adams
0640526e72
Upgrade: Ensure unintelligible DB schemas don't result in content loss.
...
See #32165 .
Built from https://develop.svn.wordpress.org/trunk@32417
git-svn-id: http://core.svn.wordpress.org/trunk@32387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 21:46:26 +00:00
Dominik Schilling
9e8d400c9d
Bundled Themes: Remove Genericons example.html files.
...
Built from https://develop.svn.wordpress.org/trunk@32392
git-svn-id: http://core.svn.wordpress.org/trunk@32362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:27:26 +00:00
Aaron Jorbin
2d189ef812
When upgrading WordPress remove genericons example.html files
...
Props @dd32, @boone, @johnjamesjacoby, @drewapicture, @jorbin
--This line,build.wordpress-develop.dea and those below, will be ignored--
M src/wp-admin/includes/update-core.php
Built from https://develop.svn.wordpress.org/trunk@32385
git-svn-id: http://core.svn.wordpress.org/trunk@32355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 18:37:25 +00:00
Sergey Biryukov
708791aa6b
Customizer: Use a semantic, accessible element for Remove Header Image button.
...
Make the button more noticeable on dark, light, and busy images.
props afercia, RDall, melchoyce.
fixes #32227 , #31325 .
Built from https://develop.svn.wordpress.org/trunk@32382
git-svn-id: http://core.svn.wordpress.org/trunk@32352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 10:54:27 +00:00
Sergey Biryukov
77572cf024
Multisite: Add translator comments to default email messages with non-typical placeholders.
...
props yoavf.
fixes #32263 .
Built from https://develop.svn.wordpress.org/trunk@32381
git-svn-id: http://core.svn.wordpress.org/trunk@32351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 09:12:25 +00:00
Gary Pendergast
4e615fb9ff
Fix an incorrect version number check in [32378].
...
See #32099 .
Built from https://develop.svn.wordpress.org/trunk@32379
git-svn-id: http://core.svn.wordpress.org/trunk@32349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 07:41:24 +00:00
Gary Pendergast
3a6e79c409
Upgrades: When converting to utf8mb4
, we were trying to change the wrong index on wp_signups
, causing the conversion to later fail.
...
Props kovshenin, pento.
See #32099 .
Built from https://develop.svn.wordpress.org/trunk@32378
git-svn-id: http://core.svn.wordpress.org/trunk@32348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 07:34:24 +00:00
Gary Pendergast
7ca423d449
The UTF-8 regex can occasionally fail on very low memory machines. Reduce the amount of memory it uses.
...
See #32204 .
Built from https://develop.svn.wordpress.org/trunk@32375
git-svn-id: http://core.svn.wordpress.org/trunk@32345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 06:58:24 +00:00
Gary Pendergast
c24c5923c3
WPDB: When sanity checking query character sets, there's no need to check queries that don't return user data.
...
See #32104 .
Built from https://develop.svn.wordpress.org/trunk@32374
git-svn-id: http://core.svn.wordpress.org/trunk@32344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 06:05:26 +00:00
Gary Pendergast
6e7fff514b
WPDB: Allow queries to reference tables in the dbname.tablename
format, and allow table names to contain any valid character, rather than just ASCII.
...
Props pento, willstedt for the initial patch.
See #32090 .
Built from https://develop.svn.wordpress.org/trunk@32368
git-svn-id: http://core.svn.wordpress.org/trunk@32338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 05:01:26 +00:00
Andrew Ozz
3181cc27a9
TinyMCE: update to 4.1.10.
...
Fixes #32262 .
Built from https://develop.svn.wordpress.org/trunk@32366
git-svn-id: http://core.svn.wordpress.org/trunk@32336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 03:23:25 +00:00
Gary Pendergast
364886a5be
WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding()
, as it behaves differently to MySQL's character encoding conversion.
...
Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.
See #32165 .
Built from https://develop.svn.wordpress.org/trunk@32364
git-svn-id: http://core.svn.wordpress.org/trunk@32335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 03:00:25 +00:00
Boone Gorges
29216371bd
In paginate_links()
, improve handling of custom pagination query vars.
...
Custom pagination query vars, as provided in the 'base' parameter, must be
detected in the current page URL and removed before generating fresh pagination
links. The logic introduced in this changeset ensures that these custom
query vars are properly detected in cases where the 'format' param contains
a `#`.
This is a follow-up to [31203] #30831 .
Fixes #31939 .
Built from https://develop.svn.wordpress.org/trunk@32359
git-svn-id: http://core.svn.wordpress.org/trunk@32330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 21:59:26 +00:00
Boone Gorges
050f7459da
youtube.com oEmbed test should always expect HTTPS.
...
YouTube recently changed its oEmbed endpoint so that the iframe markup always
contains an HTTPS URL, regardless of the scheme of the video URL originally
requested. This changeset fixes the corresponding unit test.
Fixes #32260 .
Built from https://develop.svn.wordpress.org/trunk@32358
git-svn-id: http://core.svn.wordpress.org/trunk@32329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 21:31:25 +00:00
Aaron Jorbin
4bacafcb69
Update grunt-autoprefixer to 3.0.0
...
Two changes we need to know about:
* Aborts build if there is an exception thrown bu autoprefixer
* Less verbose output in standard mode
Major version seems to have been bumped due to change in annotation option which which we do not use.
Upstream Changes e30d2c5bfd...6f8dfe8840
See #31700
Built from https://develop.svn.wordpress.org/trunk@32357
git-svn-id: http://core.svn.wordpress.org/trunk@32328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 21:30:30 +00:00
Aaron Jorbin
9495d91e76
Update grunt-contrib-qunit to 0.7.0
...
This upgrade adds two changes, both of which are aimed at less reporting of false test passing:
* Log PhantomJS errors as warnings
* Add noGlobals option, forwarded to QUnit. Report proper exit code to grunt based on failures. Add support for AMD.
See #31700
Built from https://develop.svn.wordpress.org/trunk@32356
git-svn-id: http://core.svn.wordpress.org/trunk@32327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 20:30:37 +00:00
Boone Gorges
4cdf05f6bc
Improve performance of get_page_children()
.
...
The new algorithm uses a hash table rather than function recursion, reducing
complexity to O(N). On large numbers of pages, the performance improvement is
several orders of magnitude.
Props santagada, hailin, mihai.
Fixes #10852 .
Built from https://develop.svn.wordpress.org/trunk@32355
git-svn-id: http://core.svn.wordpress.org/trunk@32326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 19:37:53 +00:00
Boone Gorges
f0be9961b3
Unit tests for get_page_children()
.
...
Props santagada, boonebgorges.
See #10852 .
Built from https://develop.svn.wordpress.org/trunk@32354
git-svn-id: http://core.svn.wordpress.org/trunk@32325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 19:37:27 +00:00
Boone Gorges
5c65164ea8
Improve sanitization of 'name' param in get_terms()
.
...
Values of 'name' that contain db-encoded character on insert - like an
ampersand, which is HTML-encoded in the database - will only match if they go
through the same `sanitize_term_field()` routine.
Fixes #32248 .
Built from https://develop.svn.wordpress.org/trunk@32353
git-svn-id: http://core.svn.wordpress.org/trunk@32324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 11:14:28 +00:00
Drew Jaynes
a452927c39
Fix documentation syntax and formatting for the media_sideload_image()
DocBlock.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32352
git-svn-id: http://core.svn.wordpress.org/trunk@32323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 02:20:25 +00:00
Drew Jaynes
a3b092843b
Add a changelog entry for the $resource_type
parameter added to the get_ancestors
filter in 4.1.1.
...
Props dimadin.
See #31925 .
Built from https://develop.svn.wordpress.org/trunk@32351
git-svn-id: http://core.svn.wordpress.org/trunk@32322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 02:17:25 +00:00
Drew Jaynes
cbd07f213d
Add two changelog entries for functional changes introduced in 4.2.0.
...
Props dimadin.
See #31925 .
Built from https://develop.svn.wordpress.org/trunk@32350
git-svn-id: http://core.svn.wordpress.org/trunk@32321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 02:16:25 +00:00
Drew Jaynes
39064bac5e
Ensure the optional parameters for get_taxonomies()
are documented as such.
...
See #31800 .
Built from https://develop.svn.wordpress.org/trunk@32349
git-svn-id: http://core.svn.wordpress.org/trunk@32320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 02:05:24 +00:00
Drew Jaynes
6c9b20f94c
Improve inline documentation in wp-includes/taxonomy.php.
...
* Adds missing `@since` versions
* Adds `@global` tags and descriptions to DocBlocks where appropriate
Props ChaseWiseman.
See #31800 .
Built from https://develop.svn.wordpress.org/trunk@32348
git-svn-id: http://core.svn.wordpress.org/trunk@32319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 02:01:25 +00:00
Andrew Ozz
67f589654b
Emoji: add shorter/faster regex for testing for emoji chars in added nodes.
...
See #32125 .
Built from https://develop.svn.wordpress.org/trunk@32347
git-svn-id: http://core.svn.wordpress.org/trunk@32318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 01:41:27 +00:00
Boone Gorges
d9e8492ea8
Add 'webcal' to the list of URI protocols whitelisted by default.
...
Fixes #31666 .
Built from https://develop.svn.wordpress.org/trunk@32346
git-svn-id: http://core.svn.wordpress.org/trunk@32317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 00:38:27 +00:00
Drew Jaynes
b2e442c247
Add a missing @return
tag and description to the DocBlock for WP_Theme::scandir()
.
...
Props lamosty.
Fixes #31872 .
Built from https://develop.svn.wordpress.org/trunk@32345
git-svn-id: http://core.svn.wordpress.org/trunk@32316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 00:34:25 +00:00
Drew Jaynes
261e461f9d
Properly document WP_Theme::scandir()
as a static method, adjust parameter documentation for formatting and clarity.
...
See #31872 .
Built from https://develop.svn.wordpress.org/trunk@32344
git-svn-id: http://core.svn.wordpress.org/trunk@32315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-05 00:33:26 +00:00
Aaron Jorbin
c97c82e481
Update QUnit to v1.18.0
...
See https://github.com/jquery/qunit/blob/1.18.0/History.md for changes from 1.12.0 to now. Mostly bug fixes and internal changes in preparation for QUnit v2.
See #30824
Built from https://develop.svn.wordpress.org/trunk@32343
git-svn-id: http://core.svn.wordpress.org/trunk@32314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 19:44:28 +00:00
Boone Gorges
e59aaa4f67
Attachment URLs should only be forced to SSL on the front end.
...
Detecting SSL status on the Dashboard introduces problems when writing content
that is saved to the database and then displayed on the front end, where SSL
may be optional (or impossible, due to self-signed certificates). The new
approach parallels the logic in `get_home_url()` for forcing HTTPS.
See [31614] #15928 for background.
Fixes #32112 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32342
git-svn-id: http://core.svn.wordpress.org/trunk@32313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 13:10:27 +00:00
Drew Jaynes
08e3572b7c
Add a missing DocBlock for wp_caption_input_textarea()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32341
git-svn-id: http://core.svn.wordpress.org/trunk@32312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 01:13:25 +00:00
Drew Jaynes
e7e93f50cf
Add a missing @return
tag to the DocBlock for `uninstall_plugin().
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32340
git-svn-id: http://core.svn.wordpress.org/trunk@32311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 01:08:27 +00:00
Drew Jaynes
87e149a19f
Add a missing @return
tag to the DocBlock for site_admin_notice()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32339
git-svn-id: http://core.svn.wordpress.org/trunk@32310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 01:06:25 +00:00
Drew Jaynes
cdbecf201b
Clarify accepted types for the $args
and $context
parameters in WP_Filesystem()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@32338
git-svn-id: http://core.svn.wordpress.org/trunk@32309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 01:04:25 +00:00
Andrew Ozz
a5cee54aea
Emoji: rename the exclude class to wp-exclude-emoji.
...
Props Clorith. See #32197 .
Built from https://develop.svn.wordpress.org/trunk@32337
git-svn-id: http://core.svn.wordpress.org/trunk@32308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 00:05:28 +00:00
Andrew Ozz
8eb93bc838
Emoji: add an exclude class to wp-emoji checked when monitoring for changes with mutationObserver. Use it for the hidden div used for resizing the Text editor.
...
See #32197 .
Built from https://develop.svn.wordpress.org/trunk@32336
git-svn-id: http://core.svn.wordpress.org/trunk@32307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-03 20:18:26 +00:00
Andrew Ozz
86674d41af
Emoji: before parsing added nodes test if the text in them contains emoji chars. That speeds up the processing quite a bit.
...
See #32125 .
Built from https://develop.svn.wordpress.org/trunk@32335
git-svn-id: http://core.svn.wordpress.org/trunk@32306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-03 19:08:24 +00:00
Andrew Ozz
4e971bea9f
Emoji:
...
- Fix loading errors in IE9 and IE10.
- Add fallbacks for the loading events.
Fixes #32109 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32334
git-svn-id: http://core.svn.wordpress.org/trunk@32305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-03 18:45:29 +00:00
Sergey Biryukov
ed0da72d97
Replace echo __()
with _e()
.
...
props marsjaninzmarsa.
fixes #32239 .
Built from https://develop.svn.wordpress.org/trunk@32333
git-svn-id: http://core.svn.wordpress.org/trunk@32304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-03 16:18:28 +00:00
Sergey Biryukov
13af7e1d72
Merge two strings from theme details dialog.
...
props McGuive7.
fixes #32047 .
Built from https://develop.svn.wordpress.org/trunk@32332
git-svn-id: http://core.svn.wordpress.org/trunk@32303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-02 09:11:25 +00:00
Boone Gorges
11226f02a8
Allow metadata to be deleted when meta_value matches 0 or '0'.
...
In `delete_metadata()`, be stricter about when to ignore a falsey value of
`$meta_value`.
For backward compatibility, an empty string for `$meta_value` is equivalent to
`null` or `false`.
Props sc0ttkclark.
Fixes #32224 .
Built from https://develop.svn.wordpress.org/trunk@32331
git-svn-id: http://core.svn.wordpress.org/trunk@32302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-01 16:38:29 +00:00
Scott Taylor
2807b7146f
After [32258], restore the parts of [31620] and [31626] that weren't changes to the UI, but were improvements to existing code.
...
* Use `wp.shortcode()` instead of manually constructing a shortcode in `views/embed/link`
* In `WP_Embed`, store the last URL and last set of attributes requested in class properties
* `wp_ajax_parse_embed()`, allow `[embed]`s to have attributes. Return `attr` in the response.
See #31139 .
Built from https://develop.svn.wordpress.org/trunk@32330
git-svn-id: http://core.svn.wordpress.org/trunk@32301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-30 21:40:25 +00:00
Sergey Biryukov
aaafb3113a
Bulk Edit: Properly associate the Format select with its label.
...
props afercia.
fixes #32210 .
Built from https://develop.svn.wordpress.org/trunk@32329
git-svn-id: http://core.svn.wordpress.org/trunk@32300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-30 16:04:24 +00:00
Sergey Biryukov
5a0f970b2e
Use correct closing tag.
...
props eligijus, TobiasBg.
fixes #32205 .
Built from https://develop.svn.wordpress.org/trunk@32328
git-svn-id: http://core.svn.wordpress.org/trunk@32299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-30 14:30:25 +00:00
Boone Gorges
af6b4cba24
Remove duplicate semicolon introduced in [32326].
...
Built from https://develop.svn.wordpress.org/trunk@32327
git-svn-id: http://core.svn.wordpress.org/trunk@32298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-29 12:58:24 +00:00
Boone Gorges
a20841bc36
Improve performance of loop detection in _get_term_children()
.
...
Using an array keyed by term_id allows us to use `isset()` rather than the
slower `in_array()`. In addition, it lets us avoid the use of `wp_list_pluck()`
on large arrays, and helps us to avoid arrays that are unnecessarily large due
to duplicate entries.
Fixes #32144 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32326
git-svn-id: http://core.svn.wordpress.org/trunk@32297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-29 12:56:25 +00:00
Sergey Biryukov
cb1ad98015
Fix typo in a comment in wp_guess_url()
.
...
props ixkaito.
fixes #32179 .
Built from https://develop.svn.wordpress.org/trunk@32325
git-svn-id: http://core.svn.wordpress.org/trunk@32296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-29 07:19:29 +00:00
Andrew Ozz
01c26527ea
Emoji: fix loop when replacement images fail to load.
...
Props iseulde. Fixes #32128 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32323
git-svn-id: http://core.svn.wordpress.org/trunk@32294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-29 03:19:26 +00:00