Commit Graph

29671 Commits

Author SHA1 Message Date
Boone Gorges
80ca5b2b53 In term-splitting unit tests, correct incorrect wording in an inline comment.
Props dlh.
Fixes #32014.

git-svn-id: https://develop.svn.wordpress.org/trunk@32208 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 15:17:24 +00:00
Boone Gorges
1a38d95e83 Ensure that 'who' param is respected when generating meta_query in WP_User_Query.
Since [31669], the 'who' param had been parsed after meta_query was generated,
so that 'who' was effectively ignored.

Props imath.
Fixes #32019.

git-svn-id: https://develop.svn.wordpress.org/trunk@32207 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 15:15:14 +00:00
Gary Pendergast
c9774eac69 Unit Tests: The get_smilies_combinations test was failing when the tests were run with a non-default domain.
Props netweb.

Fixes #32025.



git-svn-id: https://develop.svn.wordpress.org/trunk@32178 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 10:10:53 +00:00
Gary Pendergast
8453d41a44 Fix the unit test added in [32173] to run correctly in PHP 5.2.
git-svn-id: https://develop.svn.wordpress.org/trunk@32177 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 09:40:11 +00:00
Gary Pendergast
05710aaa41 Ensure post titles are correctly escaped on the Dashboard.
Props helen, ocean90, dd32, pento.



git-svn-id: https://develop.svn.wordpress.org/trunk@32175 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 07:38:29 +00:00
Gary Pendergast
94f02ef8b1 In Multisite, prevent plugins from unintentionally switching sites.
Props mdawaffe.



git-svn-id: https://develop.svn.wordpress.org/trunk@32173 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 07:26:05 +00:00
Gary Pendergast
332750a40d Revert [30640], as it was incorrectly checking some filenames.
git-svn-id: https://develop.svn.wordpress.org/trunk@32171 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 06:38:08 +00:00
Gary Pendergast
98da14ab75 Correctly escape theme version numbers when displaying them.
Props collinsinternet.



git-svn-id: https://develop.svn.wordpress.org/trunk@32170 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 06:26:35 +00:00
Gary Pendergast
99927c319e Update the Plupload Flash file to the latest version.
Props azaozz.



git-svn-id: https://develop.svn.wordpress.org/trunk@32168 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 06:12:11 +00:00
Gary Pendergast
28de93d269 Remove some old backwards compatilibity code from TinyMCE.
Props azaozz.



git-svn-id: https://develop.svn.wordpress.org/trunk@32166 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 05:49:16 +00:00
Gary Pendergast
96f12cc588 Clean up some edge cases in sanitize_sql_orderby().
Props vortfu, dd32.



git-svn-id: https://develop.svn.wordpress.org/trunk@32164 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 05:41:37 +00:00
Gary Pendergast
faa66d8145 WPDB: When sanity checking read queries, there are some collations we can skip, for improved performance.
Props pento, nacin.

See #21212.



git-svn-id: https://develop.svn.wordpress.org/trunk@32162 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 04:45:12 +00:00
Andrew Nacin
62b51d8c0b Clean up wp_staticize_emoji() and friends.
* DOMDocument was removed in [31752] but not the check.
 * wp_staticize_emoji() has never accepted a second arg; remove it from calls.
 * Remove wp_staticize_emoji_for_feeds(), no need for it.
 * Remove _ and @ignore from wp_staticize_emoji_for_email(), no need for it.

see #31242.


git-svn-id: https://develop.svn.wordpress.org/trunk@32161 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 04:14:32 +00:00
Andrew Nacin
17d6534bb1 Update wp_die() calls modified in [31658] to use shorthand calling style.
see #31422.


git-svn-id: https://develop.svn.wordpress.org/trunk@32152 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 03:26:24 +00:00
Sergey Biryukov
3c28d7b1f6 Press This: Update documentation for press_this_save_redirect filter after [31992].
props kraftbj.
fixes #31996.

git-svn-id: https://develop.svn.wordpress.org/trunk@32143 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-19 01:34:01 +00:00
Andrew Ozz
b7817247c5 TinyMCE: use window.twemoji directly in the wpemoji plugin. Gives a chance to the browser to lazy load twemoji.js when reloading the page.
Fixes #31901.

git-svn-id: https://develop.svn.wordpress.org/trunk@32142 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-18 23:28:11 +00:00
Andrew Ozz
ab5685e6ad TinyMCE: remove the empty paragraph that sometimes is left over after adding an image caption.
Fixes #32003.

