Commit Graph

909 Commits

Author SHA1 Message Date
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
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 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 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 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
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
Andrew Ozz 730f9550ec Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: https://develop.svn.wordpress.org/trunk@17983 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 17:11:13 +00:00
Andrew Ozz 7228202817 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: https://develop.svn.wordpress.org/trunk@17979 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-20 22:47:36 +00:00
Andrew Ozz 0d5e03dd9f Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17966 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 07:34:54 +00:00
Andrew Ozz 15c2f28085 More IE7 fixes, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17964 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 05:35:08 +00:00
Andrew Ozz 7262bec3c2 IE7 fixes, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17963 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 02:23:02 +00:00
Mark Jaquith b24303228b Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@17952 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:06:04 +00:00
Andrew Ozz 1420210806 Fix width shortcuts in DFW, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17949 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 00:59:12 +00:00
Andrew Ozz 89b108095f Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17936 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 06:17:44 +00:00
Andrew Ozz 1b66183679 Refresh word count when switching editors in DFW.
git-svn-id: https://develop.svn.wordpress.org/trunk@17932 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-15 05:51:33 +00:00
Andrew Ozz e2738c27c7 DFW: scroll to top when opening so the user is not disoriented, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17913 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 06:27:49 +00:00
Andrew Ozz c451b0050d jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@17907 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 22:00:31 +00:00
Daryl Koopersmith ad0b9cf840 Restore lines in publish box, speed up misc-action edit animations. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17893 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 05:06:47 +00:00
Andrew Ozz 44ac70d063 Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@17887 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:33:27 +00:00
Andrew Nacin 368cb001de Add clear to custom background color field. props lancewillett for initial patch. fixes #15755.
git-svn-id: https://develop.svn.wordpress.org/trunk@17886 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:31:01 +00:00
Andrew Ozz 0b4a1378b9 DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17856 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 09:18:32 +00:00
Andrew Ozz 6b810b990f DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 23:21:34 +00:00
Daryl Koopersmith 0cfe07e299 Trigger 'howdy' dropdown by click instead of hover. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17851 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 20:36:12 +00:00
Andrew Ozz 223162e568 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17838 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 06:32:44 +00:00
Andrew Ozz 13ad310c3f DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17837 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 02:01:53 +00:00
Andrew Ozz c244f12c8e Change comment Reply to Approve and Reply and auto-approve the comment if it is in moderation, props DH-Shredder, fixes #15898
git-svn-id: https://develop.svn.wordpress.org/trunk@17832 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 04:56:00 +00:00
Daryl Koopersmith 46a01f3c74 Add collapse link to admin menu, add new arrow graphics, improve screen meta JS/CSS.
git-svn-id: https://develop.svn.wordpress.org/trunk@17813 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 19:51:32 +00:00
Andrew Ozz 6e8cefd437 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17785 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:10:23 +00:00
Andrew Ozz 76ae5355f9 Cleanup in dashboard.js, props scribu, fixes 17292
git-svn-id: https://develop.svn.wordpress.org/trunk@17784 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 23:31:34 +00:00
Andrew Ozz 1263400a3d Don't trigger "Exception thrown and not caught" error in jQuery 1.5.2 in IE
git-svn-id: https://develop.svn.wordpress.org/trunk@17783 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 19:42:31 +00:00
Andrew Ozz c721f308ce Add quotes to [value="some"] selectors, see #16426
git-svn-id: https://develop.svn.wordpress.org/trunk@17777 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 02:15:08 +00:00
Andrew Nacin 28a5ec7c1c Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.
git-svn-id: https://develop.svn.wordpress.org/trunk@17743 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 12:02:24 +00:00
Andrew Ozz c70a32734f Don't hide the top bar when the cursor is over it, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17703 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 07:20:56 +00:00
Andrew Ozz 787995a1ab DFW: remove unneeded JS global, fix screen flash in WebKit, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17702 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 01:19:26 +00:00
Andrew Ozz 3a79a20c25 Fix image insertion in IE, fixes #17237
git-svn-id: https://develop.svn.wordpress.org/trunk@17701 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 22:49:22 +00:00
Andrew Ozz 0303c82d90 Fix Opera event name and bump TinyMCE version string, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17696 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:28:23 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Andrew Ozz 157571de2a Remove redundant IE restore selection calls for TinyMCE, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17639 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-15 04:20:12 +00:00
Andrew Ozz 4c572d1f03 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Andrew Ozz 53d3dae91f Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: https://develop.svn.wordpress.org/trunk@17623 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 18:45:22 +00:00
Andrew Ozz 44a5c913d8 Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: https://develop.svn.wordpress.org/trunk@17587 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 20:40:16 +00:00
Ryan Boren 451d7d8ffb Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Ryan Boren 777b15311d Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17398 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:31:05 +00:00
Ryan Boren bdd25aad05 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Mark Jaquith 4bca42b961 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith 19b385450e Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Mark Jaquith 57571e6675 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17326 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 17:32:35 +00:00
Andrew Nacin 71b24d4577 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17321 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:34:38 +00:00
Mark Jaquith 852a939130 Recompress some JS scripts that were done without YUI munging.
git-svn-id: https://develop.svn.wordpress.org/trunk@17286 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:04:58 +00:00
Mark Jaquith a31ca04ccc script compress and bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17285 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:17:22 +00:00
Mark Jaquith 9ce71fde62 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: https://develop.svn.wordpress.org/trunk@17284 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:14:12 +00:00
Andrew Nacin 19122c3516 Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17270 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:06:33 +00:00
Andrew Nacin 4c869552ff Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17255 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:03:50 +00:00
Mark Jaquith 3a2c242339 Minify and bump list-table.js see #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17253 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:40:31 +00:00
Mark Jaquith 733f374f85 Simulate browser behavior for selecting first dropdown element in non-multiselect, if no elements are selected by default. props koopersmith. fixes #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17252 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:37:43 +00:00
Ryan Boren d95ed80091 Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: https://develop.svn.wordpress.org/trunk@17239 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 20:52:42 +00:00
Ryan Boren eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Andrew Nacin 70c1166ad1 Use correct variables. props garyc40, see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17206 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-02 10:55:10 +00:00
Andrew Nacin a5653cf8d9 Compress and bump scripts for [17202]. see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17203 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 23:20:57 +00:00
Andrew Nacin 4f947ac5b9 Disabled states for first/prev and next/last pagination buttons when they should noop. see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17202 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 23:19:26 +00:00
Mark Jaquith 30a8c8e418 Reinstitute Intall Now AYS that was accidentally disabled. props ocean90. fixes #16032
git-svn-id: https://develop.svn.wordpress.org/trunk@17176 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:04:07 +00:00
Ryan Boren 3edaa30bed Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: https://develop.svn.wordpress.org/trunk@17156 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:06:15 +00:00
Ryan Boren 99750ff7ef Clear messages when searching, sorting, paginating. Props scribu. fixes #15973
git-svn-id: https://develop.svn.wordpress.org/trunk@17132 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:45:59 +00:00
Ryan Boren ee09d38544 Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Ryan Boren 9f9f401c42 Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren 1f3ea01d78 List table spinner. Props scribu. see #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren 034024021a Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Andrew Nacin dd449b12cc Minify plugin-install.js. see #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17087 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:48:19 +00:00
Andrew Nacin ff7001986a Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17086 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:47:23 +00:00
Andrew Nacin ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Andrew Nacin d8871ce771 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
scribu c9c1be7e78 Remove placeholder row when adding first term. See #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17003 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:13:47 +00:00
Andrew Nacin 98aac89317 Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
Pete Mall a02674aebc Move search results text in site-themes/site-users. Props sorich87, ocean90. Fixes #15553
git-svn-id: https://develop.svn.wordpress.org/trunk@16961 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:32:25 +00:00
scribu 1d3a1c1460 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
scribu 06622f69ba Set both column header sorting arrows. Props batmoo. Fixes #15480
git-svn-id: https://develop.svn.wordpress.org/trunk@16887 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 20:21:58 +00:00
Andrew Nacin bbbfee7e7f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16874 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:41:48 +00:00
Ryan Boren be9b7a345b Link to unobfuscated JS. Props filosofo. fixes #15262
git-svn-id: https://develop.svn.wordpress.org/trunk@16826 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:37:19 +00:00
Andrew Nacin 8338c78133 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16813 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:51:22 +00:00
Peter Westwood 4703432f8b Revert [16719] until it has has UI review. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16722 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 11:01:23 +00:00
scribu c0750fba7f Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16719 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 09:01:23 +00:00
Mark Jaquith d9ae425dc2 Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
git-svn-id: https://develop.svn.wordpress.org/trunk@16681 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:20:48 +00:00
Mark Jaquith 86ab422fcc Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
Mark Jaquith e2c06eeea4 Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
git-svn-id: https://develop.svn.wordpress.org/trunk@16671 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:48:52 +00:00
Ryan Boren 277bf53130 Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: https://develop.svn.wordpress.org/trunk@16647 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:51:20 +00:00
scribu d04665df0e Validate pagination input. Props batmoo. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16644 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 06:02:19 +00:00
scribu 907353550e Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
scribu 41162fb44d Add missing quote char when creating overlay. See #14579. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16616 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 19:08:15 +00:00
scribu d04ab8e50b Update URL when performing ajaxified action. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16615 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 18:57:33 +00:00
scribu 5c78a0ff01 Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16602 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 19:05:12 +00:00
scribu 507547af83 Make date columns first sort in descending order. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16593 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 02:03:02 +00:00
scribu fafdc943da Make filter_count() a closure. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16554 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:20:44 +00:00
scribu 9729c26b07 Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16553 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:17:22 +00:00
scribu 1d586a6a7f Remove vestige code from theme.js. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16540 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:06:15 +00:00
scribu 37842f40a2 Don't display search subtitle on themes page. Props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16525 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:20:08 +00:00
scribu cb38e81d23 re-minify edit-comments.js. See #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16517 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:03:54 +00:00
scribu de5730ecd9 Use event delegation in edit-comments.js. Fixes #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16516 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:02:25 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
scribu 673625a1c2 Don't set total_pages unless there are pagination links. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16433 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:26:39 +00:00
scribu 5705b3ca9c Differentiate between localized and raw total pages. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Andrew Nacin 8fe83c252a Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
Andrew Nacin e8ea01b4dc More updates to post.js. see [16248].
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Andrew Ozz 348236aeb7 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
scribu 2b895dda71 Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
scribu 55d442748a Fix typo from r16363. Props filosofo. Fixes #15420
git-svn-id: https://develop.svn.wordpress.org/trunk@16364 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 01:46:49 +00:00
scribu cd7d748a0e Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16363 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 00:48:30 +00:00
scribu a4ee63c95a Make custom plugin columns hideable. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16350 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:21:40 +00:00
scribu 21bef0ad36 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16348 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:57:25 +00:00
scribu da3a486cef Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16345 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:58:23 +00:00
Mark Jaquith 647422ad33 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Ryan Boren 994d8ecab8 Farbtastic 1.3u. Props flashingcursor. fixes #14707
git-svn-id: https://develop.svn.wordpress.org/trunk@16305 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:34:22 +00:00
Peter Westwood 6b1be702c4 Move the l10n helper function into a seperate js file so we can always output it first.
Fixes #15124.

