Commit Graph

29581 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
da2d5c4039 Customizer: Increase size of search field and disable text size adjustment to prevent auto zooming.
see #31794.

git-svn-id: https://develop.svn.wordpress.org/trunk@31917 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-28 21:02:36 +00:00
Dominik Schilling (ocean90)
ed118dc8a3 Customizer: Fix selector for container which includes the controls. Broken since [30102].
see #31794, #31014.

git-svn-id: https://develop.svn.wordpress.org/trunk@31916 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-28 20:46:37 +00:00
Dominik Schilling (ocean90)
1811a80eff Remove a stray > introduced in [31905].
see #31776.

git-svn-id: https://develop.svn.wordpress.org/trunk@31915 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 23:19:26 +00:00
Dominik Schilling (ocean90)
a39ae803b6 Theme Switcher: Opening themes details modal shouldn't require two clicks on touch devices.
Inspired by [26838].

see #31794.

git-svn-id: https://develop.svn.wordpress.org/trunk@31914 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 22:53:50 +00:00
Dominik Schilling (ocean90)
b64b88d03b Customizer: Use responsive button styles if screen is max-width 640px.
see #31794, #28784.

git-svn-id: https://develop.svn.wordpress.org/trunk@31913 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 22:16:10 +00:00
Dominik Schilling (ocean90)
c5cd434a72 Theme Switcher: Don't hide action buttons on narrow screens.
see #31794.

git-svn-id: https://develop.svn.wordpress.org/trunk@31912 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 21:52:23 +00:00
Dominik Schilling (ocean90)
e054f53d9e Customizer: Use proper preview URL for Live Preview links.
props mattwiebe.
fixes #31782.

git-svn-id: https://develop.svn.wordpress.org/trunk@31911 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 20:35:26 +00:00
Helen Hou-Sandi
ee4ba5c926 Admin menu: Revert [31720] for swipe open/closed.
This is problematic on any device that uses swipe for history navigation, particularly iOS. It's also quite unrefined from an interaction point of view and would not be material for this release either way.

see #31187.


git-svn-id: https://develop.svn.wordpress.org/trunk@31910 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 17:47:55 +00:00
Gary Pendergast
eced539d8b Emoji: [31864] changed emoji image's inline style from height to max-height. Unfortunately, anything using feedparser.py (for example, NewsBlur) strips out max-height, which gives us massive emoji in feeds.
This re-adds `height`, and also reminds us why we can't have nice things.

See #31719.



git-svn-id: https://develop.svn.wordpress.org/trunk@31909 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 02:11:45 +00:00
Andrew Ozz
01faa39cfd Fix focusing in the plugin and theme editors. Update the help.
Props afercia, Cheffheid. Fixes #31415.

git-svn-id: https://develop.svn.wordpress.org/trunk@31908 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 22:34:40 +00:00
Andrew Ozz
2c2951d2c0 Press This: remove role="application" from the Categories list wrapper. This doesn't make it work better in screen readers.
See #31443.

git-svn-id: https://develop.svn.wordpress.org/trunk@31907 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 21:48:42 +00:00
Dominik Schilling (ocean90)
9e59690d03 Improve newly added strings for i18n:
* Add context to "Format" string.
* Use "Format" with context for "Post format".

see #31776.

git-svn-id: https://develop.svn.wordpress.org/trunk@31906 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 21:18:25 +00:00
Dominik Schilling (ocean90)
4b3cc5c55e Improve newly added strings for i18n:
* Use a placeholder for the theme name to be able to reorder words.
* Uppercase D for "Theme Details" to match existing strings.
* Merge two revision date formats.
* Add translator comment to strings with placeholders.

props obenland.
see #31776.

git-svn-id: https://develop.svn.wordpress.org/trunk@31905 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 20:55:34 +00:00
Dominik Schilling (ocean90)
dacd36bcaa End "Update failed" with a full stop.
see #29820.

git-svn-id: https://develop.svn.wordpress.org/trunk@31904 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 19:08:08 +00:00
Drew Jaynes
e3107dac1f Post-beta3 bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@31903 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:36:39 +00:00
Drew Jaynes
e72c793502 WordPress 4.2-beta3
git-svn-id: https://develop.svn.wordpress.org/trunk@31902 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:14:37 +00:00
Aaron Jorbin
e0537392c1 Remove Shiny Plugin Install strings
See #31773, #29820



git-svn-id: https://develop.svn.wordpress.org/trunk@31901 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:02:05 +00:00
Aaron Jorbin
9ab336e309 More clean up from removal of Shiny Plugin Installs
See #31773, #29820
Unprops Jorbin, Pento



git-svn-id: https://develop.svn.wordpress.org/trunk@31900 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 16:29:09 +00:00
Dominik Schilling (ocean90)
74874407e1 Remove <code> tags from translatable strings.
Uncomment deprecation notice for `get_bloginfo( 'text_direction' )`, see [14360].

