Commit Graph

627 Commits

Author SHA1 Message Date
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
Ryan Boren ab099ded21 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13410 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:04 +00:00
Ron Rennick 899906649c move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13402 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 17:10:00 +00:00
Mark Jaquith 2df7d2f4e7 Hide URL editing UI for page and category menu items. TODO: eliminate all usage of guid. Use custom field instead. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13390 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:52:29 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Mark Jaquith 56862a5741 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13372 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:37:00 +00:00
Mark Jaquith 537dc90ea6 Increment the menu ID so the first menu works. props junsuijin. fixes #12339
git-svn-id: https://develop.svn.wordpress.org/trunk@13365 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 07:58:14 +00:00
Ryan Boren ec95afd3ca Handle custom post types in inline edit js. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13292 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:21:33 +00:00
Ryan Boren 8726b1d116 Use core jQuery UI. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13269 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:10:20 +00:00
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren 8abd24ce0d Make js noConflict compat. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13266 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:58:00 +00:00
Ryan Boren 8ea82dadd5 Remove custom jquery. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13264 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:35:37 +00:00
Ryan Boren b71cec1a15 Move autocomplete to standard jquery directory. Use core jQuery. Use jQuery instead of $. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13263 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:35:05 +00:00
Ron Rennick f97af13505 introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Andrew Ozz bca05ce950 Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
git-svn-id: https://develop.svn.wordpress.org/trunk@13195 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 11:20:15 +00:00
Andrew Nacin 4d65e83ef9 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13191 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 05:14:48 +00:00
Dion Hulse 7a3a38c39b Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13086 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:40:47 +00:00
Andrew Nacin dc02d03fcb Re-position the QuickPress ajax spinner. Fixes #10680
git-svn-id: https://develop.svn.wordpress.org/trunk@13085 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:35:47 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Dion Hulse bc3fbede7f Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Ryan Boren e5a67cebd5 Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Peter Westwood b374e062c7 Swap out ;; for ; in js too. See #11618.
No need for a new non .dev. version as YUI stripped them anyway.

