Commit Graph

756 Commits

Author SHA1 Message Date
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