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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c438d89ff1
Make the padding added for top-level toolbar items in r26675 more specific and reinstate the previous 10px padding for links within dropdown menus. Fixes #26484 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26808 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 20:43:42 +00:00
Andrew Ozz
d0689f0564
Toolbar:
...
- Fix submenus in responsive mode (were ignoring the .hover class on a parent).
- Improve top level items hiding.
Fixes #26476 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26803 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 17:14:16 +00:00
Andrew Nacin
0e0377fb96
Request a larger avatar for the toolbar, as we use it at narrow responsive sizes.
...
props kovshenin.
fixes #26292 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26800 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:42:34 +00:00
Andrew Nacin
a3fa719dc5
About page: Don't load zxcvbn, which is a dependency of an unused piece of user-profile.js.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26799 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:27:32 +00:00
Andrew Nacin
dac590e063
Move pointer-specific CSS from wp-admin.css to wp-pointer.css.
...
props ocean90.
fixes #26477 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26797 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:16:30 +00:00
Drew Jaynes
4056d33bca
Avoid a notice by checking that SCRIPT_DEBUG is defined before evaluating it in register_admin_color_schemes()
.
...
See #26316 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26786 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 19:22:57 +00:00