Commit Graph

1465 Commits

Author SHA1 Message Date
Andrew Nacin
7c3f63453f 4.1-alpha-29757. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:50 +00:00
Andrew Nacin
91d42a7ceb 4.1-alpha-29756. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:49 +00:00
Andrew Nacin
b94681f007 4.1-alpha-29755. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:48 +00:00
Andrew Nacin
5cac09096d 4.1-alpha-29754. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:47 +00:00
Andrew Nacin
e7c4b19c5c 4.1-alpha-29753. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:46 +00:00
Andrew Nacin
f6d803b4de 4.1-alpha-29752. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:45 +00:00
Andrew Nacin
775a0d9ae9 4.1-alpha-29751. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:44 +00:00
Andrew Nacin
fa46b60fd6 4.1-alpha-29750. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:43 +00:00
Andrew Nacin
efabe841ea 4.1-alpha-29749. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:42 +00:00
Andrew Nacin
91c2f2c958 4.1-alpha-29748. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:41 +00:00
Andrew Nacin
7e2ee80010 4.1-alpha-29747. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:40 +00:00
Andrew Nacin
caa672fafa 4.1-alpha-29746. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:39 +00:00
Andrew Nacin
ae67227188 4.1-alpha-29745. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:38 +00:00
Andrew Nacin
f14c006bc1 4.1-alpha-29744. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:37 +00:00
Andrew Nacin
8aa72f6993 4.1-alpha-29743. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:36 +00:00
Andrew Nacin
18a864457f 4.1-alpha-29742. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:35 +00:00
Andrew Nacin
ec5cb92186 4.1-alpha-29741. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:52:34 +00:00
Andrew Nacin
21b6fc1e77 4.1-alpha-29740. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:51:44 +00:00
Andrew Nacin
5187b32c2f 4.1-alpha-29739. (Bumping to permanently sync the revision number with https://develop.svn.wordpress.org.)
git-svn-id: http://core.svn.wordpress.org/trunk@29739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 20:51:43 +00:00
Andrew Ozz
4dfe796cd2 TinyMCE: update to 4.1.6+. Adds support for cache-busting when auto-loading JS and CSS. Change the tests to run in /build. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt.
Fixes #30079
Built from https://develop.svn.wordpress.org/trunk@29994


git-svn-id: http://core.svn.wordpress.org/trunk@29735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 02:08:20 +00:00
Boone Gorges
46c1c60e8d Generate fewer default posts in wp_list_authors() tests.
Saves about 7 seconds when running the suite.

See #30017.
Built from https://develop.svn.wordpress.org/trunk@29992


git-svn-id: http://core.svn.wordpress.org/trunk@29734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-23 01:15:20 +00:00
Andrew Ozz
965e783fd8 Twenty Fifteen: better editor-style.css: slightly smaller fonts, make the body margins relative, fix dependency on the mce-item-table class for tables. Props iamtakashi, fixes #29986
Built from https://develop.svn.wordpress.org/trunk@29987


git-svn-id: http://core.svn.wordpress.org/trunk@29729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-22 02:40:17 +00:00
Andrew Ozz
ecdc8d3baf Admin menu:
- Fix scrolling the pinned menu with a mouse wheel.
- Fix pinning when the menu is only slightly taller than the viewport.
- Disable pinning on IE8, updating CSS top makes it jump when scrolling with a mouse wheel.
See #29806
Built from https://develop.svn.wordpress.org/trunk@29978


git-svn-id: http://core.svn.wordpress.org/trunk@29724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-21 06:12:20 +00:00
Dion Hulse
2e30f3d891 HTTP API: Support both the 'limit_response_size' and 'stream' parameters at the same time, allowing a partial file download.
Fixes #26726

Built from https://develop.svn.wordpress.org/trunk@29968


git-svn-id: http://core.svn.wordpress.org/trunk@29714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-20 07:32:21 +00:00
Sergey Biryukov
2c809dc24e Live-update site title in toolbar when changing the corresponding field in General Settings.
props celloexpressions, avryl.
fixes #28682.
Built from https://develop.svn.wordpress.org/trunk@29963


git-svn-id: http://core.svn.wordpress.org/trunk@29710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-19 09:13:20 +00:00
Boone Gorges
09e1239ad6 Remove redundant table alias check in WP_Meta_Query.
Also adds documentation for 'meta_query_find_compatible_table_alias' filter.

See #24093.
Built from https://develop.svn.wordpress.org/trunk@29953


git-svn-id: http://core.svn.wordpress.org/trunk@29701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-18 02:22:19 +00:00
Boone Gorges
50f1b45594 Add expectedIncorrectUsage flags for unit tests that generate invalid dates.
Since [29925], passing an invalid date to WP_Date_Query will generate a
_doing_it_wrong() notice. The current changeset adds the
`@expectedIncorrectUsage` flag to those existing unit tests that generate
invalid dates, such as those that test canonical redirect and is_404()
conditionals.

Fixes #25834.
Built from https://develop.svn.wordpress.org/trunk@29932


git-svn-id: http://core.svn.wordpress.org/trunk@29684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-17 00:41:18 +00:00
Andrew Ozz
6de7c43ab3 Twenty Fifteen, editor-style.css: revert the font-size back to 19px and margin back to 83px, merge the two body selectors (don't seem needed), remove redundant rtl rules and fix body.rtl selector. See #29799
Built from https://develop.svn.wordpress.org/trunk@29911


git-svn-id: http://core.svn.wordpress.org/trunk@29665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 00:27:19 +00:00
Boone Gorges
09fbcfc1ad Support 'EXISTS' and 'NOT EXISTS' in WP_Tax_Query.
These new values for the 'operator' parameter make it possible to filter items
that have no term from a given taxonomy, or any term from a given taxonomy.

Includes unit tests.

Fixes #29181.
Built from https://develop.svn.wordpress.org/trunk@29896


git-svn-id: http://core.svn.wordpress.org/trunk@29651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 00:54:21 +00:00
Boone Gorges
54708e3e6d Use assertEqualSets() for a few taxonomy-related tests.
assertEquals() was causing problems in environments where the tests take more
than one second to run, thereby causing results to be returned in the incorrect
order.
Built from https://develop.svn.wordpress.org/trunk@29888


git-svn-id: http://core.svn.wordpress.org/trunk@29644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 00:19:18 +00:00
Boone Gorges
dbfaf60506 Don't create dummy data for each date query test.
The integration tests for using date_query in WP_Query require the creation of
dummy post data, much of which is common between a number of tests. However,
newer tests do not require as much data, so to reduce overhead we create the
data explicitly only when we need it, instead of in the setUp() method.

See #29781.
Built from https://develop.svn.wordpress.org/trunk@29885


git-svn-id: http://core.svn.wordpress.org/trunk@29641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-13 00:18:18 +00:00
Jeremy Felt
1ffba4abc4 Differentiate between invalid and missing admin emails when adding a new site
Check the emptiness of the admin email before using `sanitize_email()` and `is_email()` to determine if the address is valid.

Fixes #17890

Built from https://develop.svn.wordpress.org/trunk@29877


git-svn-id: http://core.svn.wordpress.org/trunk@29634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-12 00:22:18 +00:00
Sergey Biryukov
2c0947eeee Add missing labels to category filter dropdowns.
props afercia.
fixes #29921.
Built from https://develop.svn.wordpress.org/trunk@29870


git-svn-id: http://core.svn.wordpress.org/trunk@29629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-11 02:21:19 +00:00
Drew Jaynes
cdf9456b79 Clarify inline documentation for the _is_valid_nav_menu_item() and wp_get_nav_menu_items() in wp-includes/nav-menu.php.
Props morganestes for the initial patch.
Fixes #29914.

Built from https://develop.svn.wordpress.org/trunk@29868


git-svn-id: http://core.svn.wordpress.org/trunk@29628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-10 17:14:19 +00:00
Boone Gorges
17631e3b8e Explicitly declare hierarchical=false for post_tag in create_initial_taxonomies().
In certain edge cases, such as during the automated test suite,
create_initial_taxonomies() can be called in a situation where a non-default
permastruct setting has been saved outside of wp-admin. This causes the
'hierarchical' setting for the post_tag taxonomy to remain unset, leading to
PHP notices in get_term_link().

See #29827.
Built from https://develop.svn.wordpress.org/trunk@29859


git-svn-id: http://core.svn.wordpress.org/trunk@29620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-09 00:58:20 +00:00
Dion Hulse
88ceaba2d2 Return the correct server response for the 'message' response field from the server.
Previously this would use the generic message corresponding to the response code, which isn't always accurate. Since we're already parsing the headers, we can simply return that directly (This also has the benefit that it's the same code for both Streams and Curl header handling).
Fixes #28919

Built from https://develop.svn.wordpress.org/trunk@29848


git-svn-id: http://core.svn.wordpress.org/trunk@29611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-08 05:19:20 +00:00
Dominik Schilling
04edb0a1d6 Update jQuery UI to 1.11.1.
Because jQUI's build process no longer provides individual minified files we need some additional changes:
* Rename all files, remove the "jquery.ui." prefix. Add old files to `$_old_files`.
* Add and use non-minified files in /src.
* Add grunt task to minify jQuery UI files.
* (Non-minified files will not be shipped.)

Changelogs:
* http://jqueryui.com/changelog/1.11.0/
* http://jqueryui.com/changelog/1.11.1/

props Fab1en, ocean90.
fixes #29833.
Built from https://develop.svn.wordpress.org/trunk@29847


git-svn-id: http://core.svn.wordpress.org/trunk@29610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-07 15:28:24 +00:00
Andrew Ozz
a57e99eca8 Add default z-index to the admin menu, see #29806
Built from https://develop.svn.wordpress.org/trunk@29841


git-svn-id: http://core.svn.wordpress.org/trunk@29605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-06 02:00:16 +00:00
Andrew Ozz
f98106769d Pin the admin menu on scrolling similarly to how the side metaboxes are pinned on the Edit Post screen, first run. See #29806.
Built from https://develop.svn.wordpress.org/trunk@29835


git-svn-id: http://core.svn.wordpress.org/trunk@29599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-05 03:09:20 +00:00
Sergey Biryukov
221db8fd8d Fix setting default quality in WP_Image_Editor.
props markoheijnen.
fixes #29856 for trunk.
Built from https://develop.svn.wordpress.org/trunk@29834


git-svn-id: http://core.svn.wordpress.org/trunk@29598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-04 13:12:15 +00:00
Sergey Biryukov
7dde12f0ba Avoid a PHP notice in list_plugin_updates() if plugins_api() returned a WP_Error object.
fixes #29583.
Built from https://develop.svn.wordpress.org/trunk@29825


git-svn-id: http://core.svn.wordpress.org/trunk@29590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-03 00:02:14 +00:00
Sergey Biryukov
6ee7e6061a Add classes to form containers on taxonomy screens.
props jarednova.
fixes #28196.
Built from https://develop.svn.wordpress.org/trunk@29803


git-svn-id: http://core.svn.wordpress.org/trunk@29570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-02 00:29:16 +00:00
Sergey Biryukov
3f1fcc7d71 Version bump.
Built from https://develop.svn.wordpress.org/trunk@29800


git-svn-id: http://core.svn.wordpress.org/trunk@29567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-01 14:59:19 +00:00
Andrew Nacin
e8e5aa9c69 Trunk is now 4.1-alpha.
Built from https://develop.svn.wordpress.org/trunk@29712


git-svn-id: http://core.svn.wordpress.org/trunk@29486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-05 19:41:16 +00:00
Helen Hou-Sandí
250c2ce999 WordPress 4.0.
Built from https://develop.svn.wordpress.org/trunk@29709


git-svn-id: http://core.svn.wordpress.org/trunk@29483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-04 15:32:15 +00:00
Helen Hou-Sandí
69be1c682f 4.0-RC3.
Built from https://develop.svn.wordpress.org/trunk@29699


git-svn-id: http://core.svn.wordpress.org/trunk@29474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 18:07:17 +00:00
Helen Hou-Sandí
5a786077c5 4.0-RC2.
Built from https://develop.svn.wordpress.org/trunk@29696


git-svn-id: http://core.svn.wordpress.org/trunk@29471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 11:37:15 +00:00
Helen Hou-Sandí
0df2fa0c61 4.0-RC1.
Built from https://develop.svn.wordpress.org/trunk@29647


git-svn-id: http://core.svn.wordpress.org/trunk@29421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 06:14:15 +00:00
Andrew Nacin
ac3dd27737 Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters.
Introduce upload_plugins and upload_themes capabilities to allow blocking of plugin and theme uploads, versus the old hacky (and not secure) ways of just hiding UI tabs. These are simply meta capabilities that map to install_plugins and install_themes.
 
Also:
 * Use the same nice design for the plugin upload screen as the theme upload screen.
 * Better compatibility for the old install_themes_tabs filter added in [29002]. see #28578.
 * Ensure using the install_plugins_tabs filter to remove the upload tab removes the new button.
 * Use 'Add Plugins' instead of 'Install Plugins' to match 'Add Themes'.

fixes #29236.

Built from https://develop.svn.wordpress.org/trunk@29634


git-svn-id: http://core.svn.wordpress.org/trunk@29408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 01:32:18 +00:00
Dominik Schilling
d544610681 Language packs: No WPLANG anymore.
* The WPLANG constant is no longer needed. Remove define('WPLANG', ''); from wp-config-sample.php. Populate WPLANG option based on the WPLANG constant. When get_option('WPLANG') is an empty string it will override WPLANG.
* Introduce translations_api() which is available to communicate with the translation API. Move translation install related functions to a new file.
* Replace mu_dropdown_languages() with wp_dropdown_languages(). wp_dropdown_languages() is now populated by the translation API.
* Remove wp_install_load_language() and allow load_default_textdomain() to switch a core translation.

fixes #13069, #15677, #19760, #28730, #29281. 
Built from https://develop.svn.wordpress.org/trunk@29630


git-svn-id: http://core.svn.wordpress.org/trunk@29404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 19:59:16 +00:00
Andrew Nacin
b7e33dcd5a Install: Remove reference to readme and add a hyphen missing since 2007.
props ocean90.
fixes #29290.

Built from https://develop.svn.wordpress.org/trunk@29611


git-svn-id: http://core.svn.wordpress.org/trunk@29385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 04:05:20 +00:00
Andrew Ozz
488e2aa4cf Editor expand: add border to the Text editor resize helper, helps calculating the height in some cases. Fixes #29225
Built from https://develop.svn.wordpress.org/trunk@29593


git-svn-id: http://core.svn.wordpress.org/trunk@29367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 03:43:17 +00:00
Helen Hou-Sandí
ea05215581 Version bump.
Built from https://develop.svn.wordpress.org/trunk@29589


git-svn-id: http://core.svn.wordpress.org/trunk@29363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 18:44:18 +00:00
Andrew Ozz
f2c881cf3b TinyMCE: update to 4.1.4-20140822. Changes:
- Fixed bug where sometimes the resize rectangles wouldn't properly render on images on WebKit/Blink. 9a2d01cc14
- Fixed nodeChanged selection issue where the image selection wouldn't be removed if you clicked right after/before it. dd729c67e0
- Fixed bug in list plugin where delete/backspace would merge empty LI elements in lists incorrectly. caadfb05dd
See #29310
Built from https://develop.svn.wordpress.org/trunk@29576


git-svn-id: http://core.svn.wordpress.org/trunk@29350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-22 17:44:16 +00:00
Andrew Ozz
c3c20549c5 TinyMCE: update to 4.1.4. Changelog: http://www.tinymce.com/develop/changelog/?type=tinymce. Fixes #29310
Built from https://develop.svn.wordpress.org/trunk@29570


git-svn-id: http://core.svn.wordpress.org/trunk@29344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-21 23:53:18 +00:00
Helen Hou-Sandí
ef5f9c69b3 4.0-beta4
Built from https://develop.svn.wordpress.org/trunk@29497


git-svn-id: http://core.svn.wordpress.org/trunk@29275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 04:47:15 +00:00
Andrew Ozz
81815c4d03 Some pre-commit cleanup of media-grid.js and media-views.js
Built from https://develop.svn.wordpress.org/trunk@29494


git-svn-id: http://core.svn.wordpress.org/trunk@29272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 01:13:16 +00:00
Scott Taylor
b5922001b4 Remove debug line from [29484].
See #28842.


Built from https://develop.svn.wordpress.org/trunk@29485


git-svn-id: http://core.svn.wordpress.org/trunk@29263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 00:37:15 +00:00
John Blackbourn
a18c1f29a2 Switch the Polldaddy oEmbed endpoint to HTTPS as it now redirects there. See #28507.
Built from https://develop.svn.wordpress.org/trunk@29476


git-svn-id: http://core.svn.wordpress.org/trunk@29254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-13 00:17:16 +00:00
Sergey Biryukov
c6b70a9320 Correct references to post-template.php in the inline docs.
props softmodeling.
fixes #29188.
Built from https://develop.svn.wordpress.org/trunk@29469


git-svn-id: http://core.svn.wordpress.org/trunk@29247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-12 01:09:17 +00:00
Sergey Biryukov
871d808588 XML-RPC: Avoid a PHP notice in pingback_ping() method.
props jesin, simonp303.
fixes #29177.
Built from https://develop.svn.wordpress.org/trunk@29464


git-svn-id: http://core.svn.wordpress.org/trunk@29242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-11 15:19:18 +00:00
Drew Jaynes
8e86454467 Document default arguments for the WP_List_Table class. Also add referenced docblocks to extending class constructors.
Props mikejolley for the initial patch.
Fixes #28679. See #28298.

Built from https://develop.svn.wordpress.org/trunk@29459


git-svn-id: http://core.svn.wordpress.org/trunk@29237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-10 02:18:17 +00:00
Andrew Ozz
efd52cb860 TinyMCE: update to 4.1.3, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt, fixes #29166
Built from https://develop.svn.wordpress.org/trunk@29458


git-svn-id: http://core.svn.wordpress.org/trunk@29236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-09 20:56:15 +00:00
Andrew Ozz
d11bb9bc50 Media at small screens:
- Show the image details/settings as an overlay.
- Better styling for the frame drop-down.
- Remove the multi-select by default on the Insert frame.
See #27423
Built from https://develop.svn.wordpress.org/trunk@29452


git-svn-id: http://core.svn.wordpress.org/trunk@29230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-09 05:09:16 +00:00
Andrew Nacin
c2926b7011 4.0-beta3-29445
Built from https://develop.svn.wordpress.org/trunk@29445


git-svn-id: http://core.svn.wordpress.org/trunk@29223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-08 01:44:15 +00:00
Andrew Nacin
fd93879c86 4.0-beta3
Built from https://develop.svn.wordpress.org/trunk@29414


git-svn-id: http://core.svn.wordpress.org/trunk@29192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 18:28:17 +00:00
Andrew Ozz
b61903f2bb TinyMCE: add support for class attribute on the caption shortcode. Part props knutsp, kadamwhite, fixes #28951.
Built from https://develop.svn.wordpress.org/trunk@29380


git-svn-id: http://core.svn.wordpress.org/trunk@29158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 00:58:16 +00:00
Sergey Biryukov
e1eab74aa6 Use wp_normalize_path() in plugins_url().
props paulschreiber.
fixes #29058.
Built from https://develop.svn.wordpress.org/trunk@29375


git-svn-id: http://core.svn.wordpress.org/trunk@29153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-05 01:31:16 +00:00
Andrew Ozz
666fec5144 TinyMCE: fix alignment buttons when used on image with caption. Remove old/unneeded code. Fixes #28705.
Built from https://develop.svn.wordpress.org/trunk@29370


git-svn-id: http://core.svn.wordpress.org/trunk@29148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-04 00:52:17 +00:00
Andrew Ozz
9662dc9f7b Fix CSS for form elements for Firefox 30+, fixes #28500.
Built from https://develop.svn.wordpress.org/trunk@29366


git-svn-id: http://core.svn.wordpress.org/trunk@29142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-03 00:34:15 +00:00
Dominik Schilling
8ea68677f3 Media Upload: Improve styling of error messages.
props afercia, michalzuber.
fixes #29047.
Built from https://develop.svn.wordpress.org/trunk@29355


git-svn-id: http://core.svn.wordpress.org/trunk@29131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 14:14:19 +00:00
Andrew Ozz
8253a54416 PressThis: when the Text editor is the default, run the initial textarea content through pre_wpautop() to convert the paragraph tags. Fixes #29081.
Built from https://develop.svn.wordpress.org/trunk@29334


git-svn-id: http://core.svn.wordpress.org/trunk@29114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 00:55:15 +00:00
Andrew Ozz
d15f9617f9 wpLink:
- Fix adding a link on pressing Enter.
- Don't auto-focus the URL field after selecting a local link.
- Don't auto-focus the URL field when opening on touch devices. Toggle focus/blur on it to close the onscreen keyboard so the modal is positioned properly.
See #28897.
Built from https://develop.svn.wordpress.org/trunk@29333


git-svn-id: http://core.svn.wordpress.org/trunk@29113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-31 23:28:19 +00:00
Sergey Biryukov
187e23b3d6 Customizer: Don't hide controls the preview frame has no information about.
props kovshenin.
see #27993.
Built from https://develop.svn.wordpress.org/trunk@29329


git-svn-id: http://core.svn.wordpress.org/trunk@29109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-30 16:24:18 +00:00
Sergey Biryukov
9c1d22a454 Avoid PHP notices in _count_posts_cache_key(), _update_blog_date_on_post_publish(), and _update_blog_date_on_post_delete() if post type is not registered.
props jesin.
fixes #28135.
Built from https://develop.svn.wordpress.org/trunk@29318


git-svn-id: http://core.svn.wordpress.org/trunk@29099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 00:51:17 +00:00
Dominik Schilling
cc58ea9c49 Remove parent::footer() in Language_Pack_Upgrader_Skin::bulk_footer() as it prints a closing div which is not needed.
props michalzuber.
fixes #28947.
Built from https://develop.svn.wordpress.org/trunk@29313


git-svn-id: http://core.svn.wordpress.org/trunk@29094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 09:06:17 +00:00
Dominik Schilling
ab151eca85 Media Grid: Ignore user setting for content.
fixes #29034.
Built from https://develop.svn.wordpress.org/trunk@29305


git-svn-id: http://core.svn.wordpress.org/trunk@29087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-27 11:44:18 +00:00
Andrew Ozz
b9f97e8352 TinyMCE:
- Fix complex character input in Japanese, Chinese, etc. Was broken in getCursorOffset() in editor-expand.js.
- Disable auto-scrolling in some edge cases when editor expanding is enabled.
See #28328.

Built from https://develop.svn.wordpress.org/trunk@29302


git-svn-id: http://core.svn.wordpress.org/trunk@29084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-26 00:08:19 +00:00
Scott Taylor
97fff7e952 Adds <label>s to current page selector and bulk actions <select> field so that screen readers have an explicit label.
Props joedolson.
Fixes #28867.

Built from https://develop.svn.wordpress.org/trunk@29294


git-svn-id: http://core.svn.wordpress.org/trunk@29076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-25 00:20:16 +00:00
Andrew Ozz
da0b98a8f0 Editor scrolling:
- Improve TinyMCE resizing when a floated block is at the end of the content.
- Improve setting the padding/margin under the toolbar on loading.
- Add custom event on TinyMCE resizing and use it to adjust the pinning (if needed).
Part props avryl, see #28328.
Built from https://develop.svn.wordpress.org/trunk@29279


git-svn-id: http://core.svn.wordpress.org/trunk@29061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 01:33:15 +00:00
Helen Hou-Sandí
3cee43e6ce Revert [29267], as it causes unit test breakage and appears unnecessary. see #28986.
Built from https://develop.svn.wordpress.org/trunk@29274


git-svn-id: http://core.svn.wordpress.org/trunk@29056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-23 02:23:15 +00:00
Sergey Biryukov
8923bb0c0e Media Grid: Add a View button to Attachment Details modal.
props adamsilverstein.
fixes #28977.
Built from https://develop.svn.wordpress.org/trunk@29262


git-svn-id: http://core.svn.wordpress.org/trunk@29045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 01:30:16 +00:00
Andrew Ozz
b9222c9e1e TinyMCE: include 85e22b58e9that and quote one more use of "float". This is "reserved as future keyword by older ECMAScript specifications" according to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar and can throw a syntax error. See #28576.
Built from https://develop.svn.wordpress.org/trunk@29261


git-svn-id: http://core.svn.wordpress.org/trunk@29044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-21 23:05:15 +00:00
Sergey Biryukov
a9c9827de4 Gruntfile: Change import rules to include RTL stylesheets when running CSSJanus.
see #28966.
Built from https://develop.svn.wordpress.org/trunk@29256


git-svn-id: http://core.svn.wordpress.org/trunk@29039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-21 02:51:16 +00:00
Peter Westwood
673916b39f Post beta2 version bump to 4.0-beta2-29254
Built from https://develop.svn.wordpress.org/trunk@29254


git-svn-id: http://core.svn.wordpress.org/trunk@29037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-20 13:59:15 +00:00
Andrew Nacin
c11836174c 4.0-beta2.
Built from https://develop.svn.wordpress.org/trunk@29228


git-svn-id: http://core.svn.wordpress.org/trunk@29012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 21:05:15 +00:00
Helen Hou-Sandí
c4b561bb6c Use more generic, reusable CSS for the filter bar on Add Themes. This will allow us to reuse the UI in other places, such as the Media Library. props paulwilde. fixes #28794.
Built from https://develop.svn.wordpress.org/trunk@29217


git-svn-id: http://core.svn.wordpress.org/trunk@29001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 03:40:16 +00:00
Andrew Ozz
4361a40427 TinyMCE: include 709266e308 that fixes the UI state updates for the "link" button. See #28576.
Built from https://develop.svn.wordpress.org/trunk@29211


git-svn-id: http://core.svn.wordpress.org/trunk@28995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 19:31:14 +00:00
Andrew Ozz
95735cf298 TinyMCE:
- Update to 4.1.2, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt
- Update the tests to 4.1.2.
Fixes #28576.
Built from https://develop.svn.wordpress.org/trunk@29203


git-svn-id: http://core.svn.wordpress.org/trunk@28987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 00:59:16 +00:00
Andrew Ozz
d74a2a9f07 TinyMCE wpView: prevent fatal (security) errors when trying to access iframe.contentWindow in pausePlayers() and unsetPlayers(). See #28905.
Built from https://develop.svn.wordpress.org/trunk@29202


git-svn-id: http://core.svn.wordpress.org/trunk@28986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 00:50:15 +00:00
Andrew Nacin
4bf7cdd49b DB schema change: Add comment_author_email(10) index.
props tellyworth, pento.
fixes #21435.

Built from https://develop.svn.wordpress.org/trunk@29188


git-svn-id: http://core.svn.wordpress.org/trunk@28972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 15:54:16 +00:00
Andrew Ozz
c6afe2dd3e TinyMCE wpView:
- Cast off commands targeted to a view except undo, redo, RemoveFormat and mceToggleFormat (bold, italic, etc.).
- Disable the link and unlink buttons when a view is selected.
Props avryl, see #28595
Built from https://develop.svn.wordpress.org/trunk@29183


git-svn-id: http://core.svn.wordpress.org/trunk@28967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 00:10:17 +00:00
Lance Willett
f5fcb58404 Twenty Fourteen: optimize featured content lookup to reduce the number of queries for featured posts. Props Chouby and obenland, closes #26744.
Built from https://develop.svn.wordpress.org/trunk@29174


git-svn-id: http://core.svn.wordpress.org/trunk@28958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-15 06:44:15 +00:00
Drew Jaynes
b8d47f48c5 Inline documentation cleanup for 4.0 audit.
* Alignment for the 'term_search_min_chars' hook docs, added in [28892]
* Globals added for `wp_ajax_parse_embed()`, added [28580]

See #28885.

Built from https://develop.svn.wordpress.org/trunk@29151


git-svn-id: http://core.svn.wordpress.org/trunk@28935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 00:06:15 +00:00
Andrew Nacin
6d3572cbc8 4.0-beta1-29138.
Built from https://develop.svn.wordpress.org/trunk@29138


git-svn-id: http://core.svn.wordpress.org/trunk@28922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-13 22:11:15 +00:00
Helen Hou-Sandí
bf36cbeb18 4.0-beta1.
Built from https://develop.svn.wordpress.org/trunk@29060


git-svn-id: http://core.svn.wordpress.org/trunk@28848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 10:00:15 +00:00
Sergey Biryukov
15f3b73984 Revisions: Explicitly set the 'from' handle position when switching from two-handled mode back to single-handled mode.
props adamsilverstein.
fixes #26793.
Built from https://develop.svn.wordpress.org/trunk@29052


git-svn-id: http://core.svn.wordpress.org/trunk@28840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 01:00:14 +00:00
John Blackbourn
5a43586db1 Add support for a full path parameter to is_page() and is_single(). Props Jesper800, engelen, johnbillion. Fixes #16802.
Built from https://develop.svn.wordpress.org/trunk@29039


git-svn-id: http://core.svn.wordpress.org/trunk@28827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 16:04:16 +00:00
John Blackbourn
64f686b4c8 Focus and blur styling (via JS) for the install screen language selector. Props jorbin. See #28577
Built from https://develop.svn.wordpress.org/trunk@29020


git-svn-id: http://core.svn.wordpress.org/trunk@28808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 00:30:14 +00:00
Andrew Ozz
bf9908b37f TinyMCE wpView:
- When a view is selected, pressing the up or down arrow key should move the caret to the block above or below the view.
- Selecting some text that touches the view and deleting it should not remove part of the view.
- Show/hide the "fake" carets on editor focus/blur.
- Don't create new paragraphs before or after a view on pressing the arrow keys or delete key. Paragraphs are created on pressing Enter.
Props avryl, see #28595.
Built from https://develop.svn.wordpress.org/trunk@29010


git-svn-id: http://core.svn.wordpress.org/trunk@28798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-07 01:21:15 +00:00
Sergey Biryukov
4a11203b06 Clarify a string on Add New User screen.
props vancoder, collinsinternet.
fixes #27398.
Built from https://develop.svn.wordpress.org/trunk@29009


git-svn-id: http://core.svn.wordpress.org/trunk@28797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-07 00:54:14 +00:00
Sergey Biryukov
8d358a16c3 Exclude a newline between delimeters from further checks in wptexturize() for better performance.
props miqrogroove.
fixes #28724.
Built from https://develop.svn.wordpress.org/trunk@29008


git-svn-id: http://core.svn.wordpress.org/trunk@28796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-06 08:50:18 +00:00
Sergey Biryukov
2550fb200a Add 'status-sticky' class in get_post_class() for sticky posts in the admin.
props mordauk, netweb.
fixes #22590.
Built from https://develop.svn.wordpress.org/trunk@29003


git-svn-id: http://core.svn.wordpress.org/trunk@28791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-05 00:13:14 +00:00
Scott Taylor
9181f36b7e Add IE11 to the browser whitelist for MediaElement-based MCE views.
Props azaozz.
Fixes #28742.

Built from https://develop.svn.wordpress.org/trunk@28985


git-svn-id: http://core.svn.wordpress.org/trunk@28774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-04 01:10:15 +00:00
Scott Taylor
ece86c380b Make sure hundreds of canonical tests don't fail in multisite every other time they are run.
See #28706.

Built from https://develop.svn.wordpress.org/trunk@28964


git-svn-id: http://core.svn.wordpress.org/trunk@28757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-03 00:50:14 +00:00
Sergey Biryukov
fc24029d65 Simplify logic in get_sample_permalink_html(), remove duplicated code.
see #28350.
Built from https://develop.svn.wordpress.org/trunk@28947


git-svn-id: http://core.svn.wordpress.org/trunk@28744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-02 00:04:15 +00:00
Sergey Biryukov
7e226aaa70 WP_Date_Query: The inclusive logic should include all times within the date range.
props mboynes, oso96_2000, DrewAPicture.
fixes #26653.
Built from https://develop.svn.wordpress.org/trunk@28935


git-svn-id: http://core.svn.wordpress.org/trunk@28733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 01:18:15 +00:00
Andrew Ozz
99c9ef1a59 TinyMCE:
- Update the 'paste' plugin including cb36a78e54
- Better filtering of WebKit inserted &nbsp.
- Remove empty paragraphs and all inline styles on pasting but preserve styles added in the editor. This brings back the WP 3.8 behavior and makes pasting in all browsers work the same.
See #28016
Built from https://develop.svn.wordpress.org/trunk@28932


git-svn-id: http://core.svn.wordpress.org/trunk@28730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 21:55:18 +00:00
Sergey Biryukov
c8adae8ec7 Normalize 'user_id' and 'user_ID' values in wp_new_comment() before passing the comment data to 'preprocess_comment' filter.
props dkotter.
fixes #23231.
Built from https://develop.svn.wordpress.org/trunk@28915


git-svn-id: http://core.svn.wordpress.org/trunk@28714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 00:41:16 +00:00
Sergey Biryukov
7bb7693dd1 More tweaks to @param docs in wp-includes/plugin.php.
see #28516.
Built from https://develop.svn.wordpress.org/trunk@28888


git-svn-id: http://core.svn.wordpress.org/trunk@28687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 08:42:16 +00:00
Scott Taylor
f09663f784 Remove remaining Heartbeat API experimental notices
Props DH-Shredder.
Fixes #28626.

Built from https://develop.svn.wordpress.org/trunk@28872


git-svn-id: http://core.svn.wordpress.org/trunk@28672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-28 02:06:14 +00:00
Sergey Biryukov
aebf8f0fea Make sure the first number in LIMIT clause in WP_Query::get_posts() is always an integer.
fixes #23383.
Built from https://develop.svn.wordpress.org/trunk@28864


git-svn-id: http://core.svn.wordpress.org/trunk@28664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-27 00:04:16 +00:00
Scott Taylor
0233933f22 get_blog_details()->post_count should update on more actions than just publish_post.
Adds unit test.

Props 5um17, midxcat, strangerstudios.
Fixes #27952.

Built from https://develop.svn.wordpress.org/trunk@28835


git-svn-id: http://core.svn.wordpress.org/trunk@28639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 00:53:15 +00:00
Andrew Ozz
c8ce9e2815 wpLink: support whole URLs including query/fragment when pre-filling the URL field. Fixes #19992
Built from https://develop.svn.wordpress.org/trunk@28828


git-svn-id: http://core.svn.wordpress.org/trunk@28632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-25 00:37:15 +00:00
Scott Taylor
317e5c9616 Adjust CSS for "Moved to the trash" message for a pingback in the dashboard.
Props zoerooney, codenameEli.
Fixes #28286.

Built from https://develop.svn.wordpress.org/trunk@28811


git-svn-id: http://core.svn.wordpress.org/trunk@28619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-24 00:03:16 +00:00
Sergey Biryukov
d2fc1773ae Prevent multiple hierarchical posts with the same slug from being displayed in single post template.
fixes #28611.
Built from https://develop.svn.wordpress.org/trunk@28803


git-svn-id: http://core.svn.wordpress.org/trunk@28612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-23 13:15:16 +00:00
Sergey Biryukov
4690d6a592 Add @ticket references.
see #16854, #19198.
Built from https://develop.svn.wordpress.org/trunk@28800


git-svn-id: http://core.svn.wordpress.org/trunk@28609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-22 01:41:16 +00:00
Andrew Ozz
c936468da1 TinyMCE: revert 158b742410 and 576fa77aa2 as they may cause selection restore problems in old IE. See #28391.
Built from https://develop.svn.wordpress.org/trunk@28795


git-svn-id: http://core.svn.wordpress.org/trunk@28608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-21 01:15:15 +00:00
Scott Taylor
22e5b6932a Revert [28613] and [28664]. A good idea, but too much BC baggage.
See #28099.


Built from https://develop.svn.wordpress.org/trunk@28783


git-svn-id: http://core.svn.wordpress.org/trunk@28596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-20 16:21:17 +00:00
Sergey Biryukov
ce0d1a026c Move preg_match() that should only run once out of the loop.
props dllh.
fixes #28575.
Built from https://develop.svn.wordpress.org/trunk@28776


git-svn-id: http://core.svn.wordpress.org/trunk@28589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-19 00:01:16 +00:00
Sergey Biryukov
585213b0b6 Don't generate adjacent links in wp_head() for attachments.
props kovshenin.
fixes #21658.
Built from https://develop.svn.wordpress.org/trunk@28770


git-svn-id: http://core.svn.wordpress.org/trunk@28583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-18 00:05:16 +00:00
Andrew Ozz
46f17ee039 TinyMCE: update to 4.0.28+. Includes all changes until 09-06-2014: 32cb108d41. Changelog: 32cb108d41/changelog.txt.
See #28391.
Built from https://develop.svn.wordpress.org/trunk@28768


git-svn-id: http://core.svn.wordpress.org/trunk@28581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-17 23:49:15 +00:00
Sergey Biryukov
c171f2ef77 Fix labels on installation screen.
props avryl.
fixes #28548.
Built from https://develop.svn.wordpress.org/trunk@28759


git-svn-id: http://core.svn.wordpress.org/trunk@28572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-17 14:37:16 +00:00
Andrew Ozz
5b4943bc6a TinyMCE wpView: fix selecting all of view's "text" in Safari, props avryl, fixes #28088
Built from https://develop.svn.wordpress.org/trunk@28755


git-svn-id: http://core.svn.wordpress.org/trunk@28569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-16 00:12:15 +00:00
Andrew Ozz
84f3e30f7b wpView: improve handling of embed errors/error messages, see #28195
Built from https://develop.svn.wordpress.org/trunk@28754


git-svn-id: http://core.svn.wordpress.org/trunk@28568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-15 22:53:16 +00:00
Sergey Biryukov
16595af731 Correct @return value for term_exists().
props simonwheatley.
fixes #28538.
Built from https://develop.svn.wordpress.org/trunk@28753


git-svn-id: http://core.svn.wordpress.org/trunk@28567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-14 14:57:16 +00:00
Andrew Ozz
15c902ea3a wpLink: use the proper instance of the editor when looking at the selection. Move the email and URL regexp to variables. See #19992
Built from https://develop.svn.wordpress.org/trunk@28750


git-svn-id: http://core.svn.wordpress.org/trunk@28564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-13 21:14:16 +00:00
Andrew Ozz
f88149c370 wpView:
- Don't wrap single-line URLs in [embed]. Use them directly in generating a view.
- If the embedding HTML contains a script, "sandbox" it in an iframe to prevent it from changing the editor DOM.
- Automatically add toolbar and overlay when needed.
- Try to embed single-line URLs only if they are pasted in an empty paragraph.
Props avryl, see #28195
Built from https://develop.svn.wordpress.org/trunk@28748


git-svn-id: http://core.svn.wordpress.org/trunk@28562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-12 02:49:16 +00:00
Andrew Ozz
620e6ebe37 Fix the layout of the Image Details modal, props gcorne, see #24716 [28682]
Built from https://develop.svn.wordpress.org/trunk@28732


git-svn-id: http://core.svn.wordpress.org/trunk@28546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-11 00:23:14 +00:00
Scott Taylor
82bdc78500 LIKE escape sanity:
* Deprecate `like_escape()`
* Add a method to `$wpdb`, `->esc_like()`, and add unit tests

`$wpdb::esc_like()` is not used yet. As such, many unit tests will throw `Unexpected deprecated notice for like_escape`. Subsequent commits will alleviate this.

Props miqrogroove.
See #10041.

Built from https://develop.svn.wordpress.org/trunk@28711


git-svn-id: http://core.svn.wordpress.org/trunk@28527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-10 00:30:15 +00:00
John Blackbourn
2901a1a88b Add some basic unit tests for HTTPS canonical redirects. See #27954.
Built from https://develop.svn.wordpress.org/trunk@28704


git-svn-id: http://core.svn.wordpress.org/trunk@28521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-09 01:06:14 +00:00
Sergey Biryukov
5fb95760aa Fix JSHint error.
props avryl.
see #24716.
Built from https://develop.svn.wordpress.org/trunk@28697


git-svn-id: http://core.svn.wordpress.org/trunk@28514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-08 12:33:16 +00:00
Sergey Biryukov
6d7e222ded Use get_pages() instead of a raw SQL query in get_body_class().
fixes #28159.
Built from https://develop.svn.wordpress.org/trunk@28696


git-svn-id: http://core.svn.wordpress.org/trunk@28513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-07 03:22:16 +00:00
Andrew Ozz
d593293556 Fix JS error in tmpl-editor-gallery, 'string'.trim() is not available in IE < 9. See #28089
Built from https://develop.svn.wordpress.org/trunk@28683


git-svn-id: http://core.svn.wordpress.org/trunk@28501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 01:50:16 +00:00
Sergey Biryukov
fcd8152496 Add 'wp_title_parts' filter to wp_title().
props aaroncampbell, obenland.
fixes #17877.
Built from https://develop.svn.wordpress.org/trunk@28669


git-svn-id: http://core.svn.wordpress.org/trunk@28487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-05 00:28:15 +00:00
Drew Jaynes
18a6253747 Improve inline documentation for wp-includes/load.php.
Props ericlewis, DrewAPicture.
Fixes #24886.

Built from https://develop.svn.wordpress.org/trunk@28656


git-svn-id: http://core.svn.wordpress.org/trunk@28474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-04 04:12:17 +00:00
Drew Jaynes
b0877f02a4 Make sure $post is properly documented as optional where applicable.
See #28388.

Built from https://develop.svn.wordpress.org/trunk@28653


git-svn-id: http://core.svn.wordpress.org/trunk@28471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-03 03:53:17 +00:00
Scott Taylor
4fd5ffe994 In WPPlaylistView::ended(), at the end of a playlist, set the index to 0 and call ->setCurrent() instead of ->loadCurrent() so that the first track is properly highlighted.
Fixes #28428.

Built from https://develop.svn.wordpress.org/trunk@28649


git-svn-id: http://core.svn.wordpress.org/trunk@28467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-02 00:27:18 +00:00
Sergey Biryukov
9aadc44d5c Capitalize 'ID' correctly to avoid random failures of Tests_Tax_Query::test_term_taxonomy_id_field_no_taxonomy().
see #25284.
Built from https://develop.svn.wordpress.org/trunk@28647


git-svn-id: http://core.svn.wordpress.org/trunk@28465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-01 03:18:14 +00:00
Lance Willett
c2f0505bcf Twenty Fourteen: change hardcoded pagination base to use the WordPress Rewrite object's pagination_base value instead. Document global variable usage properly.
Props SergeyBiryukov, fixes #28405.
Built from https://develop.svn.wordpress.org/trunk@28645


git-svn-id: http://core.svn.wordpress.org/trunk@28463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-31 18:51:19 +00:00
Andrew Ozz
15a1f80885 TinyMCE in iOS:
- Fix placing the caret at the bottom of longer posts when the keyboard is open.
- Disable resizing on switching editors and on show/hide the kitchen sink row.
See #28242
Built from https://develop.svn.wordpress.org/trunk@28626


git-svn-id: http://core.svn.wordpress.org/trunk@28446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-30 02:38:16 +00:00
Andrew Nacin
39b1c52808 Append the date to $wp_version in the build output, for nightly packages.
props azaozz.
fixes #26751.

Built from https://develop.svn.wordpress.org/trunk@28611


git-svn-id: http://core.svn.wordpress.org/trunk@28435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-29 04:33:15 +00:00
Andrew Ozz
c4243e53d0 TinyMCE: update to 4.0.28. Also includes 43fff5b453. Part-props avryl for the patch on #27941, fixes #28391, #27941.
Built from https://develop.svn.wordpress.org/trunk@28606


git-svn-id: http://core.svn.wordpress.org/trunk@28430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-29 00:59:15 +00:00
Andrew Ozz
f7186fb198 TinyMCE: update to 4.0.26. Includes fixes for the 'paste' plugin (paste from Word/Excel, paste in WebKit/Blink), show/hide/isHidden in inline mode, drag/drop in tables and in Safari, and others. Fixes #28342, #28016, #28250 and #28067
Built from https://develop.svn.wordpress.org/trunk@28568


git-svn-id: http://core.svn.wordpress.org/trunk@28393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-24 01:44:15 +00:00
Andrew Ozz
7b4d339454 TinyMCE: when adding a caption to an image that is in a paragraph with other text, move the caption node above the paragraph instead of below. See #27922, for trunk.
Built from https://develop.svn.wordpress.org/trunk@28190


git-svn-id: http://core.svn.wordpress.org/trunk@28020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-23 20:42:14 +00:00
Andrew Nacin
50b3b36420 Trunk is now 4.0-alpha.
Built from https://develop.svn.wordpress.org/trunk@28157


git-svn-id: http://core.svn.wordpress.org/trunk@27988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 19:38:16 +00:00
Andrew Nacin
0e85a93967 WordPress 3.9.
Built from https://develop.svn.wordpress.org/trunk@28153


git-svn-id: http://core.svn.wordpress.org/trunk@27984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 18:01:28 +00:00
Andrew Nacin
28760a7d53 3.9-RC2
Built from https://develop.svn.wordpress.org/trunk@28135


git-svn-id: http://core.svn.wordpress.org/trunk@27966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 08:59:14 +00:00
Andrew Ozz
1a538353fc Update the TinyMCE paste plugin to the latest development version. It includes a fix for pasting from Word: removes inline comments and change tracking.
Changeset: f8cffdf342
Fixes #27771
Built from https://develop.svn.wordpress.org/trunk@28089


git-svn-id: http://core.svn.wordpress.org/trunk@27920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-12 20:01:14 +00:00
Andrew Ozz
c631d144f1 Update TinyMCE to the current development version, 4.0.21.1. Fixes #27744
Built from https://develop.svn.wordpress.org/trunk@28066


git-svn-id: http://core.svn.wordpress.org/trunk@27898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-10 21:09:16 +00:00