props ramiy, DrewAPicture.
fixes #30614.

git-svn-id: https://develop.svn.wordpress.org/trunk@31899 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 15:16:33 +00:00
Andrew Ozz
2c2a69c2a7 Fix initialization of wp-emoji in IE8.
Props pento, azaozz. Fixes #31701.

git-svn-id: https://develop.svn.wordpress.org/trunk@31898 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 02:39:46 +00:00
Aaron Jorbin
359ba47700 Remove Shiny Plugin Installs
See #31773, #29820



git-svn-id: https://develop.svn.wordpress.org/trunk@31897 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 02:29:52 +00:00
Boone Gorges
151520ee02 Check that $_POST array index is set before comparing it in post_preview().
This prevents PHP notices in cases where a user with 'edit_others_posts' but
without 'publish_posts' previews another user's posts.

Props tyxla.
Fixes #31760.

git-svn-id: https://develop.svn.wordpress.org/trunk@31896 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 01:44:03 +00:00
Boone Gorges
5d50b55c7e When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it.
Taxonomy metaboxes that are disabled for the current user are included in the
post.php markup, but do not contain the 'newtag' field, and so should be
skipped when looping through the metaboxes to avoid invoking String methods
on a variable of type `undefined`.

Props MikeNGarrett, A5hleyRich.
Fixes #30859.

git-svn-id: https://develop.svn.wordpress.org/trunk@31895 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 01:22:01 +00:00
Andrew Ozz
fed67453a1 Press This: on sites that support oEmbed, if the user has selected some text, quote it below the embed.
Props stephdau. Fixes #31763.

git-svn-id: https://develop.svn.wordpress.org/trunk@31894 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 01:16:58 +00:00
Dominik Schilling (ocean90)
e1353e1fe8 Customizer: [31885] actually hasn't fixed the SecurityErrors. This one does.
props mattwiebe.
fixes #31687.

git-svn-id: https://develop.svn.wordpress.org/trunk@31893 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 23:35:37 +00:00
ocean90
f5ea31e389 Customizer Theme Switcher: Reset font size of theme names in overlay. Apply left position only to themes section.
see #31303.

git-svn-id: https://develop.svn.wordpress.org/trunk@31892 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 22:57:03 +00:00
Drew Jaynes
9cd90a9a10 Clarify the DocBlock summary for wp_scheduled_delete() to mention that it includes posts of any type where the 'trash' status is used.
Props dkotter for the initial patch.
Fixes #31757.


git-svn-id: https://develop.svn.wordpress.org/trunk@31891 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 22:44:26 +00:00
Dominik Schilling (ocean90)
501aeeaaa6 Improve alignment of labels and inputs in Quick Edit.
props mattheu, valendesigns.
fixes #31408.

git-svn-id: https://develop.svn.wordpress.org/trunk@31890 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 22:24:37 +00:00
Dominik Schilling (ocean90)
e7195da11a Comments List: Don't let "Quick Edit" break on smaller screens.
Other class-wp-*-list-table.php files already contain a non-breaking space for the Quick Edit row action.

props kraftbj.
fixes #31482.

git-svn-id: https://develop.svn.wordpress.org/trunk@31889 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 22:14:24 +00:00
Andrew Ozz
e12762a76c TinyMCE: make sure the editor is not completely empty before checking if the user clicked above or below a wpView.
Fixes #31765.

git-svn-id: https://develop.svn.wordpress.org/trunk@31888 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 18:54:22 +00:00
Dominik Schilling (ocean90)
135be2826d Avoid a PHP notice in wp_enqueue_script() if $handle is an array.
Calling `wp_enqueue_script()` with an array as the first argument is a "hidden feature" and should be avoided. Use dependencies instead.

props sorich87 for initial patch.
fixes #31636.
see #14488.

git-svn-id: https://develop.svn.wordpress.org/trunk@31887 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 17:54:50 +00:00
Dominik Schilling (ocean90)
de328f1a88 Text Widget: Use !empty() for checking if the filter setting is set.
props westonruter.
fixes #31690.

git-svn-id: https://develop.svn.wordpress.org/trunk@31886 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 17:33:49 +00:00
Dominik Schilling (ocean90)
7a5073020d Customizer: Avoid SecurityErrors when the Customizer is embedded in an origin other than wp-admin.
props mattwiebe.
fixes #31687.

git-svn-id: https://develop.svn.wordpress.org/trunk@31885 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 17:25:01 +00:00
Drew Jaynes
bd2d4c8d14 Clean up DocBlock information and syntax for get_filesystem_method().
Props ericlewis, HarishChaudhari, valendesigns.
Fixes #31267.


