Commit Graph

2039 Commits

Author SHA1 Message Date
Lance Willett
7d23aedf8b Twenty Fourteen: fix unreachable links when the content area is shorter than the sidebar in smaller viewpoints. Props celloexpressions, see #26782.
git-svn-id: https://develop.svn.wordpress.org/trunk@27121 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 17:42:59 +00:00
Lance Willett
6f9758f69b Twenty Fourteen: delete the featured_content_ids transient on theme switch to make sure child themes can override the Featured Content quantity value. Also remove quantity parameter so child themes can change the amount of featured posts with $max_posts.
Props obenland, see #26660.

git-svn-id: https://develop.svn.wordpress.org/trunk@27120 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 17:38:08 +00:00
Sergey Biryukov
5b7c8cf7c1 Use .screen-reader-text class instead of an alt attribute for overlay button labels on Themes screen.
props bramd.
fixes #26603 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@27119 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 17:32:31 +00:00
Lance Willett
cb8654eade Twenty Fourteen: make sure featured tag is hidden on front-end views as expected. Add a check for the tag name in case we're using default values and the default ID of 0 does not match the term id of the featured tag.
Props obenland, fixes #26732.

git-svn-id: https://develop.svn.wordpress.org/trunk@27118 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 17:16:53 +00:00
Lance Willett
dfb4b73fbe Twenty Fourteen: fix gap above static pages, props SergeyBiryukov. Fixes #26694.
git-svn-id: https://develop.svn.wordpress.org/trunk@27117 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 17:10:04 +00:00
Sergey Biryukov
ab112fecb8 Fix typo in wp_set_auth_cookie() description.
props drozdz.
fixes #27046.

git-svn-id: https://develop.svn.wordpress.org/trunk@27116 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 09:46:19 +00:00
Andrew Nacin
4f5608f653 Use a float for last_changed microtime cache values.
microtime() by default returns a string with a space, which isn't allowed for keys in some cache backends.

props _jameslee, drozdz.
fixes #27000. see #23448.


git-svn-id: https://develop.svn.wordpress.org/trunk@27115 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-07 08:13:37 +00:00
Andrew Nacin
3dbd4f8dcb Revisions browser: The back button should return to the post you were editing (use replaceState instead of pushState).
props adamsilverstein.
fixes #26997.


git-svn-id: https://develop.svn.wordpress.org/trunk@27114 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 23:27:47 +00:00
Andrew Nacin
99c1b7323c Add imgur to the list of oEmbed providers.
props bradparbs.
fixes #21632.


git-svn-id: https://develop.svn.wordpress.org/trunk@27113 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 23:11:21 +00:00
Andrew Nacin
a2c2c3bfba Network install: When showing the path to wp-config.php make sure our slashes are normalized.
props VarunAgw.
fixes #27025.


git-svn-id: https://develop.svn.wordpress.org/trunk@27112 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 22:21:34 +00:00
Andrew Nacin
1304fb3463 Fix the conditional enqueueing/printing of colors stylesheets, without breaking dependencies.
fixes #18380.
see #20729 which should properly fix this.


git-svn-id: https://develop.svn.wordpress.org/trunk@27111 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 22:15:25 +00:00
Andrew Ozz
4d7d68b565 Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013
git-svn-id: https://develop.svn.wordpress.org/trunk@27110 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 19:33:13 +00:00
Helen Hou-Sandi
1b160c1c40 Fix some hover/focus styling and specificity issues. see #18380.
git-svn-id: https://develop.svn.wordpress.org/trunk@27109 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 17:56:30 +00:00
Scott Taylor
8dad11bfe2 In get_terms(), don't set automatically hierarchical to false when parent => 0 is passed. The default value for parent is ''.
In `_get_term_children()`, don't skip a top-level term without first including its children in the returned term list. Ironically, the call to `_get_term_children()` in `get_terms()` has a comment stating `"Make sure we show empty categories that have children."`, but it didn't work if you were retrieving top-level categories only.

All unit tests pass. Added a unit test based on the use case described in this ticket.

Fixes #26903.



git-svn-id: https://develop.svn.wordpress.org/trunk@27108 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 17:44:50 +00:00
Helen Hou-Sandi
c2e018dd0d Some tweaks to [27106]:
* Add more @todo markings and remove one that's been resolved.
* Restore a missing comma in a `.wp-badge` background rule, and add a comment reminding us why it's there.

see #18380.


git-svn-id: https://develop.svn.wordpress.org/trunk@27107 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 07:07:42 +00:00
Helen Hou-Sandi
802baab31a Merge colors.css into wp-admin.css. Non-default color schemes became overloads rather than swaps in the 3.8 redesign. Benefits include:
* No more border-width, border-style, border-color insanity.
* Point releases are much less likely to require extra finagling to avoid rebuilding the color schemes.
* Yours truly has a better overall vision of ~14,000 lines of admin CSS and where we go from here.

1,065 net lines of red, y'all.
props helen, jorbin. fixes #18380.


git-svn-id: https://develop.svn.wordpress.org/trunk@27106 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 06:24:36 +00:00
Andrew Nacin
7ff0442a07 JSHint fixes for media-views and Gruntfile.
props gcorne.
fixes #27032, #27033.


git-svn-id: https://develop.svn.wordpress.org/trunk@27105 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 05:31:22 +00:00
Scott Taylor
50a96f165e Regenerate the term hierarchy cache ({taxonomy}_children) when it is out of sync with the passed taxonomy's last_changed value.
Introduces `taxonomy_hierarchy_is_fresh()`, which is only called in `_get_term_hierarchy()`. The taxonomy's `last_changed` value is checked against the value of `wp_cache_get( 'hierarchy_last_changed', $taxonomy )`.

Adds a unit test - `Tests_Term:test_hierachy_invalidation()`.

See [27101], which makes this type of cache invalidation possible.
Fixes #14485.



git-svn-id: https://develop.svn.wordpress.org/trunk@27102 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 01:58:01 +00:00
Scott Taylor
e33ef0c6ac Add cache invalidation when updating a term, example: create a category, assign it to a post, edit the category. Currently, the post's term cache is not updated. When updating terms in a given taxonomy, invalidate the object term caches linked to that taxonomy.
Introduce `get_taxonomy_last_changed()`, `set_taxonomy_last_changed()`, and `post_taxonomy_is_fresh()`.

`post_taxonomy_is_fresh()` is only called in `get_object_term_cache()` - at which point the taxonomy's `last_changed` value is checked against the post's `{$taxonomy}_last_changed` value.

`set_taxonomy_last_changed()` is called whenever directory database queries are made that insert new terms or affect existing terms.

Fixes #22526.



git-svn-id: https://develop.svn.wordpress.org/trunk@27101 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 01:40:05 +00:00
Andrew Ozz
5a3fb502cb TinyMCE: set the proper caption width when clicking image resize handle on image with caption. Props gcorne, fixes #27009, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27098 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-05 02:06:10 +00:00
wonderboymusic
71947f18d3 When a video shortcode has content in its body, append it as inner HTML in the resulting <video>.
Reverts [27096].
Fixes #26628.
See #27016.



git-svn-id: https://develop.svn.wordpress.org/trunk@27097 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-05 01:42:02 +00:00
Andrew Ozz
89b8edf8f1 TinyMCE: don't scroll the main window when scrolling the editor content with a mouse wheel or trackpad and reaching the end. Fixes #27013.
git-svn-id: https://develop.svn.wordpress.org/trunk@27095 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-05 01:09:42 +00:00
Andrew Ozz
6a0251847b Consolidate handling of <object>, <audio> and <video> in wpautop() and add unit tests for them. Part props wonderboymusic, see #26864
git-svn-id: https://develop.svn.wordpress.org/trunk@27094 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-05 00:45:53 +00:00
Andrew Ozz
b33135c08d When using wp_editor(), make it easier to specify which editor is shown first, fixes #20822
git-svn-id: https://develop.svn.wordpress.org/trunk@27093 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-05 00:33:49 +00:00
Andrew Nacin
6aaad4785a Autosave: Fix typo in event namespace. props avryl, see #25272.
git-svn-id: https://develop.svn.wordpress.org/trunk@27092 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-04 16:06:13 +00:00
Andrew Nacin
2f013a3706 Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter.
props michelwppi.
fixes #26811.


