Commit Graph

879 Commits

Author SHA1 Message Date
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
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
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
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 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 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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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