Andrew Ozz
33c41db77a
Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@27011
git-svn-id: http://core.svn.wordpress.org/trunk@26888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 20:08:11 +00:00
Andrew Nacin
c64266f38f
Themes screen: Various IE8 adjustments and fixes.
...
props morganestes, matveb.
fixes #26541 .
Built from https://develop.svn.wordpress.org/trunk@27007
git-svn-id: http://core.svn.wordpress.org/trunk@26884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 18:54:11 +00:00
Matt Thomas
7d002a5e84
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.
Built from https://develop.svn.wordpress.org/trunk@27006
git-svn-id: http://core.svn.wordpress.org/trunk@26883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 18:38:24 +00:00
Scott Taylor
f850ddd4f8
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 .
Built from https://develop.svn.wordpress.org/trunk@27005
git-svn-id: http://core.svn.wordpress.org/trunk@26882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 18:38:11 +00:00
Andrew Ozz
167235a602
TinyMCE: fix initializing TinyMCE when the default editor in getUserSetting() is overridden from PHP by using the 'wp_default_editor' filter. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@27004
git-svn-id: http://core.svn.wordpress.org/trunk@26881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 18:17:12 +00:00
Andrew Ozz
97afd9c251
Autosave: don't disable the buttons on previewing a post, see #25272 .
...
Built from https://develop.svn.wordpress.org/trunk@27003
git-svn-id: http://core.svn.wordpress.org/trunk@26880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 17:58:12 +00:00
Scott Taylor
f6b1f2202a
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 .
Built from https://develop.svn.wordpress.org/trunk@27000
git-svn-id: http://core.svn.wordpress.org/trunk@26877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 17:17:11 +00:00
Andrew Nacin
06efe8130d
Dashboard widgets: Don't link to Pages or Posts for Authors or Contributors respectively.
...
props mattheu.
see #26574 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26999
git-svn-id: http://core.svn.wordpress.org/trunk@26876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 16:52:11 +00:00
Nikolay Bachiyski
74ace0517c
Excplitcly globalized call to $wp later in wp-settings.php
...
Props xknown, fixes #26867 .
Built from https://develop.svn.wordpress.org/trunk@26997
git-svn-id: http://core.svn.wordpress.org/trunk@26874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 14:48:11 +00:00
Nikolay Bachiyski
80af25060b
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
Built from https://develop.svn.wordpress.org/trunk@26996
git-svn-id: http://core.svn.wordpress.org/trunk@26873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 08:25:12 +00:00
Andrew Ozz
335add2573
Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272 .
...
Built from https://develop.svn.wordpress.org/trunk@26995
git-svn-id: http://core.svn.wordpress.org/trunk@26872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 04:56:16 +00:00
Andrew Ozz
b4d76115cd
TinyMCE: fix error trying to translate non-existent button "title" in the compat3x plugin. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26994
git-svn-id: http://core.svn.wordpress.org/trunk@26871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 02:29:12 +00:00
Matt Thomas
9f4f560258
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.
Built from https://develop.svn.wordpress.org/trunk@26993
git-svn-id: http://core.svn.wordpress.org/trunk@26870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 21:27:12 +00:00
Scott Taylor
18b8c717f2
Make some @param
types more specific in media-models.js
.
...
See #26870 .
Built from https://develop.svn.wordpress.org/trunk@26991
git-svn-id: http://core.svn.wordpress.org/trunk@26868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 17:37:12 +00:00
Scott Taylor
60986d43b4
Remove debug cruft.
...
Props nacin.
See #26870 .
Built from https://develop.svn.wordpress.org/trunk@26990
git-svn-id: http://core.svn.wordpress.org/trunk@26867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 16:31:11 +00:00
Scott Taylor
f473d5eef2
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 .
Built from https://develop.svn.wordpress.org/trunk@26989
git-svn-id: http://core.svn.wordpress.org/trunk@26866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 16:30:11 +00:00
Scott Taylor
86aec42f7c
Correct a type.
...
See #26870 .
Built from https://develop.svn.wordpress.org/trunk@26988
git-svn-id: http://core.svn.wordpress.org/trunk@26865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 15:57:16 +00:00
Scott Taylor
ad4cf383cd
Elaborate on JSDoc blocks for media-editor.js
.
...
See #26870 .
Built from https://develop.svn.wordpress.org/trunk@26987
git-svn-id: http://core.svn.wordpress.org/trunk@26864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 15:55:13 +00:00
Scott Taylor
328fc8bae8
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 .
Built from https://develop.svn.wordpress.org/trunk@26986
git-svn-id: http://core.svn.wordpress.org/trunk@26863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-20 23:42:11 +00:00
Scott Taylor
e2cec2e4d8
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 .
Built from https://develop.svn.wordpress.org/trunk@26985
git-svn-id: http://core.svn.wordpress.org/trunk@26862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-20 23:40:11 +00:00
Scott Taylor
8457a40032
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 .
Built from https://develop.svn.wordpress.org/trunk@26984
git-svn-id: http://core.svn.wordpress.org/trunk@26861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-20 23:35:15 +00:00
Andrew Ozz
910ec9c462
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26983
git-svn-id: http://core.svn.wordpress.org/trunk@26860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-19 23:22:14 +00:00
Andrew Ozz
ec5288d405
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26982
git-svn-id: http://core.svn.wordpress.org/trunk@26859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-18 22:20:12 +00:00
Drew Jaynes
5ee0b5641e
Hook docs spacing and standards fixes for wp-admin/includes/ajax-actions.php.
...
See #25374 .
Built from https://develop.svn.wordpress.org/trunk@26981
git-svn-id: http://core.svn.wordpress.org/trunk@26858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-18 17:06:12 +00:00
Drew Jaynes
7c38bb38b7
Use a docs-specific variable for the link_category
hook docs in wp-admin/bookmarks-template.php.
...
See #25364 .
Built from https://develop.svn.wordpress.org/trunk@26980
git-svn-id: http://core.svn.wordpress.org/trunk@26857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-18 16:58:13 +00:00
Andrew Ozz
9198e66955
TinyMCE: set the 'add_unload_trigger' option to false for the main editor. Prevents DOM problems in Firefox when reloading the page, see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26979
git-svn-id: http://core.svn.wordpress.org/trunk@26856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 20:35:12 +00:00
Andrew Nacin
f73508e9bc
Ensure that SSL YouTube URLs receive SSL embeds.
...
props adamsilverstein, Otto42, JayCC.
fixes #23149 .
Built from https://develop.svn.wordpress.org/trunk@26978
git-svn-id: http://core.svn.wordpress.org/trunk@26855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 19:46:11 +00:00
Andrew Nacin
b7d3166e90
Use the_title_attribute() in feed_links_extra(), rather than get_the_title().
...
props c3mdigital.
fixes #15046 .
Built from https://develop.svn.wordpress.org/trunk@26975
git-svn-id: http://core.svn.wordpress.org/trunk@26854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 09:53:09 +00:00
Andrew Nacin
0ee1cb3046
make_clickable: When cleaning up accidental links within links, account for the tag being split by newlines.
...
props dd32.
fixes #19028 .
Built from https://develop.svn.wordpress.org/trunk@26974
git-svn-id: http://core.svn.wordpress.org/trunk@26853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 09:32:10 +00:00
Andrew Nacin
8ec592f244
Add dfn, mark, and samp to kses.
...
props kraftbj.
fixes #24950 .
Built from https://develop.svn.wordpress.org/trunk@26973
git-svn-id: http://core.svn.wordpress.org/trunk@26852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 08:38:09 +00:00
Andrew Nacin
d9b0e70d4a
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 .
Built from https://develop.svn.wordpress.org/trunk@26972
git-svn-id: http://core.svn.wordpress.org/trunk@26851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 07:47:10 +00:00
Andrew Nacin
8adc7db517
Add a contrasting border to admin feature pointers.
...
props iammattthomas.
see #26689 .
Built from https://develop.svn.wordpress.org/trunk@26970
git-svn-id: http://core.svn.wordpress.org/trunk@26849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 03:49:11 +00:00
Andrew Nacin
7881b4eca8
Realign the oEmbed providers. see #26844 .
...
Built from https://develop.svn.wordpress.org/trunk@26968
git-svn-id: http://core.svn.wordpress.org/trunk@26847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 03:29:11 +00:00
Andrew Nacin
7e18ca2dec
Switch Twitter oEmbed to SSL due to a Twitter API change. Ah, the open web.
...
props yurivictor, cojennin.
see #26844 .
Built from https://develop.svn.wordpress.org/trunk@26967
git-svn-id: http://core.svn.wordpress.org/trunk@26846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 03:26:10 +00:00
Andrew Ozz
920af73acd
DFW: fix reference to off() when pressing Esc. Props kovshenin, see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26966
git-svn-id: http://core.svn.wordpress.org/trunk@26845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 00:13:11 +00:00
Andrew Ozz
443e88b1c2
Widgets: fix scaling of extra-wide widgets on 480px and 320px devices, fixes #26701 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@26963
git-svn-id: http://core.svn.wordpress.org/trunk@26842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 21:56:11 +00:00
Matt Thomas
5b327853e4
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.
...
Built from https://develop.svn.wordpress.org/trunk@26961
git-svn-id: http://core.svn.wordpress.org/trunk@26840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 20:34:10 +00:00
Andrew Nacin
3189d79f46
Don't let Quick Draft ignore default comment_status and ping_status.
...
props kovshenin.
fixes #26722 .
Built from https://develop.svn.wordpress.org/trunk@26959
git-svn-id: http://core.svn.wordpress.org/trunk@26838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 20:24:13 +00:00
Andrew Ozz
5d92ed5632
TinyMCE: remove the 'spellchecker' plugin. It has been disabled for a while and the back-end currently doesn't work. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26958
git-svn-id: http://core.svn.wordpress.org/trunk@26837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 19:07:11 +00:00
Andrew Nacin
0cf6bbc60a
RTL: Flip half-star star ratings.
...
props SergeyBiryukov.
fixes #26814 .
Built from https://develop.svn.wordpress.org/trunk@26952
git-svn-id: http://core.svn.wordpress.org/trunk@26831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:19:12 +00:00
Andrew Ozz
71101bc9e2
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26945
git-svn-id: http://core.svn.wordpress.org/trunk@26824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 23:35:11 +00:00
Sergey Biryukov
1db81755ac
Remove unnecessary sprintf(). props jdgrimes. fixes #25489 .
...
Built from https://develop.svn.wordpress.org/trunk@26943
git-svn-id: http://core.svn.wordpress.org/trunk@26823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 11:18:12 +00:00
Andrew Ozz
1ddc17780a
TinyMCE: add/remove the 'alignnone' class when aligning images without captions. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26942
git-svn-id: http://core.svn.wordpress.org/trunk@26822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 05:52:09 +00:00
Andrew Ozz
88959be27d
TinyMCE: improve handling of Read More and Nextpage tags. See #24067 , fixes #16239 .
...
Built from https://develop.svn.wordpress.org/trunk@26941
git-svn-id: http://core.svn.wordpress.org/trunk@26821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 05:46:11 +00:00
Andrew Nacin
f49bd78ae4
Fix alignment and borders of plugin/theme updates on the Updates screen.
...
props morganestes, ocean90.
see #26699 , for trunk.
Built from https://develop.svn.wordpress.org/trunk@26935
git-svn-id: http://core.svn.wordpress.org/trunk@26816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 16:00:11 +00:00
Andrew Ozz
6c0fe71d05
TinyMCE: re-enable soft resizing of images inside the editor. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26934
git-svn-id: http://core.svn.wordpress.org/trunk@26815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 01:13:10 +00:00
Andrew Ozz
90403aed4b
Deprecate rich_edit_exists(). It doesn't make sense to support deleting the TinyMCE directory when we have auto-updates. Fixes #26786 .
...
Built from https://develop.svn.wordpress.org/trunk@26933
git-svn-id: http://core.svn.wordpress.org/trunk@26814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 00:00:12 +00:00
Sergey Biryukov
9572d2d001
Avoid a fatal error in wp_reset_postdata() if $wp_query global is not set.
...
see #26775 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26932
git-svn-id: http://core.svn.wordpress.org/trunk@26813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-11 23:57:14 +00:00
Drew Jaynes
3ee2262d7e
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 .
Built from https://develop.svn.wordpress.org/trunk@26931
git-svn-id: http://core.svn.wordpress.org/trunk@26812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-10 18:15:13 +00:00
Andrew Ozz
290b52e8a4
TinyMCE: update compat3x.min.js and bump $tinymce_version. See #24067 , fixes #26750 .
...
Built from https://develop.svn.wordpress.org/trunk@26930
git-svn-id: http://core.svn.wordpress.org/trunk@26811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-10 00:52:13 +00:00