git-svn-id: https://develop.svn.wordpress.org/trunk@27091 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-04 13:56:49 +00:00
Drew Jaynes
d88b191c9a Inline documentation for hooks in wp-admin/includes/class-wp-ms-themes-list-table.php.
Also marks two hooks in wp-admin/includes/class-wp-themes-list-table.php as duplicates.

Props ShinichiN, kpdesign, DrewAPicture.
Fixes #25608.


git-svn-id: https://develop.svn.wordpress.org/trunk@27090 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-04 08:24:13 +00:00
Drew Jaynes
75d5d14049 Inline documentation for hooks in wp-admin/includes/class-wp-terms-list-table.php.
Props Ajay, kpdesign.
Fixes #26209.


git-svn-id: https://develop.svn.wordpress.org/trunk@27089 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-04 07:55:48 +00:00
DrewAPicture
ac4774ddbd Inline documentation for hooks in wp-admin/network/sites.php.
Props NikV, kpdesign.
Fixes #26124.


git-svn-id: https://develop.svn.wordpress.org/trunk@27088 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-04 07:48:03 +00:00
Scott Taylor
050e4f26e9 Invalidate the post cache for posts associated with a user who has been removed from a blog in remove_user_from_blog(). Adds a unit test.
Props nprasath002 for the initial patch.
Fixes #25545.



git-svn-id: https://develop.svn.wordpress.org/trunk@27087 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-04 04:12:52 +00:00
Andrew Ozz
840423ea10 Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067
git-svn-id: https://develop.svn.wordpress.org/trunk@27085 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 21:30:25 +00:00
Andrew Ozz
5ff41a8635 Add back missing var definition in wplink.js, props TobiasBg, see #24067
git-svn-id: https://develop.svn.wordpress.org/trunk@27084 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 21:26:39 +00:00
Andrew Ozz
c24e451ae3 TinyMCE: don't replace <i> with <em> and <b> with <strong> and don't remove them when empty, see #24067, see #23037.
git-svn-id: https://develop.svn.wordpress.org/trunk@27083 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 20:25:08 +00:00
Sergey Biryukov
0d8921de03 Add braces around conditionals. props TobiasBg. fixes #25704.
git-svn-id: https://develop.svn.wordpress.org/trunk@27082 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 20:16:08 +00:00
Scott Taylor
28bab15d16 Properly invalidate the cache for wp_count_posts() on insert, trash, or when transitioning post_status inside of _transition_post_status(). Introduces _count_posts_cache_key(). Adds unit tests.
Props mark8barnes, for bringing this to our attention in an initial patch.
Fixes #21879.



git-svn-id: https://develop.svn.wordpress.org/trunk@27081 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 19:41:40 +00:00
Andrew Ozz
9fd8c54ef9 Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854.
git-svn-id: https://develop.svn.wordpress.org/trunk@27080 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 05:30:12 +00:00
Andrew Ozz
33b079b036 Open previews of different posts in different windows/tabs. Prevent confusion when using a former preview window again if the user navigated to edit another post. If the first post is still being edited, clicking Preview there will use the current window to show the preview. Props ippetkov, fixes #20233.
git-svn-id: https://develop.svn.wordpress.org/trunk@27079 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 23:49:05 +00:00
Andrew Ozz
90662a17f4 Editor: add :focus style for the Quicktags buttons, fixes #26932
git-svn-id: https://develop.svn.wordpress.org/trunk@27078 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 22:37:37 +00:00
Andrew Nacin
8c3ad4e860 Consistently trim and unslash search queries for the users list tables.
props aubreypwd.
fixes #26115.


git-svn-id: https://develop.svn.wordpress.org/trunk@27077 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 22:09:19 +00:00
Andrew Nacin
ed1ece6e3b Remove an unnecessary variable passed to wpdb::prepare() during multisite load.
props jeremyfelt.
fixes #26941.


git-svn-id: https://develop.svn.wordpress.org/trunk@27076 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 22:08:14 +00:00
Andrew Nacin
194d6a94b7 When the MySQL server has "gone away," attempt to reconnect and retry the query.
props pento.
see #5932.


git-svn-id: https://develop.svn.wordpress.org/trunk@27075 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 22:06:42 +00:00
Andrew Nacin
e993ef0249 Add a comment for [27073] as someone will inevitably complain it is tricked by % in a string. see #25604.
git-svn-id: https://develop.svn.wordpress.org/trunk@27074 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 21:47:58 +00:00
Andrew Nacin
435df55864 Throw an incorrect usage notice when the query argument of wpdb::prepare() does not include a placeholder.
props ounziw.
fixes #25604.


git-svn-id: https://develop.svn.wordpress.org/trunk@27073 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 21:46:07 +00:00
Andrew Nacin
0558df56ce Ensure compatibility with MySQL 5.6 which has stricter SQL modes by default.
Disables NO_ZERO_DATE, ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, STRICT_ALL_TABLES, TRADITIONAL. Introduces wpdb::set_sql_mode() with an incompatible_sql_modes filter so a plugin can alter the set mode after the fact.

props pento.
fixes #26847.


git-svn-id: https://develop.svn.wordpress.org/trunk@27072 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 21:38:34 +00:00
Andrew Ozz
bb49691c63 WP_Link: convert < > and " to HTML entities when setting link title for the Text editor. Fixes #25704.
git-svn-id: https://develop.svn.wordpress.org/trunk@27071 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 21:11:24 +00:00
Dominik Schilling (ocean90)
d58d7e8158 Update @return statement of wp_nonce_url(): The URL is escaped.
props c3mdigital.
see #4221.

git-svn-id: https://develop.svn.wordpress.org/trunk@27070 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 10:52:33 +00:00
Andrew Nacin
8650155a8b Use get_current_user_id() instead of $user_ID in user-edit.php.
props kovshenin.
fixes #26274.


git-svn-id: https://develop.svn.wordpress.org/trunk@27069 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 10:03:12 +00:00
Andrew Nacin
509cd20ae4 New resetpass_form hook in wp-login.php.
props romaimperator.
fixes #21044.


git-svn-id: https://develop.svn.wordpress.org/trunk@27068 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 07:51:03 +00:00
Scott Taylor
b8e7bbb0f2 Fix an error in SQL generation when perm is set and an array is passed for post_status. Adds unit test.
Props oso96_2000.
Fixes #25523.



git-svn-id: https://develop.svn.wordpress.org/trunk@27067 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 07:35:54 +00:00
Andrew Nacin
d1cc542e1f Ensure the last separator is removed from the user and network admin menus.
props johnjamesjacoby.
fixes #25425.


git-svn-id: https://develop.svn.wordpress.org/trunk@27066 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 06:18:44 +00:00
Andrew Nacin
71f951f71e Add arguments to the wp_dropdown_cats filter, and docs.
props olivM.
fixes #24103.


git-svn-id: https://develop.svn.wordpress.org/trunk@27065 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 05:32:17 +00:00
Scott Taylor
a1ffaec8b4 Remove $force argument from WP_Object_Cache::delete(). From @nacin: "This was for internal-use-only, I don't think _deprecated_argument() is needed, but let's put a comment somewhere just so we know we'd have to be careful if we ever want to add a third argument here later."
`$force` argument has been removed, and docs were updated.

Fixes #22478.