git-svn-id: https://develop.svn.wordpress.org/trunk@32141 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-18 21:55:45 +00:00
Andrew Ozz
9781cdb9a3 TinyMCE wpView:
- Remove selected views when inserting content but not when loading all content.
- Remove the ref. to the selected view node on resetting the views.
Fixes #31998.

git-svn-id: https://develop.svn.wordpress.org/trunk@32140 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-18 20:47:04 +00:00
Boone Gorges
bf3773dbfb During PHPUnit tests, don't autodetect permalink structure during WP installation.
The unit tests expect non-pretty permalinks, so there's no benefit to detecting
the ability to have pretty permalinks. Moreover, the `wp_remote_get()` call can
cause installation to hang when there are DNS issues.

Fixes #31994.

git-svn-id: https://develop.svn.wordpress.org/trunk@32139 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-16 23:59:01 +00:00
Drew Jaynes
41b1d73c03 Post 4.2-RC1 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@32138 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 19:05:00 +00:00
Drew Jaynes
9e3ce091fe WordPress 4.2-RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@32137 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 18:52:08 +00:00
Dominik Schilling (ocean90)
6e6e1f45ed About page: All strings are available for translation.
* Remove AJAX call added in [30840].
* Remove `<code>` tags out of localized strings.

props johnbillion, ocean90.
see #31929.

git-svn-id: https://develop.svn.wordpress.org/trunk@32136 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 18:18:53 +00:00
Helen Hou-Sandi
a71a815a0c About page: A last round of text updates.
props DrewAPicture, johnbillion, afercia, helen.
see #31929.


git-svn-id: https://develop.svn.wordpress.org/trunk@32135 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 17:33:11 +00:00
Dominik Schilling (ocean90)
7fba67e4b7 Customizer: Escape theme preview URLs.
props johnbillion, ocean90.
see #31896.

git-svn-id: https://develop.svn.wordpress.org/trunk@32134 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 16:32:03 +00:00
Aaron Jorbin
686b4af44d Move wp-plugin-update-success event to after lock is released
Fixes #31978
See #31819
Props DavidAnderson



git-svn-id: https://develop.svn.wordpress.org/trunk@32133 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 14:36:04 +00:00
Sergey Biryukov
7b0dbe06fd About page: Two more string tweaks.
props DrewAPicture, pento.
see #31929.

git-svn-id: https://develop.svn.wordpress.org/trunk@32132 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 01:23:07 +00:00
Sergey Biryukov
99abb0cf3a About page updates.
* Change the subhead strings on credits.php and freedoms.php to match about.php.
* Link the Emoji Codex article in the emoji blurb.
* Add a second sentence to the JavaScript Accessibility blurb.
* Switch positions for the JavaScript Accessibility and Complex Query Ordering sections for balance.

props DrewAPicture, ocean90, pavelevap.
see #31929.

git-svn-id: https://develop.svn.wordpress.org/trunk@32131 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 00:38:00 +00:00
Dominik Schilling (ocean90)
cf9908ef31 Update about page for 4.2.
props siobhan, DrewAPicture.
see #31929

git-svn-id: https://develop.svn.wordpress.org/trunk@32130 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:52:19 +00:00
Dominik Schilling (ocean90)
f00aa86644 Force default avatar for HiDPI avatars on Discussion Settings.
props SergeyBiryukov.
fixes #31972.

git-svn-id: https://develop.svn.wordpress.org/trunk@32129 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:08:15 +00:00
Dominik Schilling (ocean90)
be2e1d9937 Reset padding for buttons in theme details modal.
props awbauer.
fixes #31963.

git-svn-id: https://develop.svn.wordpress.org/trunk@32128 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:03:59 +00:00
Dominik Schilling (ocean90)
a0fbde9fdc Customizer Theme Switcher: Use text input for the search field to prevent double tap issues for Preview and Customize buttons on iOS.
see #31794.

git-svn-id: https://develop.svn.wordpress.org/trunk@32127 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 17:44:28 +00:00
Aaron Jorbin
73479254bc Use named function instead of anonymous function
The named function is testable and replaceable.

Fixes #31964
Props DavidAnderson, adamsilverstein, jorbin




git-svn-id: https://develop.svn.wordpress.org/trunk@32126 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 16:41:24 +00:00
Scott Taylor
91143924cd Move the built media JS files up a directory to their previous location and naming convention. This fidgets with part of [31373] and will maintain BC for those who were loading those files directly (not using the enqueue system).
Props iseulde, ocean90.
Fixes #31912.


git-svn-id: https://develop.svn.wordpress.org/trunk@32125 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:30:16 +00:00
Scott Taylor
fbdbba9e01 Revert [31030] and [31033]. Incidentally, there is no lazy-loading happening here anyway.
Pushing #26111 to future.


