Commit Graph

29775 Commits

Author SHA1 Message Date
Scott Taylor 11671ad73b In `tb_show()` in `thickbox`, when loading content into `#TB_ajaxContent`, make sure a URL with no `?` doesn't break when `&random=` is appended to it.
Thickbox hasn't been updated since 2007, just FYI.

Fixes #31726.


git-svn-id: https://develop.svn.wordpress.org/trunk@32503 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-13 21:41:47 +00:00
Scott Taylor 23e40ef756 In `views/button/select-mode-toggle`, don't hide the spinner with JS. This oversight is a symptom of the too-aggressive outside DOM handling that is happening in this view's `toggleBulkEditHandler` method.
Props afercia.
Fixes #32324.


git-svn-id: https://develop.svn.wordpress.org/trunk@32502 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-13 21:26:22 +00:00
John Blackbourn 8bcd566ee0 Add a viewport meta tag to `wp_die()`.
Props leogopal

Fixes #29336


git-svn-id: https://develop.svn.wordpress.org/trunk@32501 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-13 04:07:46 +00:00
Drew Jaynes f927722bc0 Update the DocBlock for `wp_new_comment()` to reference the `wp_insert_comment()` documentation for argument information.
Fixes #31747.


git-svn-id: https://develop.svn.wordpress.org/trunk@32500 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-13 02:53:03 +00:00
Drew Jaynes 6855376930 Document the default arguments for `wp_insert_comment()` as a hash notation.
Props lamosty, rachelbaker.
See #31747.


git-svn-id: https://develop.svn.wordpress.org/trunk@32499 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-13 02:50:56 +00:00
Boone Gorges 3a47da7943 Respect `$_wp_suspend_cache_invalidation` in `clean_term_cache()`.
Props tollmanz, rmccue.
Fixes #28743.

git-svn-id: https://develop.svn.wordpress.org/trunk@32498 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-12 20:13:53 +00:00
Lance Willett 3d4fb6ce50 Twenty Fifteen: add missing social link Genericons styles for Skype and Path.
Fixes #32332, props philiparthurmoore.

git-svn-id: https://develop.svn.wordpress.org/trunk@32497 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-12 18:14:04 +00:00
John Blackbourn d01281af10 Add a sanity check to `theme-compat/header.php` to avoid outputting CSS which could reference a non-existant file.
Props Mte90

Fixes 32240


git-svn-id: https://develop.svn.wordpress.org/trunk@32496 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-12 10:46:50 +00:00
Andrew Ozz 59eb437a35 Fix comments postbox:
- Add comment button text.
- Positioning of the Author, Email, URL fields.
Fixes #32349.

git-svn-id: https://develop.svn.wordpress.org/trunk@32495 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-12 01:21:58 +00:00
Lance Willett 3b9407b660 Twenty Twelve: fix typo in readme.txt file.
See #31814, props TomasM.


git-svn-id: https://develop.svn.wordpress.org/trunk@32494 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 23:31:31 +00:00
Lance Willett 181b6ca317 Twenty Fifteen: fix typo in readme file, props obenland. Format the release dates as per other bundled themes readme.txt file format.
See #31814.

git-svn-id: https://develop.svn.wordpress.org/trunk@32493 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:55:18 +00:00
Lance Willett 3d09bf9700 Twenty Ten: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
Closes #31814, props mercime.

git-svn-id: https://develop.svn.wordpress.org/trunk@32492 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:52:35 +00:00
Lance Willett b8bab7960b Twenty Eleven: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
See #31814, props mercime.

git-svn-id: https://develop.svn.wordpress.org/trunk@32491 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:51:12 +00:00
Lance Willett 533d3c3329 Twenty Twelve: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
See #31814, props mercime.

git-svn-id: https://develop.svn.wordpress.org/trunk@32490 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:48:43 +00:00
Lance Willett c11f7c511c Twenty Thirteen: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
See #31814, props mercime.

git-svn-id: https://develop.svn.wordpress.org/trunk@32489 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:47:29 +00:00
Lance Willett 217e09b0a5 Twenty Fourteen: add readme file to explain basic theme usage, link to changelog on Codex, and include license information.
See #31814, props mercime.

git-svn-id: https://develop.svn.wordpress.org/trunk@32488 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:45:46 +00:00
Lance Willett a01dd602e6 Twenty Fifteen: update readme file.
Props mercime, lancewillett. See #31814.

git-svn-id: https://develop.svn.wordpress.org/trunk@32487 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:41:53 +00:00
Lance Willett 4aa9595824 Twenty Twelve: fix content skip link appearance.
Props davidakennedy, fixes #32232.


git-svn-id: https://develop.svn.wordpress.org/trunk@32486 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 21:00:08 +00:00
Dominik Schilling (ocean90) 297a4eae48 Improve focus styles for the Switch View links in Posts listings and Media Library.
props afercia.
fixes #32294.

git-svn-id: https://develop.svn.wordpress.org/trunk@32485 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 19:33:32 +00:00
Boone Gorges 1a8bd3bf07 In category dropdown, 'selected' should match against 'value_field'.
Props tlexcellent.
Fixes #32330.

git-svn-id: https://develop.svn.wordpress.org/trunk@32484 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-11 13:10:19 +00:00
John Blackbourn 39639c79da 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