git-svn-id: https://develop.svn.wordpress.org/trunk@31884 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 16:31:15 +00:00
Drew Jaynes
821ca1e93c Ensure the $wp_hasher global has an entry in the check_password_reset_key() DocBlock.
Props lamosty.
Fixes #31756.


git-svn-id: https://develop.svn.wordpress.org/trunk@31883 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 16:23:15 +00:00
Dion Hulse
b179fe8e95 When altering the admin URL to reflect the canonical location, keep the existing hash (if present) in the URL.
Fixes #31758. See #23367


git-svn-id: https://develop.svn.wordpress.org/trunk@31882 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 04:31:21 +00:00
Gary Pendergast
76eee7be6a Emoji: Add a comment to print_emoji_detection_script() explaining how the include statement works as part of the grunt build process.
See #31701.



git-svn-id: https://develop.svn.wordpress.org/trunk@31881 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 04:08:07 +00:00
Andrew Ozz
9ef45a7200 Do not output empty name and id HTML attributes in get_submit_button().
Props afercia. Fixes #31749.

git-svn-id: https://develop.svn.wordpress.org/trunk@31880 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 03:22:18 +00:00
Gary Pendergast
87e372299d Emoji: Revert [31877], and print the emoji shim and styles during admin_print_scripts and admin_print_styles, instead. This is a few milliseconds slower, but easier to reuse in Press This, and any other code that uses admin scripts and styles, without using admin-header.php.
See #31701.



git-svn-id: https://develop.svn.wordpress.org/trunk@31879 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 01:42:25 +00:00
Andrew Ozz
f6e1aeee60 TinyMCE: pad empty paragraphs with <br> in Chrome to stop it from inserting non-breaking spaces in them.
Props iseulde. Fixes #31255.

git-svn-id: https://develop.svn.wordpress.org/trunk@31878 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 01:17:04 +00:00
Gary Pendergast
12070176d9 Emoji: Print the emoji support shim in wp-admin, too.
See #31701.



git-svn-id: https://develop.svn.wordpress.org/trunk@31877 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 01:13:35 +00:00
Andrew Ozz
38de4b8045 Set EOL style for wp-emoji-loader.js. See #31701.
git-svn-id: https://develop.svn.wordpress.org/trunk@31876 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-25 00:16:09 +00:00
Gary Pendergast
5a0564bb8f Emoji: Instead of loading the emoji JS files automatically, we now include a small JS shim in the header, to test if the user's browser needs Twemoji. It then loads the emoji JS files only if they're needed.
Props pento, azaozz.

Fixes #31701.



git-svn-id: https://develop.svn.wordpress.org/trunk@31875 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 23:32:23 +00:00
Andrew Ozz
8bbb5869e9 TinyMCE: fix error and PHP warning when adding more than one instance in RTL mode.
Part props maimairel. Fixes #31578.

git-svn-id: https://develop.svn.wordpress.org/trunk@31874 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 20:32:23 +00:00
Sergey Biryukov
ecad13044d Fix a typo in [31872].
see #31738.

git-svn-id: https://develop.svn.wordpress.org/trunk@31873 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 17:32:47 +00:00
Aaron Jorbin
0d35447647 Fill $plugins['upgrade'] with extra info for use in list table
Shiny updates depends upon information from the update_plugins site transient in order to set data- attributes which are used by JavaScript. Since /wp-admin/plugins.php?plugin_status=upgrade uses `$plugin['upgrade']` rather than `$plugins['all']`, we need to fill that information in both places.   

Fixes #31738.



git-svn-id: https://develop.svn.wordpress.org/trunk@31872 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 17:29:32 +00:00
John Blackbourn
d6b90486d1 Implement an aria-describedby attribute for login screen errors, and improve the "Forgot password?" anchor text.
Props aferica, rianrietveld
Fixes #31143


git-svn-id: https://develop.svn.wordpress.org/trunk@31871 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 16:28:56 +00:00
Sergey Biryukov
de44adee46 Remove obsolete $wpdb reference from get_comments() docs.
props lamosty.
fixes #31748.

git-svn-id: https://develop.svn.wordpress.org/trunk@31870 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 15:42:09 +00:00
Gary Pendergast
22214ffdf9 Emoji: The regex for checking if the current glyph is a flag was checking the incorrect byte range, which was causing the South Korean flag to not be replaced in Firefox.
git-svn-id: https://develop.svn.wordpress.org/trunk@31869 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 09:57:44 +00:00
Andrew Ozz
defa8b0f96 Press This:
- Fix the links on inserted images to point to the source site.
- Fix inserting of images above the blockquote when the editor has not been focused.
Fixes #31745.

git-svn-id: https://develop.svn.wordpress.org/trunk@31868 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-24 01:32:17 +00:00