git-svn-id: https://develop.svn.wordpress.org/trunk@16282 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 21:53:30 +00:00
Andrew Nacin 7be12299b7 Merge two strings in JS, which were merged elsewhere some time ago.
git-svn-id: https://develop.svn.wordpress.org/trunk@16248 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:52:02 +00:00
scribu 441237a5f4 Uncheck mass select checkbox when updating rows via ajax. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16218 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 23:07:00 +00:00
Mark Jaquith 018429a9f6 Do our return falses. Props duck_. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16187 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:58:04 +00:00
Mark Jaquith ef54c47f7a add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Ryan Boren e33e94e28d Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:23:17 +00:00
scribu 6289ec0a52 Fix variable name and re-minify list-table.js. See #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16023 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:19:52 +00:00
scribu b2f927ed76 Set additional fields when searching. Fixes #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16022 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:17:00 +00:00
Peter Westwood b138a1b60a Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Ryan Boren bff73fa973 Cause infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
git-svn-id: https://develop.svn.wordpress.org/trunk@15971 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:43:26 +00:00
Andrew Nacin 9c39f8bcf2 Fix custom background selector for IE7. props duck_, fixes #14152.
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Ozz 790b4dbdf0 Clean list-table.js: when declaring JS object a comma after the last property is invalid, remove unused vars. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15939 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 20:52:49 +00:00
Ryan Boren f2dbc7d273 Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
scribu 33077f83fa move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu eb178ad876 More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: https://develop.svn.wordpress.org/trunk@15743 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:53:37 +00:00
Andrew Nacin 6c9318e763 Verify that a widget is draggable before stripping its draggability. props filosofo, see #12863. Fixes widget creation for jQUI 1.8.5; should be fixed in jQUI 1.8.6.
git-svn-id: https://develop.svn.wordpress.org/trunk@15738 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 04:20:19 +00:00
scribu 078cda9275 Fix menu box search. Fixes #14335
git-svn-id: https://develop.svn.wordpress.org/trunk@15709 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 14:17:34 +00:00
Dion Hulse ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: https://develop.svn.wordpress.org/trunk@15659 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-25 10:58:01 +00:00
Ryan Boren 36d2d868d5 Feature filter visuals. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15656 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 18:50:31 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu b14febd290 munge admin-table.js & minify jquery.query
git-svn-id: https://develop.svn.wordpress.org/trunk@15526 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:44:25 +00:00
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu 1b4603a611 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +00:00
scribu 9685e25bad refactor admin-table.js code
git-svn-id: https://develop.svn.wordpress.org/trunk@15507 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 21:02:24 +00:00
scribu dff48c8597 Temporary fix for #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15506 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:58:55 +00:00
scribu d570886128 Fix ajaxification in network area by using ajaxurl. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15495 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:45:40 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Mark Jaquith 5b51d69bfa WEAPON LOCKED. http://txfx.net/s/34 props Left Bank Pictures (Strike Back).
git-svn-id: https://develop.svn.wordpress.org/trunk@15239 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 09:45:32 +00:00
Ryan Boren 82be9621ec Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:19:35 +00:00
Andrew Nacin e8f7f12adf Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 05:19:36 +00:00
Andrew Nacin d5a2b82b96 Prevent 'Enter menu name here' menus, and offer some feedback. props koopersmith, fixes #13703.
git-svn-id: https://develop.svn.wordpress.org/trunk@15124 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 03:33:54 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin e21a5a1b24 Nav menu improvements. props koopersmith. RTL support for tabs, better tab handling, other improvements. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15080 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 20:22:49 +00:00
Andrew Nacin 4a0f1ff357 Use correct element in jQuery selector. props ocean90, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15079 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 16:30:02 +00:00
Mark Jaquith 29a6333a1f Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: https://develop.svn.wordpress.org/trunk@15072 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 06:33:46 +00:00
Mark Jaquith b5cd195f68 Do not load window.onbeforeonload event if we are not on an existing nav menu. props filosofo. Reduce opacity on nav menu postboxes if we are not on an existing nav menu, and for JS users, deactivate all links and form elements, to make it obvious that those UI elements are not usable at this stage. fixes #13615
git-svn-id: https://develop.svn.wordpress.org/trunk@15062 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 19:39:40 +00:00
Andrew Nacin 51cc204001 Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: https://develop.svn.wordpress.org/trunk@15049 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 23:04:00 +00:00
Andrew Nacin 5ff8d718f2 Don't show double-AYS for deleting a menu. props filosofo, duck_. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15046 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:38:19 +00:00
Ryan Boren 44621fee7d Nav menu RTL js fixes. Props filosofo. see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15039 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 16:57:47 +00:00
Andrew Nacin 28c54a5e20 Custom background UI tweaks. Make 'Select Color' a link instead of a button, move color below the background image options, standardize screen reader text.
git-svn-id: https://develop.svn.wordpress.org/trunk@15016 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 00:01:59 +00:00
Andrew Nacin d27993d65b Squeeze out some bytes via munging.
git-svn-id: https://develop.svn.wordpress.org/trunk@14992 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 13:39:44 +00:00
Andrew Nacin 939c73a317 Force menu AYS when a menu item is deleted. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14973 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:31:23 +00:00
Andrew Nacin 9b4a85cdaf Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: https://develop.svn.wordpress.org/trunk@14971 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:24:33 +00:00
Ryan Boren 5cceae73e3 Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14943 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:49:43 +00:00
Nikolay Bachiyski f4084990ea Focus on category field when adding a new category in the write panel
git-svn-id: https://develop.svn.wordpress.org/trunk@14940 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 09:17:40 +00:00
Ryan Boren aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Andrew Nacin 1db01f2c56 Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@14917 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 00:41:18 +00:00
Ryan Boren 51e11b64d6 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: https://develop.svn.wordpress.org/trunk@14869 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:18:07 +00:00
Andrew Nacin d617ca0f94 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14852 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:50:20 +00:00
Andrew Nacin 0aa0cde880 Menu tweaks. Save menu locations when saving the menu. Also, centralize theme support checks and add them to menu.php. Improve some branching. Remove some old JS vars, add a missing semicolon, etc. props koopersmith. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14831 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 09:23:56 +00:00
Peter Westwood ca3fead69d Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14815 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:58:06 +00:00
Andrew Nacin 6d0ed6f1ea Pixel sanity check. props filosofo, fixes #13470.
git-svn-id: https://develop.svn.wordpress.org/trunk@14799 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:35:37 +00:00
Andrew Nacin fd3a2be9dd Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14772 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 22:43:14 +00:00
Ryan Boren ac71984568 Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: https://develop.svn.wordpress.org/trunk@14761 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:33:57 +00:00
Andrew Nacin 89bc55a218 Remove AYS for deleting a menu item. fixes #13330.
git-svn-id: https://develop.svn.wordpress.org/trunk@14756 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 14:55:11 +00:00
Mark Jaquith c3ba440221 Add AYS notice on unsaved menu changes. see #12472
git-svn-id: https://develop.svn.wordpress.org/trunk@14741 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 09:56:02 +00:00
Mark Jaquith e71536c7e3 Remove trailing tabs from nav-menu.dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@14740 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 08:44:28 +00:00
Mark Jaquith dafdd33220 Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: https://develop.svn.wordpress.org/trunk@14730 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:08:49 +00:00
Ryan Boren bc086f5cad Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14725 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:16:58 +00:00
Andrew Nacin 560acd7b63 Save menu locations meta box via ajax. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14715 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 23:58:56 +00:00
Andrew Nacin 2839ecfd01 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: https://develop.svn.wordpress.org/trunk@14686 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:39:53 +00:00
Andrew Nacin ae5af53f10 Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14684 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:17:57 +00:00
Andrew Nacin 24ad763cfc Validation and nonce improvements to custom background UI. props ocean90, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14670 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:47:03 +00:00
Ryan Boren afc24755fc autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: https://develop.svn.wordpress.org/trunk@14663 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 14:03:46 +00:00
Andrew Nacin ae2148a866 Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14615 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:32:48 +00:00
Nikolay Bachiyski ad3881470e I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:52:50 +00:00
Andrew Nacin 3dd93e488b Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14531 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:51:57 +00:00
Andrew Nacin 1cdd8d707e Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.
git-svn-id: https://develop.svn.wordpress.org/trunk@14530 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:49:52 +00:00
Andrew Nacin 7ea215494e Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14520 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 21:56:53 +00:00
Andrew Nacin 04919ebe8b Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14475 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:11:52 +00:00
Andrew Nacin 8996028929 Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14474 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 15:40:29 +00:00
Andrew Nacin 8cf4e1051f Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: https://develop.svn.wordpress.org/trunk@14472 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:13:31 +00:00
Andrew Nacin 465cce3e6a Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:09:10 +00:00
Andrew Nacin 6c397f5e43 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14468 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:23:53 +00:00
Andrew Nacin 13e9671554 Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14467 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:06:43 +00:00
Andrew Nacin e480eb8b50 Trim trailing whites from nav-menu js.
git-svn-id: https://develop.svn.wordpress.org/trunk@14465 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:37:32 +00:00
Andrew Nacin 971d337bd3 Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14464 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:29:50 +00:00
Andrew Nacin 14c06f5e81 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: https://develop.svn.wordpress.org/trunk@14454 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:28:31 +00:00
Andrew Nacin 16d48e323b More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 10:01:15 +00:00
Andrew Nacin cc8ae672a6 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14438 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:54:35 +00:00
Andrew Nacin 13e1cfef44 Have 'Add to Menu' and multiple-item drag/drop only affect one meta box at a time. props ptahdunbar, with koopersmith. Non-JS will still handle the meta boxes all together as one form. see #13220, see #13219.
git-svn-id: https://develop.svn.wordpress.org/trunk@14436 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:31:40 +00:00
Andrew Nacin a87ced35aa Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14434 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:24:49 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Andrew Nacin 80ee3d1d2d Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14394 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:35:54 +00:00
Dion Hulse 7f9bee2845 Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: https://develop.svn.wordpress.org/trunk@14390 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:29:17 +00:00
Dion Hulse c1fe068ec6 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: https://develop.svn.wordpress.org/trunk@14387 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:23:44 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Andrew Nacin 80043f2232 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14373 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 16:59:51 +00:00
Andrew Nacin db59b8e7f9 First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14368 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 10:28:35 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin 0948137d65 Fix the nav menu ajax spinners (again).
git-svn-id: https://develop.svn.wordpress.org/trunk@14340 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 21:05:55 +00:00
Andrew Nacin 103e30ed7e Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: https://develop.svn.wordpress.org/trunk@14337 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 19:09:10 +00:00
Andrew Nacin 3b689ba8c8 Clarify menu creation versus save. props duck_, see #13134. Check in scripts for r14332, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14333 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:15:41 +00:00
Andrew Nacin 6971e7c9a4 Fix ajax on add menu item boxes. props koopersmith, see #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14332 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:12:13 +00:00
Andrew Nacin e70f958bff Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14293 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:10:54 +00:00
Andrew Nacin 7cfe307d12 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14286 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:11 +00:00
Andrew Nacin b8f8327393 Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: https://develop.svn.wordpress.org/trunk@14285 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 20:44:08 +00:00
Andrew Nacin c5eb9e9c61 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14283 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 18:30:32 +00:00
Andrew Nacin 610abdf2a5 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: https://develop.svn.wordpress.org/trunk@14267 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:09:00 +00:00
Ryan Boren 77be931ef4 New menu UI. Props filosofo. see #12713
git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 01:05:58 +00:00
Dion Hulse f42b2b775b Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: https://develop.svn.wordpress.org/trunk@14143 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 07:37:45 +00:00
Dion Hulse 632de8561e Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: https://develop.svn.wordpress.org/trunk@14125 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:54:44 +00:00
Mark Jaquith e12a085938 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: https://develop.svn.wordpress.org/trunk@14030 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 13:52:12 +00:00
Andrew Nacin 1b0ea3c637 Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
git-svn-id: https://develop.svn.wordpress.org/trunk@13984 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 03:53:14 +00:00
Andrew Nacin d59ceca06e Remove Gears from UI. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13981 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 00:48:28 +00:00
Andrew Nacin 502eb9d1d5 Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: https://develop.svn.wordpress.org/trunk@13974 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 22:52:30 +00:00
Andrew Nacin 7456b2d56c Fix display of 'enter title here'. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13969 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 12:27:46 +00:00
Andrew Nacin 76049e428d Add 'enter title here' text to title box. see #12591
git-svn-id: https://develop.svn.wordpress.org/trunk@13964 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 10:23:17 +00:00
Andrew Nacin 5615e1ba93 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13951 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 23:27:23 +00:00
Dion Hulse ff6575838c Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
git-svn-id: https://develop.svn.wordpress.org/trunk@13909 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:16:55 +00:00
Dion Hulse a999fdc1a6 Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
git-svn-id: https://develop.svn.wordpress.org/trunk@13900 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:45:51 +00:00
Dion Hulse d3eec153be Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13856 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:53:04 +00:00
Dion Hulse da2927d104 Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13855 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:37:10 +00:00
Andrew Nacin a383d24d57 Remove 'Turbo' link from admin header. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13833 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 20:59:57 +00:00
Andrew Nacin 945699faff Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13803 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 22:26:27 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Dion Hulse 2e11ca383a Better cross-browser support for Custom Background image alignment preview. Props eddieringle. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13799 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 07:14:14 +00:00
Dion Hulse 3ca4e60665 Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13788 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 06:06:18 +00:00
Andrew Nacin 2256bb9a70 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13742 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:44:59 +00:00
Mark Jaquith 1192ddf4f9 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: https://develop.svn.wordpress.org/trunk@13739 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:57:08 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Mark Jaquith a333213a6f No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13730 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:13:16 +00:00
Ryan Boren 1bb04ed42a Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13719 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 19:20:10 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Ryan Boren 8ed4a506c4 Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13685 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 21:57:52 +00:00
Ryan Boren 970bda3701 Menu editor fixes. Props yoavf. fixes #12545 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13651 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 20:27:42 +00:00
Ryan Boren 0a2d1ad6ec Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: https://develop.svn.wordpress.org/trunk@13551 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:06:14 +00:00
Dion Hulse fdf51312a0 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: https://develop.svn.wordpress.org/trunk@13548 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:49:06 +00:00
Andrew Nacin 593cd94b1f Dynamically remove duplicates from the 'display name' profile.php option. fixes #10030
git-svn-id: https://develop.svn.wordpress.org/trunk@13539 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:34:43 +00:00
Ryan Boren 8ef5d73550 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13535 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:48:01 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin 4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00