Andrew Ozz
e6dd5fbf48
Svg-painter:
...
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333 .
Built from https://develop.svn.wordpress.org/trunk@26601
git-svn-id: http://core.svn.wordpress.org/trunk@26491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:13:11 +00:00
Andrew Nacin
618406d0e1
Declare dashicons dependency for wp-pointer.css and media-views.css.
...
props dd32.
see #26255 .
Built from https://develop.svn.wordpress.org/trunk@26596
git-svn-id: http://core.svn.wordpress.org/trunk@26486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 00:34:10 +00:00
Matt Thomas
82540b9648
Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299 .
...
Built from https://develop.svn.wordpress.org/trunk@26595
git-svn-id: http://core.svn.wordpress.org/trunk@26485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:53:10 +00:00
Andrew Nacin
9be4bd5720
Rename the new custom-background arguments passed to add_theme_support().
...
* background-position becomes default-position-x
* background-attachment becomes default-attachment
* background-repeat becomes default-repeat
These are in line with existing default-image and default-color arguments, and also makes the position argument unambiguous and forwards compatible.
fixes #20816 .
Built from https://develop.svn.wordpress.org/trunk@26594
git-svn-id: http://core.svn.wordpress.org/trunk@26484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:36:10 +00:00
Andrew Nacin
b04d321fb9
Allow wp_enqueue_media() to "just work" in a customizer control.
...
props westonruter.
fixes #25618 .
Built from https://develop.svn.wordpress.org/trunk@26589
git-svn-id: http://core.svn.wordpress.org/trunk@26479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:54:11 +00:00
Andrew Nacin
974625d962
wp_list_categories(): Add cat-item-none and cat-item-all classes to the none/all options.
...
props SergeyBiryukov.
fixes #24428 .
Built from https://develop.svn.wordpress.org/trunk@26588
git-svn-id: http://core.svn.wordpress.org/trunk@26478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:51:19 +00:00
Andrew Nacin
64ff23f8f8
Remove certain accents in the Danish language.
...
props tlamedia.
fixes #23907 .
Built from https://develop.svn.wordpress.org/trunk@26585
git-svn-id: http://core.svn.wordpress.org/trunk@26475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:39:09 +00:00
Matt Thomas
d64d9058c1
Changes to the mobile adminbar:
...
- Unhide the Edit link
- Hide the W menu link
- Hide the Updates link
This ensures that Network (when available), Site, Edit, Comments, New, and Account are always visible. Fixes #26071 .
Built from https://develop.svn.wordpress.org/trunk@26575
git-svn-id: http://core.svn.wordpress.org/trunk@26466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:38:10 +00:00
Andrew Nacin
dd465838e6
Rename colors-fresh.css to colors.css. fixes #26137 .
...
Built from https://develop.svn.wordpress.org/trunk@26570
git-svn-id: http://core.svn.wordpress.org/trunk@26461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:16:11 +00:00
Matt Thomas
32f55716df
Give the adminbar Edit Post link an icon, and make it visible on small screen responsive states. See #26071 .
...
Built from https://develop.svn.wordpress.org/trunk@26559
git-svn-id: http://core.svn.wordpress.org/trunk@26450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:25:10 +00:00
Andrew Nacin
98215089b9
Revert [26050], stop trying to balance open HTML tags across nextpage and more tags for now.
...
see #6297 .
Built from https://develop.svn.wordpress.org/trunk@26557
git-svn-id: http://core.svn.wordpress.org/trunk@26448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:08:10 +00:00
Andrew Ozz
b88583c567
Quicktags: fix int/string strict comparison, see #26046 .
...
Built from https://develop.svn.wordpress.org/trunk@26553
git-svn-id: http://core.svn.wordpress.org/trunk@26444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 04:21:09 +00:00
Andrew Ozz
0f20e57329
Heartbeat:
...
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073 .
Built from https://develop.svn.wordpress.org/trunk@26549
git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Dominik Schilling
a6cabe9f6d
Customizer: Don't trigger a change event if two unchanged object values are equal.
...
In JavaScript: `{"title":"Foo"} !== {"title":"Foo"}`
Underscore.js provides an isEqual function to compare two values to see if they have the same contents, which can be use instead.
Because only one function of Underscore.js is needed we just add a copy of `_.isEqual` to customize-base.js.
props westonruter.
fixes #26061 .
Built from https://develop.svn.wordpress.org/trunk@26548
git-svn-id: http://core.svn.wordpress.org/trunk@26440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:08:09 +00:00
Andrew Nacin
492dfca8ab
Add dashicons CSS classes for easy access by plugins and themes.
...
props dd32.
fixes #26227 .
Built from https://develop.svn.wordpress.org/trunk@26547
git-svn-id: http://core.svn.wordpress.org/trunk@26439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:18:10 +00:00
Andrew Nacin
804be8b332
Be specific in term_exists error messages in wp_insert_term() as to what already exists (name, or name and slug).
...
props ericmann, SergeyBiryukov.
fixes #15741 .
Built from https://develop.svn.wordpress.org/trunk@26544
git-svn-id: http://core.svn.wordpress.org/trunk@26436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:06:11 +00:00
Andrew Nacin
6fa4ce2284
Return false from wp_delete_post() and wp_delete_attachment() if the DELETE is unsuccessful.
...
This prevents attachments from being deleted off disk when a DB is locked and the delete is otherwise unsuccessful.
fixes #25107 .
Built from https://develop.svn.wordpress.org/trunk@26543
git-svn-id: http://core.svn.wordpress.org/trunk@26435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 22:59:10 +00:00
Andrew Nacin
67c504cf23
Customizer: Ensure we have a string that's JSON parseable.
...
props mattwiebe.
fixes #postmessage-check.diff.
Built from https://develop.svn.wordpress.org/trunk@26542
git-svn-id: http://core.svn.wordpress.org/trunk@26434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 22:49:09 +00:00
Drew Jaynes
e2a921a6ed
Inline documentation for hooks in wp-includes/ms-functions.php.
...
Props ShinichiN, ericlewis, rzen.
Fixes #25598 .
Built from https://develop.svn.wordpress.org/trunk@26538
git-svn-id: http://core.svn.wordpress.org/trunk@26430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:45:10 +00:00
Matt Thomas
56a97bdc01
Add basic responsive styles for button-small and button-large, override responsive button-large styles when used in the .interim-login iframe. Fixes #26363 .
...
Built from https://develop.svn.wordpress.org/trunk@26533
git-svn-id: http://core.svn.wordpress.org/trunk@26426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:26:09 +00:00
Andrew Ozz
e31c68f9d2
Heartbeat: update wp-auth-check to use the new "connectNow()" method after a successful login, see #25073 .
...
Built from https://develop.svn.wordpress.org/trunk@26530
git-svn-id: http://core.svn.wordpress.org/trunk@26423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:47:09 +00:00
Matt Thomas
8d6aa0ab25
Updating .wp-dialog styling to match the new admin design. Fixes #26328 , props SergeyBiryukov, Ocean90.
...
Built from https://develop.svn.wordpress.org/trunk@26528
git-svn-id: http://core.svn.wordpress.org/trunk@26421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:59:10 +00:00
Scott Taylor
e86b10131b
Add a wp-video
class to the div
that wraps video shortcode output. It was previously hard to target.
...
Props nofearinc.
Fixes #25896 .
Built from https://develop.svn.wordpress.org/trunk@26526
git-svn-id: http://core.svn.wordpress.org/trunk@26419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 16:32:10 +00:00
Andrew Nacin
ba55e433a4
Revert [26012] for now, which had fixed using paged
with offset
in WP_Query but introduced side effects for those working around it.
...
see #18897 .
Built from https://develop.svn.wordpress.org/trunk@26525
git-svn-id: http://core.svn.wordpress.org/trunk@26418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 16:26:10 +00:00
Scott Taylor
fc7a7b8972
When WP_DEBUG
is set to true
, suppress deprecated errors from firing when calling mysql_connect()
, which is officially deprecated in PHP 5.5. We will remove this shameful code as soon as is humanly possible.
...
Props wonderboymusic. Extra love to tierra and nacin.
Fixes #26322 .
Built from https://develop.svn.wordpress.org/trunk@26512
git-svn-id: http://core.svn.wordpress.org/trunk@26405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:09:10 +00:00
Scott Taylor
ff6233b9c5
Fix lingering reference problem in wp_get_object_terms()
by not setting the foreach
'd vars to a reference. Adds unit test.
...
Props stephenharris.
Fixes #26339 .
Built from https://develop.svn.wordpress.org/trunk@26510
git-svn-id: http://core.svn.wordpress.org/trunk@26404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:00:10 +00:00
Andrew Ozz
db074f8e65
Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244 .
...
Built from https://develop.svn.wordpress.org/trunk@26505
git-svn-id: http://core.svn.wordpress.org/trunk@26399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 18:29:09 +00:00
Drew Jaynes
9e05dcc39b
Inline documentation for hooks in wp-includes/ms-blogs.php.
...
Props miyauchi, kpdesign.
Fixes #25596 .
Built from https://develop.svn.wordpress.org/trunk@26502
git-svn-id: http://core.svn.wordpress.org/trunk@26396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:32:10 +00:00
Drew Jaynes
27edadb0fd
Inline documentation for hooks in wp-includes/theme.php.
...
Props ShinichiN.
Fixes #25588 .
Built from https://develop.svn.wordpress.org/trunk@26501
git-svn-id: http://core.svn.wordpress.org/trunk@26395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:24:11 +00:00
Sergey Biryukov
928d7679b3
Fix strict notices in Tests_POMO_PO.
...
props markoheijnen for initial patch.
fixes #25631 .
Built from https://develop.svn.wordpress.org/trunk@26500
git-svn-id: http://core.svn.wordpress.org/trunk@26394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 12:48:10 +00:00
Dion Hulse
8aadb3f31e
Add the proper padding-top for button's active states in small screens. Fixes #26346
...
Built from https://develop.svn.wordpress.org/trunk@26497
git-svn-id: http://core.svn.wordpress.org/trunk@26391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:42:10 +00:00
Drew Jaynes
ee8aa9ee4c
Inline documentation for hooks in wp-admin/user-new.php & wp-admin/user-edit.php.
...
Also fixes one parameter type in wp-includes/user.php.
Fixes #25726 .
Built from https://develop.svn.wordpress.org/trunk@26493
git-svn-id: http://core.svn.wordpress.org/trunk@26387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:35:10 +00:00
Sergey Biryukov
16373e224d
Correct @since values. see #25522 .
...
Built from https://develop.svn.wordpress.org/trunk@26492
git-svn-id: http://core.svn.wordpress.org/trunk@26386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:25:10 +00:00
Drew Jaynes
e6d92061a1
Inline documentation for hooks in wp-includes/comment.php.
...
comment.php, a.k.a. "lots 'o hooks".
Props swissspidy for the initial patch. Props danieldudzic, kpdesign, and DrewAPicture.
Fixes #25522 .
Built from https://develop.svn.wordpress.org/trunk@26491
git-svn-id: http://core.svn.wordpress.org/trunk@26385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:12:11 +00:00
Sergey Biryukov
9fa0ec4e94
Escape smiley URL in translate_smiley().
...
props simonwheatley.
fixes #25529 .
Built from https://develop.svn.wordpress.org/trunk@26487
git-svn-id: http://core.svn.wordpress.org/trunk@26384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 22:39:10 +00:00
Sergey Biryukov
b6e094c748
Correct @since values. see #25518 .
...
Built from https://develop.svn.wordpress.org/trunk@26486
git-svn-id: http://core.svn.wordpress.org/trunk@26383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 19:05:10 +00:00
Drew Jaynes
2df1989c57
Inline documentation for hooks in wp-includes/formatting.php.
...
Props simonwheatley for the initial patch. Props DrewAPicture, kpdesign.
Fixes #25518 .
Built from https://develop.svn.wordpress.org/trunk@26485
git-svn-id: http://core.svn.wordpress.org/trunk@26382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 18:36:10 +00:00
Dominik Schilling
cc11eeac5b
Themes: Merge theme.css into wp-admin.css. fixes #25966 .
...
Built from https://develop.svn.wordpress.org/trunk@26484
git-svn-id: http://core.svn.wordpress.org/trunk@26381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 17:32:10 +00:00
Helen Hou-Sandí
7c940061fd
Pass the post type to the post_type_archive_title
filter for better context. Adds lovely docs. props DrewAPicture. fixes #25605 .
...
Built from https://develop.svn.wordpress.org/trunk@26457
git-svn-id: http://core.svn.wordpress.org/trunk@26355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:24:09 +00:00
Helen Hou-Sandí
73a4600d23
Increase the contrast of sidebar text in the media modal. props neil_pie. fixes #26288 .
...
Built from https://develop.svn.wordpress.org/trunk@26455
git-svn-id: http://core.svn.wordpress.org/trunk@26353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 04:14:09 +00:00
Helen Hou-Sandí
375bcb5f91
Make sure toolbar reset includes text-shadow: none. props kwight. fixes #25260 .
...
Built from https://develop.svn.wordpress.org/trunk@26451
git-svn-id: http://core.svn.wordpress.org/trunk@26349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:58:09 +00:00
Dion Hulse
8c60f742a1
Fix a regression in wp_mkdir_p() where the $mode of the parent folder is not correctly applied to all created paths. Fixes #25822 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26449
git-svn-id: http://core.svn.wordpress.org/trunk@26347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:20:10 +00:00
Andrew Ozz
89d464d9e5
TinyMCE: fix editor.css.
...
- Re-enable the default images for buttons not used in WordPress.
- Remove redundant styles for the old buttons sprite.
Fixes #26294 .
Built from https://develop.svn.wordpress.org/trunk@26446
git-svn-id: http://core.svn.wordpress.org/trunk@26344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 00:53:09 +00:00
Matt Thomas
15d2a57c44
Ensure that arrows in dropdowns are the default text color if you haven't hovered. Fixes #26293 , props ipstenu.
...
Built from https://develop.svn.wordpress.org/trunk@26445
git-svn-id: http://core.svn.wordpress.org/trunk@26343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:12:09 +00:00
Matt Thomas
eb09a427f6
Updating the #wp-auth-check login form to match the new admin design:
...
* Remove border-radius on the container and add a box shadow
* Style the top bar background to match the new #eee page background
* Replace the close button PNG with a Dashicon
* Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button.
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26441
git-svn-id: http://core.svn.wordpress.org/trunk@26339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:36:08 +00:00
Peter Westwood
e1e79ddf64
KSES: Extend support in wp_kses_normalize_entities to named entities with up to two numbers on the end of the name so as to support a wider list of valid entities.
...
Fixes â#26290
Built from https://develop.svn.wordpress.org/trunk@26440
git-svn-id: http://core.svn.wordpress.org/trunk@26338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:32:09 +00:00
Matt Thomas
01fdd027f0
Press This fixes:
...
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26433
git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:16:10 +00:00
Andrew Ozz
162037903d
Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073 .
...
Built from https://develop.svn.wordpress.org/trunk@26428
git-svn-id: http://core.svn.wordpress.org/trunk@26328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:56:10 +00:00
Matt Thomas
2fdde46bd8
Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26420
git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas
252d16c501
Admin pointers don't work at responsive sizes because of responsive layout adjustments. Hide the pointers for now until they're made responsive. Fixes #25984 .
...
Built from https://develop.svn.wordpress.org/trunk@26419
git-svn-id: http://core.svn.wordpress.org/trunk@26319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:47:11 +00:00