Commit Graph

8488 Commits

Author SHA1 Message Date
Andrew Ozz 35ba083b00 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Nacin 4e3cdbfc61 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18136 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 23:30:46 +00:00
Ryan Boren 39f8f07013 Make user validation when adding a user via network admin consistent with adding a user elsewhere. Provide better feedback for validation problems. Props sorich87. fixes #17239
git-svn-id: https://develop.svn.wordpress.org/trunk@18131 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 18:59:12 +00:00
Ryan Boren a118d32b6b Link to site being edited. Props lloydbudd. fixes #17257
git-svn-id: https://develop.svn.wordpress.org/trunk@18129 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 15:35:45 +00:00
Mark Jaquith 2de9f72e0d Tighten up the Credits page so it's not so spaced out.
git-svn-id: https://develop.svn.wordpress.org/trunk@18126 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 09:00:49 +00:00
Ryan Boren f786d16ed3 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: https://develop.svn.wordpress.org/trunk@18125 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:19:58 +00:00
Andrew Ozz 145d947721 Also move the dark arrows, props ocean90, see #17544
git-svn-id: https://develop.svn.wordpress.org/trunk@18124 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:04:01 +00:00
Andrew Ozz c895da270c Squeeze 10 more pixels for longer menu names, fixes #17544
git-svn-id: https://develop.svn.wordpress.org/trunk@18122 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:21:15 +00:00
Daryl Koopersmith 49c59980ae Remove Courier from the monospace font stack. fixes #17640.
git-svn-id: https://develop.svn.wordpress.org/trunk@18118 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:55:27 +00:00
Ryan Boren 52b2ca8189 RTL fixes for credits.php. Props BenChapman, rasheed. fixes #17602
git-svn-id: https://develop.svn.wordpress.org/trunk@18116 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:21:28 +00:00
Ryan Boren 332d95b648 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Ryan Boren 866b79d1c7 RTL fixes for dfw tagline, permalink editing, and hscroll. Props yoavf. fixes #17639
git-svn-id: https://develop.svn.wordpress.org/trunk@18113 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 16:04:02 +00:00
Ryan Boren 424f188ce1 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: https://develop.svn.wordpress.org/trunk@18112 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 15:26:01 +00:00
Andrew Nacin 36f1805ec4 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 22:03:36 +00:00
Ryan Boren 218486fb46 Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18109 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 21:27:42 +00:00
Andrew Ozz 599c9cc3a7 Set DFW background color to match the admin theme's background, see #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18108 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:50:04 +00:00
Ryan Boren 45486df91d Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: https://develop.svn.wordpress.org/trunk@18106 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:33:45 +00:00
Ryan Boren 7cb543f37f Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: https://develop.svn.wordpress.org/trunk@18105 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:30:29 +00:00
Andrew Ozz 715e5a905b Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18104 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:08:41 +00:00
Andrew Ozz f33bfbb86f Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18103 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:01:29 +00:00
Mark Jaquith 1d9e0ea01b Use monospaced font for HTML editor. props iammattthomas. fixes #17640
git-svn-id: https://develop.svn.wordpress.org/trunk@18102 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:31:42 +00:00
Ryan Boren cf59265def Decrement pending count after Approve and Reply. Props DH-Shredder. fixes #17380
git-svn-id: https://develop.svn.wordpress.org/trunk@18100 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:23:19 +00:00
Andrew Ozz aa91987639 Widgets RTL fixes, props yoavf, fixes #16082
git-svn-id: https://develop.svn.wordpress.org/trunk@18095 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:29:10 +00:00
Ryan Boren d66facad6c url_encode file names in theme and plugin editor urls. Props kawauso. fixes #17038
git-svn-id: https://develop.svn.wordpress.org/trunk@18094 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:14:58 +00:00
Ryan Boren ac3a991b17 Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: https://develop.svn.wordpress.org/trunk@18093 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 16:03:41 +00:00
Peter Westwood 7fa99c4253 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: https://develop.svn.wordpress.org/trunk@18092 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 15:37:04 +00:00
Peter Westwood f3b35cf893 Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
git-svn-id: https://develop.svn.wordpress.org/trunk@18090 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:44:10 +00:00
Ryan Boren 2960bcac77 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18089 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:41:43 +00:00
Peter Westwood 6dcfd5fc14 Make the css for the row status highlighting more specific so that it works regardless of the ordering of the CSS loading. Fixes #16827 props wpmuguru.
git-svn-id: https://develop.svn.wordpress.org/trunk@18086 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 13:52:49 +00:00
Ryan Boren 89561d578e s/seperator/separator/. Props brandonburke. fixes #17610
git-svn-id: https://develop.svn.wordpress.org/trunk@18084 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 19:58:36 +00:00
Ryan Boren d5e77eefbf Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: https://develop.svn.wordpress.org/trunk@18082 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 16:08:46 +00:00
Dion Hulse 1b0694c1b5 Correct the logic for Taxonomy edit page actions. Props michaeltyson for initial patch. Fixes #17617
git-svn-id: https://develop.svn.wordpress.org/trunk@18078 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 05:05:42 +00:00
Andrew Ozz 276131adc7 s/autosave/autosave-message to show these messages again, fixes #17624
git-svn-id: https://develop.svn.wordpress.org/trunk@18076 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 19:53:18 +00:00
Andrew Ozz fe0023d441 Force-hide the adminbar when DFW opens to keep IE7 users happy, fixes #17622
git-svn-id: https://develop.svn.wordpress.org/trunk@18075 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 19:22:09 +00:00
Andrew Ozz b0ff53d233 Fix notice, props greuben, fixes #17613
git-svn-id: https://develop.svn.wordpress.org/trunk@18074 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 14:12:08 +00:00
Andrew Ozz be987907b8 Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: https://develop.svn.wordpress.org/trunk@18071 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 21:18:58 +00:00
Andrew Ozz 25431a16bb s/Colse/Close/, props nacin, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18070 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 05:07:32 +00:00
Andrew Ozz 1596867751 Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18069 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 02:04:52 +00:00
Andrew Nacin 8efd0f7f7d Remove accidental tint on the post-box div. Should be a white background.
git-svn-id: https://develop.svn.wordpress.org/trunk@18067 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 19:29:32 +00:00
Andrew Ozz e7d7300bc7 Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: https://develop.svn.wordpress.org/trunk@18065 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 02:30:04 +00:00
Andrew Nacin cec199aa57 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@18053 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 05:41:34 +00:00
Ryan Boren 657155ed7c Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: https://develop.svn.wordpress.org/trunk@18041 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:36:26 +00:00
Ryan Boren 385262f36e Fix notices. Props ocean90. fixes #17528
git-svn-id: https://develop.svn.wordpress.org/trunk@18038 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:46:40 +00:00
Ryan Boren 65379307dc Fix name of plugins submenu. Props ocean90. fixes #17530
git-svn-id: https://develop.svn.wordpress.org/trunk@18035 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:06:42 +00:00
Ryan Boren 64367f2de7 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: https://develop.svn.wordpress.org/trunk@18034 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:05:52 +00:00
Andrew Ozz b048109cce Remove wp-admin/js/list-table.js, not used anywhere and not listed in script-loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@18028 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:06:24 +00:00
Andrew Ozz 3a20d6aa17 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Ryan Boren 09424ff8b3 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: https://develop.svn.wordpress.org/trunk@18026 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:58:01 +00:00
Andrew Ozz 1ed0c5b42d Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: https://develop.svn.wordpress.org/trunk@18025 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:55:59 +00:00
Andrew Ozz 426d2bfb74 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: https://develop.svn.wordpress.org/trunk@18024 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 16:49:01 +00:00