git-svn-id: https://develop.svn.wordpress.org/trunk@27064 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-01 22:24:30 +00:00
Scott Taylor
684091ac57 Let the video shortcode accept a YouTube URL as the value of its src attribute, as MediaElement.js supports Chromeless YouTube videos by using a pseudo-mime-type video/youtube.
HTTP and HTTPS www, non-www, and short url fronts are supported:
http://www.youtube.com/watch 
https://www.youtube.com/watch
http://youtube.com/watch
https://youtube.com/watch
http://youtu.be
https://youtu.be

Fixes #24764.



git-svn-id: https://develop.svn.wordpress.org/trunk@27063 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-31 18:58:25 +00:00
Andrew Ozz
01da73ac78 TinyMCE: update to 4.0.16, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27062 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-31 18:57:45 +00:00
Andrew Nacin
ec20c47e12 Update Dashicons to latest. Adds line break, paragraph, code, and bbPress.
props empireoflight, melchoyce.
see #26936.


git-svn-id: https://develop.svn.wordpress.org/trunk@27061 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-31 00:40:05 +00:00
Andrew Ozz
ced0079d88 TinyMCE: update to 4.0.14. Remove the fix for using init.setup in old plugins, now fixed upstream. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27060 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-31 00:05:17 +00:00
Scott Taylor
6989d828bb Upgrade MediaElement to 2.13.2 from 2.13.0. For a full list of changes: https://github.com/johndyer/mediaelement/compare/2.13.0...2.13.2
Fixes #26954.



git-svn-id: https://develop.svn.wordpress.org/trunk@27059 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-29 18:23:59 +00:00
Andrew Ozz
bd395b5d3e TinyMCE: add outline when a button is focused. Fixes #26931, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27058 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-29 18:13:32 +00:00
Scott Taylor
13c1dd0004 get_comment(), wp_get_post_revision(), and get_term() all used to return by reference. Because of this, $null was set to null so the return value would be a variable where applicable. This has not been necessary since [21792], so the $nulls have been removed.
Props toszcze.
Fixes #24768.



git-svn-id: https://develop.svn.wordpress.org/trunk@27057 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-29 06:45:54 +00:00
Scott Taylor
62b57d8899 In wpdb::db_connect(), allow the loading of a custom database error template - this is already allowed in dead_db().
In `dead_db()`, move the call to `wp_load_translations_early()` before the inclusion of the `db-error.php` file to allow translation in both locations before the template is loaded.

Props sbruner, kovshenin.
Fixes #25703.



git-svn-id: https://develop.svn.wordpress.org/trunk@27056 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-29 05:27:24 +00:00
Scott Taylor
99ef83d7aa Add Unit Tests for get_comment_pages_count(). Fix a notice caused when $wp_query->comments is not set in that function.
Props mdbitz, markjaquith.
Fixes #20633.



git-svn-id: https://develop.svn.wordpress.org/trunk@27055 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-29 05:16:58 +00:00
Andrew Ozz
5bb6b2ecec TinyMCE: fix Ctrl + s shortcut (trigger autosave), see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27052 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-28 23:28:36 +00:00
Scott Taylor
031414171e For starters, [27050] is rad. This just cleans up some extra new lines that were littered about, updates *some* of the inline docs (needs more), moves wp.media.controller.ImageDetails closer to its parent class, and de-dupes some code in media-template.php.
See #24409.



git-svn-id: https://develop.svn.wordpress.org/trunk@27051 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-28 23:20:04 +00:00
Andrew Ozz
20f89d7c4b Introduce Edit Image (single mode) in the media modal and use it to edit images inserted in the editor. Adds new feature: replace an image in the editor. Props gcorne, see #24409.
git-svn-id: https://develop.svn.wordpress.org/trunk@27050 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-28 21:16:42 +00:00
Drew Jaynes
c712a321ad Inline documentation for hooks in wp-includes/class-http.php.
Props kraftbj for the initial patches. Props kpdesign, DrewAPicture.
Fixes #26049.


git-svn-id: https://develop.svn.wordpress.org/trunk@27049 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-28 08:25:00 +00:00
Drew Jaynes
9224a141f3 Inline documentation for hooks in wp-admin/includes/export.php.
Props cmmarslender, kpdesign.
Fixes #26894.


git-svn-id: https://develop.svn.wordpress.org/trunk@27048 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-28 08:09:13 +00:00
Drew Jaynes
bbc58ef016 Inline documentation for hooks in wp-admin/includes/update-core.php.
Props JoshuaAbenazer, kpdesign.
Fixes #25998.


git-svn-id: https://develop.svn.wordpress.org/trunk@27047 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-28 08:01:36 +00:00
Helen Hou-Sandi
91b0e15ef8 Autocomplete for the new site admin email. Better than trying to remember which email address you used.
fixes #25348.


git-svn-id: https://develop.svn.wordpress.org/trunk@27046 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 23:09:08 +00:00
Andrew Nacin
bd9729c22d Add wp_install and wp_upgrade hooks to the respective functions.
props Denis-de-Bernardy.
fixes #25762.


git-svn-id: https://develop.svn.wordpress.org/trunk@27045 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 16:31:54 +00:00
Andrew Ozz
ad9f1f3258 TinyMCE: add dashicon for the "wp_page" button, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27044 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 15:05:27 +00:00
Dominik Schilling (ocean90)
ddd5e7a57f Update help content for Dashboard. props kpdesign. fixes #26632.
git-svn-id: https://develop.svn.wordpress.org/trunk@27043 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 14:46:36 +00:00
Andrew Nacin
0406e11513 Basic unit tests and additional documentation for wp_strip_all_tags().
props joehoyle.
fixes #25507.


git-svn-id: https://develop.svn.wordpress.org/trunk@27042 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 03:15:29 +00:00
Andrew Ozz
141aaa04c5 DFW: remove unused #wp-fullscreen-title-prompt-text selectors. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27039 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 00:38:19 +00:00
Andrew Ozz
70ca581b67 Autosave:
- Move the 'Saving post' and 'Draft saved at...' strings from autosaveL10n to postL10n as they are used only there.
- Use the custom jQuery events 'before-autosave' and 'after-autosave' to show these messages.
- Separate autosave.suspend() for local and server so local autosaves can continue while server autosaves are suspended.
- Remove the recently added autosave.server.disable() and use autosave.server.suspend() instead.
- Bring back .button.disabled, button-primary.disabled and use .disabled to prevent multiple form submissions.
See #25272.


