Commit Graph

535 Commits

Author SHA1 Message Date
markjaquith
20cb3ed21b Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 22:08:49 +00:00
ryan
bc1bf148e4 Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 15:16:58 +00:00
nacin
f02fddce86 Save menu locations meta box via ajax. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
nacin
6c01265794 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:39:53 +00:00
nacin
d6e2ef4dbf Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:17:57 +00:00
nacin
09f2cbdfa4 Validation and nonce improvements to custom background UI. props ocean90, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 19:47:03 +00:00
ryan
7162ca097e autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: http://svn.automattic.com/wordpress/trunk@14663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 14:03:46 +00:00
nacin
3f796315da Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:32:48 +00:00
nbachiyski
46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
nacin
8bd2d0505b Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 04:51:57 +00:00
nacin
544d3d0f84 Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 04:49:52 +00:00
nacin
444f8cc6c4 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: http://svn.automattic.com/wordpress/trunk@14520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-08 21:56:53 +00:00
nacin
0a71b5dc8a Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:11:52 +00:00
nacin
494290312a Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 15:40:29 +00:00
nacin
625f6d8ad5 Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:13:31 +00:00
nacin
e34150ab5b Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
nacin
8b27606b04 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 21:23:53 +00:00
nacin
2d7f62489d Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 21:06:43 +00:00
nacin
7b8588152f Trim trailing whites from nav-menu js.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:37:32 +00:00
nacin
585ea858af Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:29:50 +00:00
nacin
3d76f61923 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 21:28:31 +00:00
nacin
0891a9dea0 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: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin
3a69ab9602 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:54:35 +00:00
nacin
ac7687ee8d 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: http://svn.automattic.com/wordpress/trunk@14436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:31:40 +00:00
nacin
7466fadd24 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: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
9dd4702113 Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:35:54 +00:00
dd32
3b5de7199e Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:29:17 +00:00
dd32
9a87641ad8 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: http://svn.automattic.com/wordpress/trunk@14387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 19:23:44 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
nacin
0c2e93aee7 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 16:59:51 +00:00
nacin
08f650de1a First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 10:28:35 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
c3d2524889 Fix the nav menu ajax spinners (again).
git-svn-id: http://svn.automattic.com/wordpress/trunk@14340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 21:05:55 +00:00
nacin
16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
nacin
54763a0e76 Clarify menu creation versus save. props duck_, see #13134. Check in scripts for r14332, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:15:41 +00:00
nacin
c32241fc4b Fix ajax on add menu item boxes. props koopersmith, see #13204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:12:13 +00:00
nacin
7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00
nacin
8787503192 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:11 +00:00
nacin
90ea03383f Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
nacin
8c9f71bb57 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
nacin
b8b7d95dd0 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:09:00 +00:00
ryan
e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
dd32
5cd73bf182 Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:37:45 +00:00
dd32
f4c48adc7f Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: http://svn.automattic.com/wordpress/trunk@14125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:54:44 +00:00
markjaquith
46a353ece7 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 13:52:12 +00:00
nacin
2581314a95 Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
git-svn-id: http://svn.automattic.com/wordpress/trunk@13984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:53:14 +00:00
nacin
2501fac129 Remove Gears from UI. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:48:28 +00:00
nacin
589997d8cb 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: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
baa8cd08bb Fix display of 'enter title here'. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:27:46 +00:00