git-svn-id: https://develop.svn.wordpress.org/trunk@12549 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 17:10:37 +00:00
Andrew Ozz 5ba628b1a9 Remove animation for admin notices, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12385 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 19:53:06 +00:00
Andrew Ozz a01165cf53 Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: https://develop.svn.wordpress.org/trunk@12380 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:34:04 +00:00
Mark Jaquith db7d45ebe2 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: https://develop.svn.wordpress.org/trunk@12355 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:03:26 +00:00
Mark Jaquith e963df0fef Show "Done" feedback after setting post thumbnail image. see #11140 (partial fix)
git-svn-id: https://develop.svn.wordpress.org/trunk@12353 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:34:32 +00:00
Andrew Ozz f27073a3d8 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12347 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 11:27:47 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Mark Jaquith b63538c44a Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: https://develop.svn.wordpress.org/trunk@12334 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 23:29:25 +00:00
Andrew Ozz c2b584a91b Validate date/time fields for posts and comments, fixes #10309
git-svn-id: https://develop.svn.wordpress.org/trunk@12318 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 09:56:20 +00:00
Andrew Ozz 07f2fd2e4b Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: https://develop.svn.wordpress.org/trunk@12317 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 01:43:49 +00:00
Andrew Ozz 01a2ce507b Fix canceling when deleting newly added categories and link categories, fixes #11296
git-svn-id: https://develop.svn.wordpress.org/trunk@12313 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 23:51:04 +00:00
Andrew Ozz b83aada923 Fix Right Now comments counts when only one comment exists
git-svn-id: https://develop.svn.wordpress.org/trunk@12294 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 01:53:25 +00:00
Andrew Ozz a03d21af84 Fix Right Now comments counts for trash, spam or undo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12293 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 00:49:33 +00:00
Andrew Ozz a0ea0aa4ed Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 10:29:12 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz f066b7dc39 Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12278 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 04:37:39 +00:00
Andrew Ozz 8a77135845 Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: https://develop.svn.wordpress.org/trunk@12275 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 09:50:20 +00:00
Andrew Ozz 26a9029a82 Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
git-svn-id: https://develop.svn.wordpress.org/trunk@12236 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 01:54:12 +00:00
Andrew Ozz e14dc40aeb Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: https://develop.svn.wordpress.org/trunk@12215 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 10:24:14 +00:00
Andrew Ozz 3f51751c4d Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: https://develop.svn.wordpress.org/trunk@12196 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 03:08:38 +00:00
Andrew Ozz c875acd15d Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
git-svn-id: https://develop.svn.wordpress.org/trunk@12183 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 05:39:17 +00:00
Andrew Ozz 52bff7f918 Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: https://develop.svn.wordpress.org/trunk@12163 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 11:24:01 +00:00
Andrew Ozz 5988aa12b1 Fix hiding of "Add new tag" tip in IE6/7, props yoavf, fixes #11107
git-svn-id: https://develop.svn.wordpress.org/trunk@12159 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-09 21:54:52 +00:00
Andrew Ozz 78b67c6387 Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12154 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-07 00:50:28 +00:00
Andrew Ozz 7bbf1c2489 Fix IE8 reply to comments from admin fade in/out, decrease comment undo timeout, hide comment reply when moving to trash, fixes #9896
git-svn-id: https://develop.svn.wordpress.org/trunk@12139 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-03 08:28:59 +00:00
Andrew Ozz 5c564f80b5 Fix tag input tip in IE
git-svn-id: https://develop.svn.wordpress.org/trunk@12114 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 08:43:17 +00:00
Mark Jaquith 9f705257d9 thumbnail JS fixes. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12111 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 18:02:44 +00:00
Andrew Ozz 104abc4a7b When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Andrew Ozz 7e5f17cd68 Fix replying to comments from admin, props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@12071 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 17:45:12 +00:00
Andrew Ozz da41fd8836 Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12060 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 20:23:35 +00:00
Andrew Ozz 226abaca88 Smoooth animations for comment move to trash and undo, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12050 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 05:59:03 +00:00
Mark Jaquith d580bc1971 Add the author to the quick edit dropdown author list if they currently lack the ability to edit so as to avoid stealing their post away from them. fixes #10967
git-svn-id: https://develop.svn.wordpress.org/trunk@12046 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 05:18:29 +00:00
Mark Jaquith 492763166b Remove close TB call that was removed earlier. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12037 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 13:58:10 +00:00
Mark Jaquith 0818d29d6e Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12036 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:57:16 +00:00
Mark Jaquith 6d99e52613 Do not close media thickbox after thumbnail is selected, in case uploads are in progress. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12031 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 08:42:32 +00:00
Andrew Ozz 459e0bcfc9 Fix tags and categories postboxes in PressThis
git-svn-id: https://develop.svn.wordpress.org/trunk@12030 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 07:30:10 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Andrew Ozz 158ddd44ef Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: https://develop.svn.wordpress.org/trunk@12016 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 23:28:06 +00:00
Andrew Ozz 9a76ba48d9 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: https://develop.svn.wordpress.org/trunk@12015 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 09:02:22 +00:00
Andrew Ozz 59981a3d5b Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Mark Jaquith ab98fc356b First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +00:00
Andrew Ozz 2895da93b2 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11984 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-30 08:38:32 +00:00
Andrew Ozz c4571d4a60 TinyMCE 3.2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@11974 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 08:33:16 +00:00
Andrew Ozz a8505d056f Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11973 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 04:07:27 +00:00
Andrew Ozz dfed9737d7 Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11967 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 08:47:33 +00:00
Andrew Ozz 5e878a916d Image Editor improvements, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11965 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 01:54:07 +00:00
Andrew Ozz 4f22e99cf5 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 22:07:33 +00:00
Andrew Ozz 6db1862bd7 Fix race condition with autosave when clicking Publish immediately after entering post title, fixes #6728
git-svn-id: https://develop.svn.wordpress.org/trunk@11879 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 04:11:16 +00:00
Andrew Ozz 7d5aff1305 Fix error in widgets.js, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11870 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:16:53 +00:00
Andrew Ozz 772140e60f More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11858 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:03:26 +00:00
Andrew Ozz 5a36aa00cd Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11837 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 09:53:37 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz c7b3be84cf Improve QE data for Draft, Pending and Scheduled posts screens, see #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11743 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 12:21:55 +00:00
Andrew Ozz ffbb2b7b5f Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11742 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 10:58:05 +00:00
Andrew Ozz 8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Andrew Ozz 54e5a88d02 Properly sanitize Gears storeName for IDN domains, fixes #9594
git-svn-id: https://develop.svn.wordpress.org/trunk@11719 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 06:27:42 +00:00
Andrew Ozz 02f0eee9eb Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: https://develop.svn.wordpress.org/trunk@11676 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 08:12:39 +00:00
Andrew Ozz 861fd5e250 Fix pending comments count, paging and comments requests while moderating for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11660 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-27 22:40:06 +00:00