git-svn-id: https://develop.svn.wordpress.org/trunk@27038 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 00:27:42 +00:00
Andrew Ozz
fbd895949f Remove one more valign, props neoxx, fixes #22712.
git-svn-id: https://develop.svn.wordpress.org/trunk@27037 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-26 20:37:33 +00:00
Andrew Ozz
88fecbeff9 Remove table cellspacing attribute from the admin, part-props MattyRob, fixes #22086.
git-svn-id: https://develop.svn.wordpress.org/trunk@27036 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-26 20:27:21 +00:00
Andrew Ozz
01faa993ac Fix tabbing order when opening/closing post status and visibility in the Publish postbox and cache some of the jQuery selectors. Part-props atimmer, fixes #25460.
git-svn-id: https://develop.svn.wordpress.org/trunk@27035 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-26 03:06:52 +00:00
Andrew Ozz
2b80ac1778 TinyMCE: do not run preventDefault() on the tab key when Ctrl, Alt or Command key is also pressed. Ctrl + Tab is used to switch between browser tabs. See #24067, fixes #17261.
git-svn-id: https://develop.svn.wordpress.org/trunk@27034 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-26 00:28:49 +00:00
Dominik Schilling (ocean90)
88277b4dba Remove unused code. props nofearinc. fixes #26205.
git-svn-id: https://develop.svn.wordpress.org/trunk@27033 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-26 00:11:18 +00:00
Scott Taylor
a103600054 Add some inline docs to methods in media-models.js - particularly around @param and @returns.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@27032 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-25 08:55:47 +00:00
Scott Taylor
a386be33d5 Add some JSDoc annotations to media-models.js to disambiguate instance properties and static class properties/methods in the base media Models.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@27031 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-25 07:38:12 +00:00
Andrew Ozz
be31ef4b65 TinyMCE: fix the compat3x plugin appending 'en.' to button titles. Set charset to UTF-8 in html_entity_decode() for translated strings. See #24067, see #26875.
git-svn-id: https://develop.svn.wordpress.org/trunk@27030 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-25 01:20:04 +00:00
Andrew Ozz
48d24f6bf5 Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.
git-svn-id: https://develop.svn.wordpress.org/trunk@27029 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-24 19:05:15 +00:00
Dominik Schilling (ocean90)
07bbb5cd1f Update to jQuery UI 1.10.4. fixes #26884.
git-svn-id: https://develop.svn.wordpress.org/trunk@27028 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-24 17:43:40 +00:00
Dominik Schilling (ocean90)
cad7870533 Update to jQuery 1.11.0. fixes #26926.
git-svn-id: https://develop.svn.wordpress.org/trunk@27027 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-24 17:39:35 +00:00
Andrew Nacin
7bb628ec3b Docs fix: edit_comment_link() doesn't actually return anything.
props Corphi.
fixes #26436.


git-svn-id: https://develop.svn.wordpress.org/trunk@27026 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-24 07:16:37 +00:00
Andrew Nacin
f70f020c54 Properly detect line height of Quick Draft textarea.
props batmoo.
fixes #26915 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@27021 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-23 18:02:06 +00:00
Sergey Biryukov
18da726943 Fix typo in CSS. props ciantic, MikeHansenMe. fixes #26898.
git-svn-id: https://develop.svn.wordpress.org/trunk@27020 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-23 12:21:11 +00:00
Scott Taylor
956aa1c8ab Fix imperceptible whitespace cruff from [27017].
git-svn-id: https://develop.svn.wordpress.org/trunk@27018 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 22:34:49 +00:00
Scott Taylor
4725e85857 Fix a bit of whitespace from [27016].
git-svn-id: https://develop.svn.wordpress.org/trunk@27017 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 22:33:28 +00:00
Scott Taylor
300cb7451e Let is_attachment() accept an $attachment parameter, similar to is_page() and is_single(). Adds Unit Tests for all 3.
Props alex-ye for the initial patch.
Fixes #24257.



git-svn-id: https://develop.svn.wordpress.org/trunk@27016 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 22:30:36 +00:00
Andrew Ozz
b29b5b21e4 Autosave: don't set "submit" buttons to disabled right before submitting the form. They are not sent with the form data, see #25272.
git-svn-id: https://develop.svn.wordpress.org/trunk@27015 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 21:25:05 +00:00
Andrew Nacin
b663efb313 Themes screen: Add aria-describedby attributes to provide better information to screen readers.
props joedolson for initial patch.
fixes #26602 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@27012 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 20:59:29 +00:00
Andrew Ozz
92d2f34d4f Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27011 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 20:07:16 +00:00
Andrew Nacin
0b5a18c519 Themes screen: Various IE8 adjustments and fixes.
props morganestes, matveb.
fixes #26541.


git-svn-id: https://develop.svn.wordpress.org/trunk@27007 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 18:53:34 +00:00
Matt Thomas
eac3ccc29a Responsive improvements to submenus in the adminbar:
- Remove .ab-sub-wrapper rules in the 782px media query, as they're duplicates of the rules set on line 161.
- Reposition the arrows for submenus at responsive sizes where the menus are taller.
- Set the submenu position to static at smartphone sizes, so it's not positioned outside of its parent (and thus offscreen).

Fixes #26720, props undergroundnetwork, iammattthomas.




git-svn-id: https://develop.svn.wordpress.org/trunk@27006 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 18:37:42 +00:00
Scott Taylor
36346f9c51 Add inline docs to each method of the namespaced objects in media-editor.js, explaining what each does. Add inline docs to params as well.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@27005 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 18:37:08 +00:00
Andrew Ozz
5aa4902c7d TinyMCE: fix initializing TinyMCE when the default editor in getUserSetting() is overridden from PHP by using the 'wp_default_editor' filter. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@27004 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 18:16:39 +00:00
azaozz
db64b3d951 Autosave: don't disable the buttons on previewing a post, see #25272.
git-svn-id: https://develop.svn.wordpress.org/trunk@27003 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 17:57:13 +00:00
wonderboymusic
ba1c9e0c22 Add the @namespace annotation where appropriate in media-editor.js. Also indicate the default value of a few params via the [options={}] syntax.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@27000 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 17:16:56 +00:00
nacin
ce00f36ab7 Dashboard widgets: Don't link to Pages or Posts for Authors or Contributors respectively.
props mattheu.
see #26574 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@26999 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 16:51:07 +00:00
Nikolay Bachiyski
46bdc2c312 Excplitcly globalized call to $wp later in wp-settings.php
Props xknown, fixes #26867.


git-svn-id: https://develop.svn.wordpress.org/trunk@26997 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 14:47:58 +00:00
Nikolay Bachiyski
5eba2a13d8 Explicitly globalize some missing query globals in wp-settings.php
When WordPress is loaded in a function (e.g. unit tests) the variables initialized at the top level aren't globals, but we expect them to be.

Fixes #26867


git-svn-id: https://develop.svn.wordpress.org/trunk@26996 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 08:24:50 +00:00
Andrew Ozz
9aba880b53 Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272.
git-svn-id: https://develop.svn.wordpress.org/trunk@26995 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 04:55:37 +00:00
Andrew Ozz
df613abbec TinyMCE: fix error trying to translate non-existent button "title" in the compat3x plugin. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26994 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 02:28:13 +00:00
Matt Thomas
275d589503 Eliminate the 1px padding adjustment on active buttons because it creates an un-clickable dead zone 1px high and spanning the entire width of the button. Modify the background color of active buttons for better contrast to make the active state more obvious.
See #26700, props johnbillion.



git-svn-id: https://develop.svn.wordpress.org/trunk@26993 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-21 21:26:31 +00:00
Scott Taylor
2f60bcab82 Make some @param types more specific in media-models.js.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26991 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-21 17:36:24 +00:00
Scott Taylor
5a1a2e872e Remove debug cruft.
Props nacin.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26990 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-21 16:30:57 +00:00
Scott Taylor
de01111ae7 Disambiguate this and use the @this annotation in media-editor.js. This will become way more necessary in other places, but a few examples here show how confusing it can be.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26989 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-21 16:29:30 +00:00
Scott Taylor
5c0a09ce40 Correct a type.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26988 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-21 15:56:49 +00:00
Scott Taylor
9ad06a2956 Elaborate on JSDoc blocks for media-editor.js.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26987 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-21 15:54:27 +00:00
Scott Taylor
1d3061effc Add initial JSDoc blocks to media-views.js. The initial blocks are a baseline to work from and invite future iterations. Initial commit is to avoid commits this large in the future.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26986 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-20 23:41:42 +00:00
Scott Taylor
896e71271e Add initial JSDoc blocks to media-models.js. The initial blocks are a baseline to work from and invite future iterations. Initial commit is to avoid commits this large in the future.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26985 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-20 23:39:44 +00:00
Scott Taylor
673c615d87 Add initial JSDoc blocks to media-editor.js. The initial blocks are a baseline to work from and invite future iterations. Initial commit is to avoid commits this large in the future.
See #26870.



