Andrew Ozz
59b22c284d
Emoji:
...
- Move the TinyMCE plugin CSS to wp-content.css.
- Change the replacement images class to `wp-emoji` inside the editor.
- Clean up both the plugin and wp-emoji.js, abstract and restructure a bit.
See #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31779 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-14 23:49:00 +00:00
Andrew Ozz
2d99690655
PressThis: increase the number of meta tags we check in the bookmarklet to 200. Sometimes there are empty meta tag nodes (no attributes) in some browsers.
...
See #31373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31778 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-14 20:11:42 +00:00
Sergey Biryukov
83c6f85cd5
Remove duplicate label on Add New User screen.
...
props abhishekfdd.
fixes #31131 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31777 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-14 01:03:18 +00:00
Sergey Biryukov
546f3c348b
Remove hidden user_id
input from Edit Comment screen.
...
Since [31172], it caused the comment's `user_id` field to be unexpectedly changed to the user who edits the comment.
fixes #30307 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31776 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-14 00:52:15 +00:00
Andrew Ozz
a6b11c0411
PressThis: add a wrapped with role = application to the categories section.
...
Props: afercia. See #31443 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31775 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 23:40:53 +00:00
Andrew Ozz
71aa99360e
PressThis: in Grunt, minify the bookmarklet before copying the files to /build.
...
See #31373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31774 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 21:08:14 +00:00
Andrew Ozz
262e849cdd
Emoji: yet another update for Twemoji, to 1.3.2. Props iseulde. See #31242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31773 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 20:29:10 +00:00
Andrew Ozz
1f05ad1b50
Emoji: better regex when testing for only char emoji. Props iseulde. See #31242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31772 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 20:26:39 +00:00
Sergey Biryukov
870da19630
Emoji and smiley images should be displayed inline.
...
see #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31771 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 18:44:40 +00:00
Sergey Biryukov
3089244b6f
Restore line breaks before comment text in comment notification emails.
...
fixes #31508 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31770 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 18:28:52 +00:00
Sergey Biryukov
0c664ec112
Ignore .DS_Store
files.
...
props danielbachhuber.
fixes #31633 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31769 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 18:11:33 +00:00
Andrew Ozz
49ca2ac0f4
PressThis: improve translatable strings on the Tools screen.
...
Props: afercia. See #28873 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31768 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 17:31:01 +00:00
Drew Jaynes
a0d10f45cf
Post 4.2-beta1 version bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31767 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 17:25:42 +00:00
Andrew Ozz
7fbb0e091a
Emoji: update Twemoji to 1.3.1. Props iseulde. See #31242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31766 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 17:19:28 +00:00
Andrew Ozz
2650be6c74
PressThis: simplify and restyle the categories drop-down, remove the checkboxes and use JS to get the selected categories on submitting the form.
...
Part prop: Michael-Arestad. Fixes #31443 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31765 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 16:56:45 +00:00
Boone Gorges
13e66393f1
Don't run wp_get_archives()
cache test on multisite.
...
The introduction of a Customizer test that creates a new blog [31707] causes
`WP_INSTALLING` to be set by the time the `wp_get_archives()` tests run. This,
in turn, causes the query counts to vary in unpredictable ways.
See #31130 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31764 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 23:29:21 +00:00
Drew Jaynes
4179e355e0
WordPress 4.2-beta1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31763 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 23:10:49 +00:00
Andrew Ozz
5cfe554773
TinyMCE: fix emoji parsing in IE typo. See #31242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31762 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 23:02:08 +00:00
Andrew Ozz
29cca14491
TinyMCE: fix emoji parsing in IE. See #31242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31761 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 22:59:41 +00:00
Drew Jaynes
a6d4f5e679
WordPress 4.2-beta1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31760 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 22:49:58 +00:00
Dominik Schilling (ocean90)
949099f6f7
grunt imagemin
for [31745].
...
see #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31759 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 22:00:50 +00:00
Dominik Schilling (ocean90)
c8cd080d1b
Update Twemoji to 1.3.0.
...
Includes a fix for Firefox: 92d5bea1ab
Since this fix breaks IE 11 we added `modified = false;` after `subnode.parentNode.replaceChild(fragment, subnode)`.
props iseulde.
see #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31758 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 21:59:04 +00:00
Andrew Ozz
ba3a48766e
TinyMCE wpViews: fix typos in the conditional checking which stylesheets to import.
...
Props mattheu. See #31464 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31757 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 20:07:13 +00:00
Andrew Ozz
86c521d868
Emoji:
...
- Patch twemoji.js to prevent infinite loop.
- Fix some `undefined` errors in old IE.
Props iseulde. See #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31756 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 19:52:13 +00:00
Dominik Schilling (ocean90)
94768cad74
Revert [31749], see #31528 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31755 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 17:50:54 +00:00
Helen Hou-Sandi
21134a0c89
Allow is_page_template()
to accept an array, as many other conditional tags do.
...
props morganestes, tyxla, DrewAPicture.
fixes #31271 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31754 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 16:27:06 +00:00
Sergey Biryukov
a2abc13285
Shiny Updates: Disable body scrolling when filesystem request modal is open.
...
props ericlewis.
fixes #31607 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31753 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 14:56:34 +00:00
Gary Pendergast
fa3131ee02
Emoji: There's a little tear in my eye as I remove DOMDocument from the Emoji staticizer. It was a beautiful dream, but it wasn't to be.
...
Instead, let's use the tried and trusted smiley replacement algorithm, which has stood the test of time.
See #31242
git-svn-id: https://develop.svn.wordpress.org/trunk@31752 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 13:16:34 +00:00
Sergey Biryukov
6642a1d228
Shiny Updates: Don't translate an error code string.
...
props ericlewis.
fixes #31606 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31751 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 13:08:40 +00:00
Gary Pendergast
37bee1ed3a
Emoji: Instead of having custom hooks for Ajax callbacks, use MutationObserver to re-parse any changed elements in the DOM.
...
Props iseulde
See #31242
git-svn-id: https://develop.svn.wordpress.org/trunk@31750 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 12:51:06 +00:00
Aaron Jorbin
b857ff6083
Request FTP and SSH credentials when needed during shiny updates
...
This is a first pass at requesting FTP and SSH credentials when needed during shiny updates. Styling and some UX improvements are still needed, but we do show the prompt and use the passed data when doing plugin installs and updates for shiny updates. There are also a couple of areas that we could improve code wise such how we create the requestFilesystemCredentials part of the localized _wpUpdatesSettings. Over the past half century, we've split the atom, we've spliced the gene and we've roamed Tranquility Base. We've reached for the stars and never have we been closer to having them in our grasp. That has nothing to do with shiny updates.
Props ericlewis, jorbin, and drewapicture for testing
Fixes #31528
git-svn-id: https://develop.svn.wordpress.org/trunk@31749 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 08:52:42 +00:00
Helen Hou-Sandi
c5169d828e
Nav menus: Return to calling links "Custom Links".
...
It was like this before 3.6 and got a bit lost during that development cycle. Also uses the terminology more consistently in the nav menu UI.
props tyxla.
fixes #31344 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31748 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 06:14:53 +00:00
Helen Hou-Sandi
75cb1ae15a
Star ratings: Use a yellow color across the board. Keying these to color schemes originally turned out to be weird.
...
props hugobaeta.
fixes #31424 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31747 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 05:40:14 +00:00
Andrew Nacin
fff0f98244
The partial change to the script handle in [31744] was not actually intended.
...
see #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31746 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 03:36:01 +00:00
Gary Pendergast
fa132c0d7e
Add new smiley images missed in [31733].
...
See #31242
git-svn-id: https://develop.svn.wordpress.org/trunk@31745 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 03:27:06 +00:00
Andrew Nacin
a5cd4f6284
Emoji JS cleanup.
...
* Filename: emoji.js => wp-emoji.js
* Script handle: emoji => wp-emoji
* Object: WPEmoji => wp.emoji
* Script settings: EmojiSettings => _wpemojiSettings
* Setting key: base_url => baseUrl
* Remove executable bit from files
see #31242 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31744 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 03:16:51 +00:00
Sergey Biryukov
fdb65519ac
Press This: Remove obsolete help tab in Settings -> Writing.
...
props kraftbj.
fixes #26794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31743 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 02:36:09 +00:00
Andrew Ozz
1c425c9eac
TinyMCE wpViews: always import the non-default editor styles in the sandbox iframe in views.
...
Props iseulde, mattheu. Fixes #31464 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31742 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 01:04:59 +00:00
Sergey Biryukov
8220541799
Fix JSHint errors in [31734] and add missing dependencies.
...
props iseulde.
fixes #31328 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31741 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-12 01:04:44 +00:00
Andrew Ozz
484733be3a
TinyMCE: improve setting of the sandboxing iframe inside a view.
...
Props mattheu, iseulde. Fixes #31412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31740 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:52:15 +00:00
Andrew Ozz
2707b39c63
PressThis: add inline comments and some cleanup for the images and embeds regex.
...
Props stephdau. Fixes #31373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31739 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:36:23 +00:00
Andrew Ozz
6d9c5ea526
TinyMCE: remove blocking of commands on placeholder images. Breaks some execCommand.
...
Props iseulde. Fixes #31571 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31738 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:32:44 +00:00
Andrew Ozz
962ba7c52e
PressThis: update _limit_url(), use esc_url_raw(). Fixes checking of urlencoded strings.
...
See #31373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31737 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:22:21 +00:00
Dominik Schilling (ocean90)
62dd55f7d7
Administration: Remove single-use URL parameters and create canonical link based on new URL.
...
The default removable query args are 'message', 'settings-updated', 'saved', 'update', 'updated','activated', 'activate', 'deactivate', 'locked', 'deleted', 'trashed', 'untrashed', 'enabled', 'disabled', and 'skipped'.
props morganestes.
fixes #23367 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31736 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 23:08:56 +00:00
Andrew Ozz
62b4dd45d7
TinyMCE: remove block_formats setting, this is now the default in TinyMCE 4.1.9.
...
Props iseulde. Fixes #31585 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31735 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:56:17 +00:00
Gary Pendergast
1357e7fc2e
Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji.
...
Props pento, SergeyBiryukov and boonebgorges.
Fixes #31328
git-svn-id: https://develop.svn.wordpress.org/trunk@31734 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:54:49 +00:00
Gary Pendergast
ae391ec226
Add emoji support, with Twemoji fallback.
...
Replace exisiting smilies with equivalent emoji, or with shiny new smiley images where no emoji existed.
Props batmoo, joen and mkaz for the original plugin upon which this is based.
Props pento, iseulde, kraftbj and peterwilsoncc for making the internet's dreams come true.
See #31242
git-svn-id: https://develop.svn.wordpress.org/trunk@31733 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:48:16 +00:00
Andrew Ozz
1c1e5f377f
TinyMCE: initialize the floating toolbars on preinit so we can attach other events on init.
...
Props iseulde. Fixes #30619 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31732 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:40:56 +00:00
Andrew Ozz
976e548ef7
TinyMCE wpViews: use the real attribute value instead of the cached jQuery data. Fixes updating of the wpView text strings.
...
Props iseulde. Fixes #31601 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31731 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 22:39:29 +00:00
John Blackbourn
82ac76c0a7
Introduce a new algorithm for displaying a hierarchical list of post objects in the WP_Posts_List_Table
. This reduces processing time, reduces database queries, and substantially reduces memory use on sites with a high number of Pages.
...
Props nofearinc, rodrigosprimo, nacin, johnbillion.
Fixes #15459
git-svn-id: https://develop.svn.wordpress.org/trunk@31730 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-11 20:45:17 +00:00