Commit Graph

24780 Commits

Author SHA1 Message Date
Andrew Ozz
1bc97d1fe4 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26983 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-19 23:21:07 +00:00
Andrew Ozz
ae49162491 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26982 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-18 22:19:07 +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
Drew Jaynes
f1bfee89f9 Use a docs-specific variable for the link_category hook docs in wp-admin/bookmarks-template.php.
See #25364.


git-svn-id: https://develop.svn.wordpress.org/trunk@26980 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-18 16:58:01 +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 Nacin
d0bb9e8f86 Ensure that SSL YouTube URLs receive SSL embeds.
props adamsilverstein, Otto42, JayCC.
fixes #23149.


git-svn-id: https://develop.svn.wordpress.org/trunk@26978 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 19:45:51 +00:00
Scott Taylor
9b9de4ee1f Add jsvalidate as a dependency to the build. To get the new module, run npm install in the root of the project.
Fixes #26615.
Props jorbin.



git-svn-id: https://develop.svn.wordpress.org/trunk@26977 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 18:14:15 +00:00
Scott Taylor
1a4a017923 Add (Q)Unit Tests for the wp.shortcode JS class.
Fixes #26514.
Props jorbin.



git-svn-id: https://develop.svn.wordpress.org/trunk@26976 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 18:01:34 +00:00
Andrew Nacin
5d8627f6c9 Use the_title_attribute() in feed_links_extra(), rather than get_the_title().
props c3mdigital.
fixes #15046.


git-svn-id: https://develop.svn.wordpress.org/trunk@26975 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 09:52:05 +00:00
Andrew Nacin
5cb20092ce make_clickable: When cleaning up accidental links within links, account for the tag being split by newlines.
props dd32.
fixes #19028.


git-svn-id: https://develop.svn.wordpress.org/trunk@26974 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 09:31:59 +00:00
Andrew Nacin
67d1c9fd6d Add dfn, mark, and samp to kses.
props kraftbj.
fixes #24950.


git-svn-id: https://develop.svn.wordpress.org/trunk@26973 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 08:37:53 +00:00
Andrew Nacin
9f5c78b676 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26972 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 07:46:33 +00:00
Andrew Nacin
238f9d2b0a Add a contrasting border to admin feature pointers.
props iammattthomas.
see #26689.


git-svn-id: https://develop.svn.wordpress.org/trunk@26970 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 03:48:50 +00:00
Andrew Nacin
e1aeeacc43 Realign the oEmbed providers. see #26844.
git-svn-id: https://develop.svn.wordpress.org/trunk@26968 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 03:28:30 +00:00
Andrew Nacin
015b1398ca Switch Twitter oEmbed to SSL due to a Twitter API change. Ah, the open web.
props yurivictor, cojennin.
see #26844.


git-svn-id: https://develop.svn.wordpress.org/trunk@26967 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 03:25:29 +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 Ozz
57a26d2e31 TinyMCE: remove the 'spellchecker' plugin. It has been disabled for a while and the back-end currently doesn't work. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26958 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-15 19:06:26 +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
Andrew Nacin
b807bea28c Test framework: Override PHPMailer during installation.
props bpetty.
fixes #26836.


git-svn-id: https://develop.svn.wordpress.org/trunk@26944 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 21:55:41 +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 Ozz
e18603ce49 TinyMCE: add/remove the 'alignnone' class when aligning images without captions. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26942 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 05:51:41 +00:00
Andrew Ozz
76508ede28 TinyMCE: improve handling of Read More and Nextpage tags. See #24067, fixes #16239.
git-svn-id: https://develop.svn.wordpress.org/trunk@26941 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 05:45:53 +00:00
Andrew Nacin
146bcccaa2 Update package.json. props TobiasBg. fixes #26629.
git-svn-id: https://develop.svn.wordpress.org/trunk@26940 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-13 18:20:38 +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
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
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
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
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
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
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
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
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
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