git-svn-id: https://develop.svn.wordpress.org/trunk@26984 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-20 23:34:57 +00:00
Andrew Ozz
1bc97d1fe4 TinyMCE: add a custom jQuery event 'tinymce-editor-init' triggered on initialization of every editor instance. This makes it a lot more convenient to hook into the instance compared to the init.setup callback. See #24067, see #26872.
git-svn-id: https://develop.svn.wordpress.org/trunk@26983 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-19 23:21:07 +00:00
Andrew Ozz
ae49162491 TinyMCE: fix 3.x callbacks added with init.setup as they run before the compat3x plugin is loaded. Ideally this will be fixed internally in TinyMCE, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26982 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-18 22:19:07 +00:00
Drew Jaynes
f2d4a6aa36 Hook docs spacing and standards fixes for wp-admin/includes/ajax-actions.php.
See #25374.


git-svn-id: https://develop.svn.wordpress.org/trunk@26981 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-18 17:05:38 +00:00
Drew Jaynes
f1bfee89f9 Use a docs-specific variable for the link_category hook docs in wp-admin/bookmarks-template.php.
See #25364.


git-svn-id: https://develop.svn.wordpress.org/trunk@26980 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-18 16:58:01 +00:00
Andrew Ozz
89a63c8f43 TinyMCE: set the 'add_unload_trigger' option to false for the main editor. Prevents DOM problems in Firefox when reloading the page, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26979 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 20:34:12 +00:00
Andrew Nacin
d0bb9e8f86 Ensure that SSL YouTube URLs receive SSL embeds.
props adamsilverstein, Otto42, JayCC.
fixes #23149.


git-svn-id: https://develop.svn.wordpress.org/trunk@26978 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 19:45:51 +00:00
Andrew Nacin
5d8627f6c9 Use the_title_attribute() in feed_links_extra(), rather than get_the_title().
props c3mdigital.
fixes #15046.


git-svn-id: https://develop.svn.wordpress.org/trunk@26975 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 09:52:05 +00:00
Andrew Nacin
5cb20092ce make_clickable: When cleaning up accidental links within links, account for the tag being split by newlines.
props dd32.
fixes #19028.


git-svn-id: https://develop.svn.wordpress.org/trunk@26974 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 09:31:59 +00:00
Andrew Nacin
67d1c9fd6d Add dfn, mark, and samp to kses.
props kraftbj.
fixes #24950.


git-svn-id: https://develop.svn.wordpress.org/trunk@26973 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 08:37:53 +00:00
Andrew Nacin
9f5c78b676 Unit tests for get_url_in_content(). Return false when no content is passed, to match the return value of no links being found.
props mdbitz.
#26171.


git-svn-id: https://develop.svn.wordpress.org/trunk@26972 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 07:46:33 +00:00
Andrew Nacin
238f9d2b0a Add a contrasting border to admin feature pointers.
props iammattthomas.
see #26689.


git-svn-id: https://develop.svn.wordpress.org/trunk@26970 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 03:48:50 +00:00
Andrew Nacin
e1aeeacc43 Realign the oEmbed providers. see #26844.
git-svn-id: https://develop.svn.wordpress.org/trunk@26968 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 03:28:30 +00:00
Andrew Nacin
015b1398ca Switch Twitter oEmbed to SSL due to a Twitter API change. Ah, the open web.
props yurivictor, cojennin.
see #26844.


git-svn-id: https://develop.svn.wordpress.org/trunk@26967 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 03:25:29 +00:00
Andrew Ozz
32b9c649cf DFW: fix reference to off() when pressing Esc. Props kovshenin, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26966 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 00:12:21 +00:00
Andrew Ozz
5c1fe4033f Widgets: fix scaling of extra-wide widgets on 480px and 320px devices, fixes #26701 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26963 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-16 21:55:29 +00:00
Matt Thomas
fc4c73feab The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content. Fixes #26618, props SergeyBiryukov, nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26961 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-16 20:33:45 +00:00
Andrew Nacin
d375be7148 Don't let Quick Draft ignore default comment_status and ping_status.
props kovshenin.
fixes #26722.


git-svn-id: https://develop.svn.wordpress.org/trunk@26959 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-16 20:23:21 +00:00
Andrew Ozz
57a26d2e31 TinyMCE: remove the 'spellchecker' plugin. It has been disabled for a while and the back-end currently doesn't work. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26958 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-15 19:06:26 +00:00
Andrew Nacin
b119e5ff37 RTL: Flip half-star star ratings.
props SergeyBiryukov.
fixes #26814.


git-svn-id: https://develop.svn.wordpress.org/trunk@26952 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-15 08:18:59 +00:00
Andrew Ozz
de5ad05a48 TinyMCE: fix send_to_editor(). It no longer needs to replace shortcode strings with html placeholers before inserting them in the editor. This is handled properly by the editor's 'BeforeSetContent' event callbacks. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26945 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 23:34:23 +00:00
Sergey Biryukov
3a1b1ba755 Remove unnecessary sprintf(). props jdgrimes. fixes #25489.
git-svn-id: https://develop.svn.wordpress.org/trunk@26943 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 11:17:10 +00:00
Andrew Ozz
e18603ce49 TinyMCE: add/remove the 'alignnone' class when aligning images without captions. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26942 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 05:51:41 +00:00
Andrew Ozz
76508ede28 TinyMCE: improve handling of Read More and Nextpage tags. See #24067, fixes #16239.
git-svn-id: https://develop.svn.wordpress.org/trunk@26941 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 05:45:53 +00:00
Andrew Nacin
8cbbc29e8a Fix alignment and borders of plugin/theme updates on the Updates screen.
props morganestes, ocean90.
see #26699, for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@26935 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-13 15:59:23 +00:00
Andrew Ozz
1e3460cea3 TinyMCE: re-enable soft resizing of images inside the editor. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26934 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-13 01:12:20 +00:00
Andrew Ozz
a6742e996a Deprecate rich_edit_exists(). It doesn't make sense to support deleting the TinyMCE directory when we have auto-updates. Fixes #26786.
git-svn-id: https://develop.svn.wordpress.org/trunk@26933 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-13 00:00:00 +00:00
Sergey Biryukov
0938ef0815 Avoid a fatal error in wp_reset_postdata() if $wp_query global is not set.
see #26775 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26932 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-11 23:56:43 +00:00
Drew Jaynes
0e6a9edaec Update the wp-inclues/vars.php file header to include Nginx as a recognized web server.
Props netweb for the initial patch. Props markjaquith.
Fixes #26249.


git-svn-id: https://develop.svn.wordpress.org/trunk@26931 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-10 18:14:20 +00:00
Andrew Ozz
5e58643c03 TinyMCE: update compat3x.min.js and bump $tinymce_version. See #24067, fixes #26750.
git-svn-id: https://develop.svn.wordpress.org/trunk@26930 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-10 00:51:03 +00:00
Helen Hou-Sandi
dfb50ed291 Move media modal colors out of colors.css and into media-views.css, as the modal can be triggered on the front end. props avryl, props collinsinternet for the initial patch. see #26677 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26929 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-09 16:35:22 +00:00
Helen Hou-Sandi
50ee8bdd4a Break long words in Quick Draft content to prevent ugly overflow, as was previously done. props aubreypwd, SergeyBiryukov. see #26658 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26928 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-09 04:00:29 +00:00
Dion Hulse
3428afee5a Uploads: Fix the Order of Operations for wp_mkdir_p() which caused this branch to never be hit. Props fboender. Fixes #26781 for trunk. See #25822
git-svn-id: https://develop.svn.wordpress.org/trunk@26926 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 23:12:37 +00:00
Dominik Schilling (ocean90)
69848ed0b9 Dashicons: Update to the latest dashicons files.
props empireoflight, melchoyce.
see #26518 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26925 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 22:25:35 +00:00
Helen Hou-Sandi
7fc9941d2a Pass the $user_id to the admin_color_scheme_picker hook for context. props nacin. see #26607 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26924 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:48:32 +00:00
Dominik Schilling (ocean90)
3a07d0292c Fix another CSS clashing on the Network Themes page.
props SergeyBiryukov.
see #26513 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26923 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:35:22 +00:00
Andrew Nacin
972b6ef466 Keyboard navigation friendliness for themes.php.
props matveb, azaozz, jorbin.
see #26527.


