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
Lance Willett
187d2fa1ff
Twenty Fourteen: make sure non-breaking title in .nav-links
doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189 .
...
Built from https://develop.svn.wordpress.org/trunk@26558
git-svn-id: http://core.svn.wordpress.org/trunk@26449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:15: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
Lance Willett
e46662b6ae
Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837 .
...
Built from https://develop.svn.wordpress.org/trunk@26556
git-svn-id: http://core.svn.wordpress.org/trunk@26447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:06:11 +00:00
Lance Willett
b5dbd754d8
Twenty Fourteen: limit Help tab text to only "post" post type edit screen. Props obenland, see #25837 .
...
Built from https://develop.svn.wordpress.org/trunk@26555
git-svn-id: http://core.svn.wordpress.org/trunk@26446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:01:10 +00:00
Matt Thomas
3a68881300
Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26554
git-svn-id: http://core.svn.wordpress.org/trunk@26445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 16:22:11 +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
Dion Hulse
3b706af9c3
Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948 , #25966
...
Built from https://develop.svn.wordpress.org/trunk@26551
git-svn-id: http://core.svn.wordpress.org/trunk@26443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 02:11:10 +00:00
Andrew Ozz
fda55bd33b
Comments moderation screen:
...
- Don't resize the textarea when replying to long comments.
- Limit the resizing of the textarea when quick-editing long comments to 500px.
Props SergeyBiryukov, fixes #25746 .
Built from https://develop.svn.wordpress.org/trunk@26550
git-svn-id: http://core.svn.wordpress.org/trunk@26442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:55:10 +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
Sergey Biryukov
b5ce3e6c96
Twenty Fourteen: use a more specific selector for tag links.
...
props iamtakashi.
fixes #26358 .
Built from https://develop.svn.wordpress.org/trunk@26545
git-svn-id: http://core.svn.wordpress.org/trunk@26437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:15: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
Andrew Nacin
3fe7726bd4
Remove @uses from get_screen_icon() / screen_icon(). see #26119 .
...
Built from https://develop.svn.wordpress.org/trunk@26541
git-svn-id: http://core.svn.wordpress.org/trunk@26433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:59:10 +00:00
Drew Jaynes
201306f5da
Inline documentation for hooks in wp-admin/includes/update.php.
...
Props stevenkword for the initial patches.
Fixes #26252 .
Built from https://develop.svn.wordpress.org/trunk@26540
git-svn-id: http://core.svn.wordpress.org/trunk@26432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:55:10 +00:00
Matt Thomas
948858e60a
Better visual alignment on side-sortables tabs. Fixes #26323 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26539
git-svn-id: http://core.svn.wordpress.org/trunk@26431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:44:10 +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
Andrew Nacin
4728680f8f
Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119 .
...
Built from https://develop.svn.wordpress.org/trunk@26537
git-svn-id: http://core.svn.wordpress.org/trunk@26429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:00:11 +00:00
Matt Thomas
b4f2763f8d
Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357 .
...
Built from https://develop.svn.wordpress.org/trunk@26536
git-svn-id: http://core.svn.wordpress.org/trunk@26428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:46:10 +00:00
Andrew Nacin
710803793b
Simplify the color scheme profile saving JS. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26535
git-svn-id: http://core.svn.wordpress.org/trunk@26427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19: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
Dominik Schilling
35f42dd2bd
Reset responsive styles for the checkbox in auth check window.
...
props iammattthomas.
fixes #26360 .
Built from https://develop.svn.wordpress.org/trunk@26532
git-svn-id: http://core.svn.wordpress.org/trunk@26425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:01:10 +00:00
Andrew Nacin
bb32d28c75
For the current theme, display all available actions, as dictated by the admin menu.
...
Restores 3.7 behavior. This could include things like Header and Background as well as theme options pages.
see #25948 .
Built from https://develop.svn.wordpress.org/trunk@26531
git-svn-id: http://core.svn.wordpress.org/trunk@26424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:58: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
Andrew Nacin
c6ddea79d1
Themes: Always include the current theme in the list, even if it is not allowed.
...
see #25948 .
Built from https://develop.svn.wordpress.org/trunk@26529
git-svn-id: http://core.svn.wordpress.org/trunk@26422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:46:11 +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
Matt Thomas
076a40e860
Adding a SVG > PNG fallback for IE8 support. See #26348 .
...
Built from https://develop.svn.wordpress.org/trunk@26527
git-svn-id: http://core.svn.wordpress.org/trunk@26420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:30: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
Dion Hulse
0e5af31e0f
Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26524
git-svn-id: http://core.svn.wordpress.org/trunk@26417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 08:38:10 +00:00
Dion Hulse
ea219afa23
Themes: Standardise on dot notation for object access in the Templates. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26523
git-svn-id: http://core.svn.wordpress.org/trunk@26416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:34:10 +00:00
Dion Hulse
b6a102f1f5
Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26522
git-svn-id: http://core.svn.wordpress.org/trunk@26415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:20:09 +00:00
Dion Hulse
c054cdad32
Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
...
Built from https://develop.svn.wordpress.org/trunk@26521
git-svn-id: http://core.svn.wordpress.org/trunk@26414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:16:10 +00:00
Dion Hulse
6c9356b360
Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961 , #26192
...
Built from https://develop.svn.wordpress.org/trunk@26520
git-svn-id: http://core.svn.wordpress.org/trunk@26413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:14:10 +00:00
Dion Hulse
4829e81966
Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961 , #26192
...
Built from https://develop.svn.wordpress.org/trunk@26519
git-svn-id: http://core.svn.wordpress.org/trunk@26412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:12:09 +00:00
Andrew Ozz
8d6059b383
Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
...
Built from https://develop.svn.wordpress.org/trunk@26518
git-svn-id: http://core.svn.wordpress.org/trunk@26411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:53:11 +00:00
Dion Hulse
ec734890a9
Themes: Add a updated Help text. Props designsimply & hanni. See #26285
...
Built from https://develop.svn.wordpress.org/trunk@26517
git-svn-id: http://core.svn.wordpress.org/trunk@26410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:23:10 +00:00
Andrew Ozz
830bcf9957
Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086 .
...
Built from https://develop.svn.wordpress.org/trunk@26516
git-svn-id: http://core.svn.wordpress.org/trunk@26409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:19:11 +00:00
Dion Hulse
f1f6cec5e8
Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26515
git-svn-id: http://core.svn.wordpress.org/trunk@26408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 01:51:09 +00:00
Dion Hulse
527efd828c
Themes: We no longer have a delete link on the multi-grid view. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26514
git-svn-id: http://core.svn.wordpress.org/trunk@26407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:55:09 +00:00
Dion Hulse
707eca46ab
Themes: Fix the routing for Themes in a sub-directory (/wp-content/themes/prefix/theme-name/style.css) and navigate to hash-url's for searches. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26513
git-svn-id: http://core.svn.wordpress.org/trunk@26406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:48:09 +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
Dion Hulse
578469fb12
Add braces around a conditional hook. This wasn't causing an issue as if ( conditional ) /* multiline comment */ command();
is perfectly OK, but left open doubt and potential future bugs. See #25229
...
Built from https://develop.svn.wordpress.org/trunk@26509
git-svn-id: http://core.svn.wordpress.org/trunk@26403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 23:13:09 +00:00
Sergey Biryukov
8ddb058d36
Fix Customize link in theme info window. props kovshenin. see #25948 .
...
Built from https://develop.svn.wordpress.org/trunk@26508
git-svn-id: http://core.svn.wordpress.org/trunk@26402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 21:09:10 +00:00
Dominik Schilling
f43440871f
Themes: Fix position of admin notice with .error class. fixes #26304 .
...
Built from https://develop.svn.wordpress.org/trunk@26507
git-svn-id: http://core.svn.wordpress.org/trunk@26401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 20:23:09 +00:00
Andrew Ozz
a6ac0bea23
Improve the admin color scheme picker:
...
- Easier to extend.
- Remove the "drop-down" look, show all choices inline.
- Some PHP and JS cleanup.
Props ryelle, fixes #26336 .
Built from https://develop.svn.wordpress.org/trunk@26506
git-svn-id: http://core.svn.wordpress.org/trunk@26400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 19:50:09 +00:00