git-svn-id: https://develop.svn.wordpress.org/trunk@32124 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:12:49 +00:00
Sergey Biryukov
a8c4455adc Fix typo on About page.
props jamescollins.
see #31929.

git-svn-id: https://develop.svn.wordpress.org/trunk@32123 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 06:53:25 +00:00
Andrew Ozz
f3033a9f5a Press This: do not show the bookmarklet upgrade notice when accessing directly press-this.php.
Props kraftbj. Fixes #31968.

git-svn-id: https://develop.svn.wordpress.org/trunk@32122 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 05:44:08 +00:00
Andrew Ozz
deaa16216d Fix the media modal Insert into post button on narrow screens by limiting the width of .media-toolbar-primary and .media-toolbar-secondary only inside .attachments-browser (the top toolbar).
Props iseulde, DrewAPicture. Fixes #31908.

git-svn-id: https://develop.svn.wordpress.org/trunk@32121 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 01:20:39 +00:00
Andrew Ozz
17e3e168d3 Make sure the spinner in the media modal is visible on narrow screens (without affecting the media grid).
Fixes #30725.

git-svn-id: https://develop.svn.wordpress.org/trunk@32120 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 00:53:34 +00:00
Dominik Schilling (ocean90)
5c1eb9f4f8 Customizer Theme Switcher: Don't re-render a theme control if it has already been rendered.
Move initialization of `$customizeSidebar` to `api.ThemesSection.initialize()` to prevent cases where the result can be undefined.

props westonruter, ocean90.
fixes #31793.

git-svn-id: https://develop.svn.wordpress.org/trunk@32119 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 22:09:35 +00:00
Dominik Schilling (ocean90)
17cc95573f 4.2 about page text, rough cut.
props helen, siobhan, DrewAPicture, samuelsidler, markjaquith, nacin.
see #31929.

git-svn-id: https://develop.svn.wordpress.org/trunk@32118 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 15:38:19 +00:00
Sergey Biryukov
3b6ff03136 wp_update_term() should check if get_term() returned null.
props dlh.
fixes #31954.

git-svn-id: https://develop.svn.wordpress.org/trunk@32117 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 01:20:57 +00:00
Dominik Schilling (ocean90)
b0d6757918 Use HTTPS URLs for codex.wordpress.org.
see #27115.

git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Sergey Biryukov
3c4b4ea0cc Fix a copy/paste error in a comment.
see #31951.

git-svn-id: https://develop.svn.wordpress.org/trunk@32115 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 23:19:39 +00:00
azaozz
2160e1ac95 Add mb_strlen() compatibility function. Works the same way as the existing mb_substr() compatibility function.
Props SergeyBiryukov. Fixes #31951.

git-svn-id: https://develop.svn.wordpress.org/trunk@32114 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 23:13:01 +00:00
Dominik Schilling (ocean90)
9cddb0f012 Rename get_media_embedded_in_content_allowed filter to media_embedded_in_content_allowed_types.
The new name fits better with some other `_allowed_` filters.

props DrewAPicture.
fixes #26675.

git-svn-id: https://develop.svn.wordpress.org/trunk@32113 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:48:22 +00:00
Sergey Biryukov
9706b074c8 Translator comment should just reference placeholder numbers, not the actual placeholders.
see #31675.

git-svn-id: https://develop.svn.wordpress.org/trunk@32112 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:45:14 +00:00
Sergey Biryukov
d36c454684 Explain all placeholders in translator comment, not just the first one.
see [32110], #31675.

git-svn-id: https://develop.svn.wordpress.org/trunk@32111 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:39:36 +00:00
Mark Jaquith
0188ec7f1c Tell developers how to correctly silence register_sidebar() notices.
* If we just tell them they they should set an `id` parameter, they might set an arbitrary one on an existing (i.e. not in-development) theme, causing widgets to be lost.
* This way, we tell them to set it to the auto-generated `id` that the sidebar already has.
* Widget content is not lost, and now their sidebar has a concrete handle.

fixes #31675

git-svn-id: https://develop.svn.wordpress.org/trunk@32110 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:33:14 +00:00
Dominik Schilling (ocean90)
cfb7d2965e Remove executable bit from smilies.
see #31709.

git-svn-id: https://develop.svn.wordpress.org/trunk@32109 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 18:16:24 +00:00
Gary Pendergast
b806e118c6 When dbDelta() is checking whether an index is defined in a CREATE TABLE statement, don't worry if MySQL has a subpart defined on an index, but the CREATE TABLE doesn't.
Fixes #31869.



git-svn-id: https://develop.svn.wordpress.org/trunk@32108 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 10:39:49 +00:00