git-svn-id: https://develop.svn.wordpress.org/trunk@26922 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:34:03 +00:00
Andrew Nacin
5447a6ab72 Themes: Search the theme's slug too.
props matveb.
see #26730 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@26921 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:28:15 +00:00
Andrew Nacin
586b882437 Adjust widths of toolbar items at mobile sizes for better fitting on narrow screens. Fixes toolbar wrapping when using multisite.
props iammattthomas.
see #26537 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@26920 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:23:18 +00:00
Andrew Nacin
a8e1a52ca9 Fix CSS clashing on the Network Themes page.
props SergeyBiryukov.
see #26517 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@26919 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:21:39 +00:00
Drew Jaynes
3086f189cc Inline documentation for hooks in wp-admin/includes/meta-boxes.php.
Props SpencerFinnell for the initial patch.
Fixes #26092.


git-svn-id: https://develop.svn.wordpress.org/trunk@26918 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 04:06:01 +00:00
Drew Jaynes
f2156f69d3 Inline documentation for hooks in wp-admin/media-upload.php.
Props piontkowski for the initial patch.
Fixes #26075.


git-svn-id: https://develop.svn.wordpress.org/trunk@26917 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 03:59:22 +00:00
Drew Jaynes
95f756e4fc Inline documentation for hooks in wp-admin/includes/class-wp-media-list-table.php.
Props theorboman for the initial patch. Props kpdesign.
Fixes #25839.


git-svn-id: https://develop.svn.wordpress.org/trunk@26916 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 03:52:47 +00:00
John Blackbourn
9bd9f00257 Inline documentation for core shortcode attributes.
Props DrewAPicture, johnbillion.
Fixes #25661.


git-svn-id: https://develop.svn.wordpress.org/trunk@26915 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 16:06:48 +00:00
Drew Jaynes
4853f99a2a Inline documentation for hooks in wp-admin/network/upgrade.php.
Props miyauchi for the initial patch.
Fixes #25881.


git-svn-id: https://develop.svn.wordpress.org/trunk@26914 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 04:22:14 +00:00
Drew Jaynes
dc8b571bfb Inline documentation for hooks in wp-admin/network/admin.php.
Props Hanni.
Fixes #26216.


git-svn-id: https://develop.svn.wordpress.org/trunk@26913 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 04:04:18 +00:00
Drew Jaynes
707e91c1e8 Add inline documentation for the 'show_admin_column' argument added to register_taxonomy() in 3.5.
Also adds a 'show_admin_column' value to the defaults array.

Props johnbillion.
Fixes #26707.


git-svn-id: https://develop.svn.wordpress.org/trunk@26912 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 02:12:03 +00:00
Drew Jaynes
2fc50487ea Improve inline documentation for add_post_type_support().
Props philiparthurmoore.
Fixes #26683.


git-svn-id: https://develop.svn.wordpress.org/trunk@26911 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-07 02:04:16 +00:00
Drew Jaynes
00f318650d Inline documentation for hooks in wp-admin/includes/media.php.
Props kpdesign, DrewAPicture.
Fixes #25375.


git-svn-id: https://develop.svn.wordpress.org/trunk@26908 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-06 05:47:51 +00:00
Drew Jaynes
ec71eefa59 Fix a copy/paste error in the 'show_user_profile' hook description in wp-admin/user-edit.php.
Props neoxx.
Fixes #26597.


git-svn-id: https://develop.svn.wordpress.org/trunk@26907 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-05 18:57:43 +00:00
Drew Jaynes
82f55e9838 Inline documentation improvements for get_*_template() functions in wp-includes/template.php.
* Adds `@see` references for `get_query_template()` or similar
* Adds complete `@return` descriptions
* Clarifies which dynamic hooks can be used to filter specific template types

Props UmeshSingla for the initial patches. Props SergeyBiryukov, DrewAPicture.
Fixes #26742.


git-svn-id: https://develop.svn.wordpress.org/trunk@26906 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-05 17:54:07 +00:00
Sergey Biryukov
18c545905b Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().
props janrenn.
fixes #26777 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26905 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-05 17:15:14 +00:00
Sergey Biryukov
b71b3231ce Correct 'found_users_query' filter description. see #25533.
git-svn-id: https://develop.svn.wordpress.org/trunk@26904 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 18:49:30 +00:00
Sergey Biryukov
5dae0e834a Correct @since values. see #26253.
git-svn-id: https://develop.svn.wordpress.org/trunk@26903 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 18:08:59 +00:00
Drew Jaynes
2959521871 Inline documentation for hooks in wp-includes/feed.php.
Props stevenkword, kpdesign, DrewAPicture.
Fixes #26253.


git-svn-id: https://develop.svn.wordpress.org/trunk@26902 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 06:21:14 +00:00
Drew Jaynes
38d078c7d2 Inline documentation for hooks in wp-includes/user.php.
Props stephenharris, kpdesign.
Fixes #25533.


git-svn-id: https://develop.svn.wordpress.org/trunk@26901 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 06:17:18 +00:00
Andrew Ozz
a18943fd1b TinyMCE: 'wpdialogs' plugin, don't add the (external) UI dialogs element to the internal windows array, fix .close(). See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26900 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-04 01:27:59 +00:00
Andrew Ozz
f6d42a08e9 TinyMCE: back-compat, refresh and re-enable the 'wpdialogs' plugin, and mark it as deprecated. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26899 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-03 02:33:00 +00:00
Andrew Ozz
9bf024f8f3 Thickbox is needed for the media modal back-compat. Are there plugins that still use this? Also needed for PressThis. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26898 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 22:49:00 +00:00
Andrew Ozz
1fb853d24a TinyMCE: add stub for the missing editor.controlManager to the compat3x plugin. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26897 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 07:02:52 +00:00
Andrew Ozz
17f36f016a DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26896 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 04:17:28 +00:00
Drew Jaynes
c06d7145bc Inline documentation for hooks in wp-admin/edit-tag-form.php.
Props nicolealleyinteractivecom, kpdesign.
Fixes #25448.


git-svn-id: https://develop.svn.wordpress.org/trunk@26895 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 04:01:12 +00:00
Drew Jaynes
9ad991985e Inline documentation for hooks in wp-admin/update-core.php.
Props JoshuaAbenazer, kpdesign.
Fixes #25991.


git-svn-id: https://develop.svn.wordpress.org/trunk@26894 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 03:06:36 +00:00
Drew Jaynes
74df859ebf Inline documentation for hooks in wp-admin/menu-header.php.
Props piontkowski, kpdesign.
Fixes #26051.


git-svn-id: https://develop.svn.wordpress.org/trunk@26893 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 02:45:29 +00:00
Drew Jaynes
ad6e9d6b7a Inline documentation for hooks in wp-includes/class-wp-customize-section.php.
Props leewillis77, kpdesign.
Fixes #26196.


git-svn-id: https://develop.svn.wordpress.org/trunk@26892 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 02:06:55 +00:00
Drew Jaynes
01a99608e0 Inline documentation for hooks in wp-includes/class-wp-theme.php.
Props richard2222, kpdesign.
Fixes #26217.


git-svn-id: https://develop.svn.wordpress.org/trunk@26891 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 01:53:29 +00:00
Andrew Ozz
b707874fa9 TinyMCE: add stubs for the missing tinymce.util.Cookie, windowManager.onOpen and windowManager.onClose to the compat3x plugin. See #24067, fixes #26750.
git-svn-id: https://develop.svn.wordpress.org/trunk@26890 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 01:06:58 +00:00
Andrew Ozz
608cd6de80 Comment moderation shortcuts:
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755.