git-svn-id: https://develop.svn.wordpress.org/trunk@32483 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-10 19:56:15 +00:00
Andrew Ozz 099c066e24 Check if running from /src or SCRIPT_DEBUG is defined in `print_emoji_detection_script()`.
See #32118.

git-svn-id: https://develop.svn.wordpress.org/trunk@32482 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-10 18:23:21 +00:00
Drew Jaynes d9b911e477 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32481 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-10 16:58:00 +00:00
Andrew Ozz 5bf60d981b 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@32480 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-10 00:31:47 +00:00
Drew Jaynes 28a535e58b 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32479 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-10 00:05:30 +00:00
Andrew Ozz cdd007cc62 Emoji: do not try to replace emoji chars inside dynamic SVGs.
Fixes #32305 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@32478 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 23:43:07 +00:00
Dominik Schilling (ocean90) cfa32bc1d7 Merge similar error strings for invalid data.
props pavelevap.
fixes #32329.

git-svn-id: https://develop.svn.wordpress.org/trunk@32477 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 21:08:57 +00:00
Dominik Schilling (ocean90) bcbae1cee3 Improve focus styles for:
* Quick Draft links
* Media Library list mode thumbnails 

props afercia.
fixes #32284, #32291.

git-svn-id: https://develop.svn.wordpress.org/trunk@32476 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 21:04:21 +00:00
Dominik Schilling (ocean90) 0422e527b1 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@32475 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 20:34:13 +00:00
Dominik Schilling (ocean90) 27d0216b0c Merge a help tab string for pages.
fixes #32328.

git-svn-id: https://develop.svn.wordpress.org/trunk@32474 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 20:07:00 +00:00
Dominik Schilling (ocean90) ca2cd7405c List Table: Add placeholder to a plural string.
props SergeyBiryukov.
fixes #32034.

git-svn-id: https://develop.svn.wordpress.org/trunk@32473 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 19:21:38 +00:00
Dominik Schilling (ocean90) 3df6a4a9da Sites List Table: Replace context with a translators comment for the site name and tagline.
props ramiy.
fixes #31849.

git-svn-id: https://develop.svn.wordpress.org/trunk@32472 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 19:18:00 +00:00
Dominik Schilling (ocean90) ff4f261101 Merge similar error strings.
props pavelevap.
fixes #32327.

git-svn-id: https://develop.svn.wordpress.org/trunk@32471 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 18:26:37 +00:00
Scott Taylor e7d9eda799 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32469 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 06:48:45 +00:00
Scott Taylor 6ce6180884 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32468 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 06:38:38 +00:00
Scott Taylor 5d69ee66dd In `media-template.php`, change a few `<a href="#" class="button">`s to `<button type="button" class="button" ...>`.
See #26550.


git-svn-id: https://develop.svn.wordpress.org/trunk@32467 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 06:06:50 +00:00
Scott Taylor f9fd563ec7 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32466 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 05:41:01 +00:00
John Blackbourn 1b76bd6246 Introduce a `$token` argument to `wp_set_auth_cookie()` so session tokens can be reused by custom authentication implementations.
Props rmccue

Fixes 30247


git-svn-id: https://develop.svn.wordpress.org/trunk@32465 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-09 00:27:11 +00:00
Scott Taylor 8303e8f314 `wp.media.view.Button` should create `<button>`s, not `<a href="#">`s.
Props afercia.
See #32236.


git-svn-id: https://develop.svn.wordpress.org/trunk@32464 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 20:38:55 +00:00
Scott Taylor 3fd2730435 In `EmbedLink`, a URL needs to be at least 11 chars to be useful.
Fixes #32059.


git-svn-id: https://develop.svn.wordpress.org/trunk@32463 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 20:29:55 +00:00
Scott Taylor bbcddbbb72 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32462 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 20:09:58 +00:00
Boone Gorges 637bedeece 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@32461 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 19:44:06 +00:00
Scott Taylor c8ca3c2304 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32460 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 19:15:34 +00:00
Scott Taylor c6592462ef In `media/views/embed/link.js`, URLs should have a valid protocol before an attempt to fetch them is made.
Fixes #32037.


git-svn-id: https://develop.svn.wordpress.org/trunk@32459 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 18:33:34 +00:00
Andrew Nacin df717e8294 Add a comment to maybe_serialize().
git-svn-id: https://develop.svn.wordpress.org/trunk@32458 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 16:26:13 +00:00
Gary Pendergast 733e06315a 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@32456 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 12:21:18 +00:00
Gary Pendergast 2cde17f232 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@32455 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 11:58:22 +00:00
Gary Pendergast 231c73751b On the Writing Options screen, hide the Balance Tags and Convert Smilies options on new installs.
Fixes #5161.
Fixes #32298.



git-svn-id: https://develop.svn.wordpress.org/trunk@32454 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-08 06:51:52 +00:00
Drew Jaynes 8cb8a90b7e Fix a wide variety of syntactical, spacing, wording, and other issues in wp-includes/taxonomy.php.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@32453 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-07 06:13:27 +00:00
Drew Jaynes 3ff997b3b6 Ensure the optional parameter in `get_object_taxonomies()` is documented as such.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@32452 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-07 05:32:29 +00:00