git-svn-id: https://develop.svn.wordpress.org/trunk@26889 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 00:10:20 +00:00
Sergey Biryukov
ad92fab892 Force LTR direction for code and plugin/theme editors.
props SergeyBiryukov, nivijah.
fixes #26666 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26888 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 11:03:59 +00:00
Sergey Biryukov
15470535c3 Fix incorrect -mox prefixes in CSS.
props morganestes.
fixes #26702 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26887 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:52:42 +00:00
Sergey Biryukov
6f00e4be7e Remove invalid min-width property.
props jorbin.
fixes #26563 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26886 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:47:51 +00:00
Sergey Biryukov
d0b542ffac Add missing id attribute to "Search Installed Themes" input.
fixes #26599 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26885 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:43:39 +00:00
Sergey Biryukov
0b3022708b Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.
props Rarst.
fixes #26617 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@26884 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:32:18 +00:00
Sergey Biryukov
9dae1af97c Make sure "UPDATE LOG" in debug emails matches the underlining when translated.
fixes #26621.

git-svn-id: https://develop.svn.wordpress.org/trunk@26883 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:26:37 +00:00
Andrew Ozz
83509b3969 TinyMCE:
- Fix removing leftovers from broken captions.
- Better filter for line breaks and <br> tags when editing captions.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26882 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 03:09:34 +00:00
Andrew Ozz
6409324446 Set wpActiveEditor as soon as any editor associated button is clicked, including Add Media, switching Text to Visual, etc. Fixes #26747.
git-svn-id: https://develop.svn.wordpress.org/trunk@26881 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-30 19:16:49 +00:00
Andrew Ozz
c37a101100 TinyMCE:
- Fix toolbar icons in IE9.
- Remove background gradients in IE < 10.
- Lint our plugins.
- Add draggable attribute to the caption wrapper and make the captioned images non-draggable in Chrome.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26880 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-30 01:53:25 +00:00
Sergey Biryukov
2f8c1ccffc Update the readme to 3.9. props kworthington. fixes #26739.
git-svn-id: https://develop.svn.wordpress.org/trunk@26879 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 08:22:08 +00:00
Sergey Biryukov
71954e1f44 Always show Background Image section heading and the opening table tag on Custom Background screen, to make in consistent with Custom Header and avoid broken markup.
props obenland.
fixes #26731.

git-svn-id: https://develop.svn.wordpress.org/trunk@26878 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 08:05:50 +00:00
Andrew Ozz
401a3d8f47 Bump the TinyMCE version, see #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26877 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-29 04:21:04 +00:00
Andrew Ozz
14ace125ee TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.

git-svn-id: https://develop.svn.wordpress.org/trunk@26876 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-28 23:52:04 +00:00
Scott Taylor
f8338aa3c3 In WP_Query::get_queried_object(), move the check for $query['terms'] to a place where $query is actually set. This should be included if [26864] makes it into 3.8.1.
Props SergeyBiryukov.
See #26728, [26864], #26634, #26627.




git-svn-id: https://develop.svn.wordpress.org/trunk@26874 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 19:29:39 +00:00
Andrew Nacin
51756ce0e1 Always do an HTTP request on credits.php when running a development version of WordPress.
fixes #26727.


git-svn-id: https://develop.svn.wordpress.org/trunk@26872 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-27 15:11:19 +00:00
Sergey Biryukov
329672c70d Being consistent is the gist, no single @since should have been missed.
see #26713.

git-svn-id: https://develop.svn.wordpress.org/trunk@26869 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-25 01:59:22 +00:00
Drew Jaynes
bd39e26032 First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713.


git-svn-id: https://develop.svn.wordpress.org/trunk@26868 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 18:56:05 +00:00
Drew Jaynes
e119b7e3df Remove some @uses references to apply_filters and do_action rendered redundant by hook documentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@26867 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 16:42:54 +00:00
Sergey Biryukov
ef8e214888 Add comments for temporary hooks. see #26661.
git-svn-id: https://develop.svn.wordpress.org/trunk@26866 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-23 00:47:59 +00:00
Sergey Biryukov
27352b4e86 Add temporary hooks for the widgets feature team to wp_widget_control().
props westonruter.
see #26661.

git-svn-id: https://develop.svn.wordpress.org/trunk@26865 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-23 00:44:33 +00:00
Scott Taylor
5cb2ad494e Fix a regression for get_queried_object() by checking for category_name when cat isn't set - mainly is_category() being true for Uncategorized or when queried object is accessed in pre_get_posts. Also check for $query['terms'] when trying to assign a term as the queried object when is_tax() is true. Adds a unit test. See [26007] for how I originally broke this while fixing a bigger issue.
Props Chouby, jeremyfelt.
Fixes #26634, #26627.



git-svn-id: https://develop.svn.wordpress.org/trunk@26864 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-22 18:30:09 +00:00
Drew Jaynes
9321ee7f29 Inline documentation for hooks in wp-includes/feed-atom-comments.php.
Props dustyf, piontkowski, kpdesign.
Fixes #26532.


git-svn-id: https://develop.svn.wordpress.org/trunk@26863 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-21 20:21:20 +00:00
Andrew Nacin
1def33b2bb Twenty Fourteen POT update.
git-svn-id: https://develop.svn.wordpress.org/trunk@26860 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-12 05:30:54 +00:00
Andrew Nacin
a624005b8d Trunk is now 3.9 alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@26857 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 23:13:25 +00:00
Andrew Nacin
ff215b1af8 Don't use a JS reserved word in a Backbone template, this breaks IE8.
props ocean90.
fixes #26539.


git-svn-id: https://develop.svn.wordpress.org/trunk@26853 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 22:48:03 +00:00
Matt Mullenweg
18dbb16a33 We forgot the text domain, which made translation break. Fixes #26542.
Props SergeyBiryukov and pavelevap


git-svn-id: https://develop.svn.wordpress.org/trunk@26852 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 22:47:35 +00:00
Ryan Boren
cfd5c395bb The Pinking Shears stir from their slumber, awakened by what may seem, to those
innocent in the ways of The Shears, a triviality, a nothing-of-consequence. But there are consequences indeed for recklessly trailing your whitespace. Naturally, they a dire!

One, two! One, two! And through and through
The Pinking Shears went snicker-snack!
They plucked your tail and with your space
They went sniksnuking back.

Let me tell you, that can be uncomfortable, so always pre-sniksnuk your trailing whites. May The Shears be with you.


git-svn-id: https://develop.svn.wordpress.org/trunk@26851 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 19:48:29 +00:00
Andrew Nacin
8b8ea7d844 Fix typos in Twenty Fourteen description.
props jeffr0.
fixes #26528.


git-svn-id: https://develop.svn.wordpress.org/trunk@26850 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:55:39 +00:00
Andrew Nacin
5e6a6ab077 Bump Twenty Fourteen to 1.0.
props lancewillett.
fixes #26522.


git-svn-id: https://develop.svn.wordpress.org/trunk@26849 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:42:06 +00:00
Andrew Nacin
15ebbbc423 Script handles of false are properly treated as meta groups. true does not work.
props SergeyBiryukov.
fixes #26525.


git-svn-id: https://develop.svn.wordpress.org/trunk@26848 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:41:23 +00:00
Andrew Nacin
66be19a0ed Suppress admin notices on the about page.
Brings back [19393], accidentally reverted in [26718].

props ocean90.
fixes #26519.


git-svn-id: https://develop.svn.wordpress.org/trunk@26847 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:38:52 +00:00
Andrew Nacin
9b0a9b9cee On update, delete files removed in 3.8.
props JPry.
fixes #26535.


git-svn-id: https://develop.svn.wordpress.org/trunk@26846 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:37:35 +00:00
Andrew Nacin
3c8de9432f Use the WP.org CDN for About page images. fixes #26534.
git-svn-id: https://develop.svn.wordpress.org/trunk@26845 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:32:28 +00:00
Andrew Nacin
8fd9bc208c 3.8-RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@26844 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:38:43 +00:00
Lance Willett
3d049d6968 Twenty Fourteen: match screen-reader-text accessibility styles a bit better with core, to avoid a jump when you move through the links, and to avoid a horizontal scroll at certain viewport widths. Also fix JS focus by specifying the first match object. Closes #25592.
git-svn-id: https://develop.svn.wordpress.org/trunk@26843 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:38:00 +00:00
Lance Willett
692d3262c1 Twenty Fourteen: remove extra space before a word, props ocean90. See #26437.
git-svn-id: https://develop.svn.wordpress.org/trunk@26842 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:28:08 +00:00
Matt Thomas
496e8ed33e Return container shadows to 1px blur as they were pre- r26293. This is a better match for the 1px shadow we use on buttons and screen options. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26841 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:20:37 +00:00
Matt Thomas
9690f2119c Adjust the border-color and box-shadow on container elements to match the new f1f1f1 background-color. See #25858, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26840 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:51:09 +00:00
Andrew Ozz
f88a7f2a42 Themes: set maximum width for overlay view, props matveb, fixes #26507.
git-svn-id: https://develop.svn.wordpress.org/trunk@26839 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:50:49 +00:00
Andrew Ozz
8f581ae3dc Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481.
git-svn-id: https://develop.svn.wordpress.org/trunk@26838 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:37:36 +00:00
Matt Thomas
56b3d7ff10 Slightly darkening the page backcground to f1f1f1 for better contrast with white interface elements on top of it. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26837 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:27:19 +00:00
Matt Thomas
5db17ddf5d In Press This, extend the sidebar for ru_RU. Fixes #26508, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26836 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:22:28 +00:00
Matt Thomas
7aa76b7390 Increase the height of the Add Photos box in Press This to prevent unnecessary scrolling. Fixes #26506, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26835 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:15:24 +00:00
Matt Thomas
fc676240c9 Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26834 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:13:56 +00:00
Matt Thomas
1bc3fe3a25 Add line height to #commentstatusdiv p so that its checkboxes get some padding between them at responsive sizes. Fixes #26499, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26833 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:11:36 +00:00
Andrew Nacin
6c96d3e787 Introduce dashboard_glance_items filter which replaces 3.7 right_now_* hooks that were tied to table markup.
fixes #26495.


git-svn-id: https://develop.svn.wordpress.org/trunk@26832 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:11:23 +00:00
Lance Willett
47d7a18739 Twenty Fourteen: fix breakpoint at 782 pixels wide to exactly match WordPress toolbar breakpoint. Props jjj, fixes #26501.
git-svn-id: https://develop.svn.wordpress.org/trunk@26831 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:10:36 +00:00
Matt Thomas
3aa85a6524 Eliminate the padding on #titlediv #title to prevent characters with descenders getting cropped in some browsers. Fixes #26509, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26830 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:08:37 +00:00
Andrew Nacin
9d4bf2730f Final text adjustments to the 3.8 About page. Also:
* Offload screenshots to WP.org, as we had done in 3.6.
 * Offer strings for translation.
 
props markjaquith, nacin.
fixes #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26829 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:08:05 +00:00
Andrew Nacin
f400984fec Fix typo in help string. props kpdesign. fixes #25688.
git-svn-id: https://develop.svn.wordpress.org/trunk@26828 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 15:37:55 +00:00
Andrew Nacin
0fff0660b4 Themes: use explicit 'search installed themes' label and placeholder.
fixes #26496.


git-svn-id: https://develop.svn.wordpress.org/trunk@26827 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 07:40:56 +00:00
Andrew Nacin
98824e94de Themes: Avoid a JS error in the keyup event handler when the overlay is not yet initialized.
fixes #26497.


git-svn-id: https://develop.svn.wordpress.org/trunk@26826 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 07:06:15 +00:00
Andrew Nacin
8a3b39e1a6 Tighten up the help documentation on the updates page, and add a section for updating translations. see #25688.
git-svn-id: https://develop.svn.wordpress.org/trunk@26825 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 06:46:59 +00:00
Matt Thomas
8e17a73114 Specify transition: none on plugin information dialog tabs to keep them from jump jumping around. Fixes #26498.
git-svn-id: https://develop.svn.wordpress.org/trunk@26824 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 06:30:33 +00:00
Matt Thomas
0d3b2f9925 Provide an SVG > PNG fallback for the WordPress logo on readme.html. See #26348.
git-svn-id: https://develop.svn.wordpress.org/trunk@26823 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 05:34:47 +00:00
Andrew Ozz
572e5bc710 Fix error in postbox.js attempting to change screen columns on mobile devices orientation changes, fixes #26493.
git-svn-id: https://develop.svn.wordpress.org/trunk@26822 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 04:20:26 +00:00
Helen Hou-Sandi
5b05610ade Remove many of the now-unused images in core. Some images have been left for now, notably our previous style icons, action indicators, and images that see a higher frequency of use in plugins to allow them more time to adapt to the new design. props ocean90, Ipstenu, coffee2code. fixes #26036.
git-svn-id: https://develop.svn.wordpress.org/trunk@26821 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 03:20:46 +00:00
Matt Thomas
40e9b4088d Add widgets page draggable/sortable items to -ms-touch-action rules for proper touch scrolling in IE 10 and 11.
git-svn-id: https://develop.svn.wordpress.org/trunk@26820 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:56:39 +00:00
Andrew Ozz
68f9e4db5e Make older mobile browsers and IE7 usable:
- Text labels in the toolbar.
- Image icons in the visual editor.
- Some IE7 structural css fixes.
Fixes #26369.

git-svn-id: https://develop.svn.wordpress.org/trunk@26819 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:40:32 +00:00
Matt Thomas
95ae118435 Updates screen Help page should explain the auto-update feature. Fixes #25688, props jenmylo, trepmal.
git-svn-id: https://develop.svn.wordpress.org/trunk@26818 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:36:08 +00:00
Matt Thomas
8cc927bbb4 Expand adminmenu from 150px to 160px, creating more room for pending comment counts and translated text. Fixes #25918, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26817 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:28:36 +00:00
Andrew Nacin
b3a432a7fb RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)
props yoavf.
fixes #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26816 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 01:30:08 +00:00
Andrew Nacin
e2c2f6a402 Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.
fixes #26481.


git-svn-id: https://develop.svn.wordpress.org/trunk@26815 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 01:26:26 +00:00
Andrew Nacin
098d6a8504 Avoid notices when default and light are not registered color schemes. see #26468.
git-svn-id: https://develop.svn.wordpress.org/trunk@26814 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:48:15 +00:00
Matt Thomas
9439bb7b4f Expand the Quick Draft section by default. Fixes #26463, props bassgang.
git-svn-id: https://develop.svn.wordpress.org/trunk@26813 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:42:56 +00:00
Matt Thomas
55f9e6b106 Change the site menu icon from a globe to home, which is a better metaphor for what it does. Fixes #25971.
git-svn-id: https://develop.svn.wordpress.org/trunk@26812 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:40:10 +00:00
Matt Thomas
82fe05b560 Ensure that plugins needing updates that aren't activated get their checkbox aligned properly. Fixes #26489, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26811 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:29:31 +00:00
Lance Willett
69de8d6659 Twenty Fourteen: minor spacing and CSS formatting fixes. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26810 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 23:10:36 +00:00
Matt Thomas
e7b15e43e2 Use $button-color for .action-button on plugin details thickbox. Fixes #26486, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26809 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 21:12:31 +00:00