Commit Graph

436 Commits

Author SHA1 Message Date
ryan
4315c69c17 Use check_ajax_referer()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-18 14:51:15 +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
nbachiyski
4cf46b6d96 I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
nacin
af91e5264a Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin
7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +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
d1a37c1f31 When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin
f01d1883e4 Verify nav menu items. props filosofo, fixes #13154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:04:30 +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
ryan
6cd2a49a40 Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 15:59:03 +00:00
dd32
99b439c6f7 Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
git-svn-id: http://svn.automattic.com/wordpress/trunk@14229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-25 07:35:16 +00:00
dd32
63de1db1e9 Add descriptive error messages on Custom Fields updates attempting to set a empty Key or Value. Fixes #11650
git-svn-id: http://svn.automattic.com/wordpress/trunk@14214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 03:53:47 +00:00
nbachiyski
33ecb0ea45 Add a translators comment to clarify what comes after at
git-svn-id: http://svn.automattic.com/wordpress/trunk@14164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:08:48 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
dd32
87bd780ca9 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
ryan
e9dae8c287 Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 17:44:38 +00:00
ryan
06d1f0b78f Make post box states a global user preference. see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 17:39:24 +00:00
dd32
59bb0c7d9c Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:41:40 +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
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
ryan
08cf9f0d98 Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 21:57:52 +00:00
ryan
95623b4ce5 Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: http://svn.automattic.com/wordpress/trunk@13551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:06:14 +00:00
nacin
b657e01fad Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 21:04:37 +00:00
dd32
9472175b79 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: http://svn.automattic.com/wordpress/trunk@13489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 07:12:05 +00:00
wpmuguru
fcf6942d33 more menu improvements, props ptahdunbar, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
westi
2372671879 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:41:33 +00:00
ryan
911a6b1c09 Allow inline saves for non-public custom post types. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:45:38 +00:00
nacin
2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
dd32
0ec732b34a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:36:32 +00:00
markjaquith
76a24ce6b1 Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 21:24:48 +00:00
nacin
bd540fe7f1 Fix notices, props sivel. Fixes #12122
git-svn-id: http://svn.automattic.com/wordpress/trunk@13175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 12:26:47 +00:00
nacin
cfa428b8d2 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
dd32
5e339cea52 Flow on tax-modification errors on Tax inline edit to the UI. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:04:54 +00:00
dd32
c9ea3a7686 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: http://svn.automattic.com/wordpress/trunk@13086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:40:47 +00:00
ryan
a35ead034f Use show_ui instead of _show. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:43:29 +00:00
westi
b9bc395359 Check that $_POST['auto_draft'] is set before accessing it. See #11889.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:56:10 +00:00
markjaquith
0f924eee99 Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
dd32
95fcd6b7ee Remove redundant Category forms/code/ajax. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 11:01:07 +00:00
ryan
699387f747 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
dd32
32adec13a9 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
dd32
34cc6ab57e Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
ryan
b1b44019ff Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
a731cbed8e Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 18:27:54 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
c2873bbab3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
azaozz
5fceee4f91 Fix the 'current_user_can' check for 'add-comment'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 21:02:38 +00:00
azaozz
afdd8d229a Properly update pagination links when moderating comments for a particular post or page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 04:33:16 +00:00
azaozz
6c4c879f50 Discard replies to comments on a trashed post, props nacin, fixes #11401
git-svn-id: http://svn.automattic.com/wordpress/trunk@12394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 03:03:58 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
markjaquith
f74935eb92 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:24:32 +00:00
azaozz
fe29434e05 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
42df991367 Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
git-svn-id: http://svn.automattic.com/wordpress/trunk@12214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:46:07 +00:00
azaozz
d1f60c88f0 Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 03:08:38 +00:00
azaozz
a55fd568d4 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
westi
04638ecd6f Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 11:50:59 +00:00
markjaquith
af407e7e3f Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
ryan
410fcc2e42 Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
azaozz
b2966fba30 Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
azaozz
efa493655e Show the login form in a popup when autosave hits the login grace period, fixes #10704
git-svn-id: http://svn.automattic.com/wordpress/trunk@12021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 11:26:59 +00:00
azaozz
d20c23e98d Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
markjaquith
9109450809 Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
48932f96fe Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
azaozz
1c161c23c2 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
azaozz
b7f7105c2b Fix comment moderation for authors, props scribu, fixes #10677
git-svn-id: http://svn.automattic.com/wordpress/trunk@11881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 06:47:45 +00:00
ryan
28f552efa5 Add autosave_generate_nonces action. Props prettyboymp. fixes #10634
git-svn-id: http://svn.automattic.com/wordpress/trunk@11851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:57:11 +00:00
azaozz
be026258fa "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
d2fec31c0e "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 03:11:12 +00:00
ryan
36d7a55b5e change wp_ajax_nopriv in admin-ajax.php to support GET as well as POST. Props dd32. fixes #10345
git-svn-id: http://svn.automattic.com/wordpress/trunk@11694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-06 16:55:07 +00:00
azaozz
f385e7da46 Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: http://svn.automattic.com/wordpress/trunk@11676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 08:12:39 +00:00
azaozz
daa5da7259 Fix pending comments count, paging and comments requests while moderating for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:40:06 +00:00
ryan
0c8f4cba63 Don't show error message when updating a custom field without changing its value. see #10254
git-svn-id: http://svn.automattic.com/wordpress/trunk@11644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 06:19:54 +00:00
ryan
fdf5bef23a Pass taxonomy to_tag_row() when adding tags via ajax. Props dd32. fixes #10019
git-svn-id: http://svn.automattic.com/wordpress/trunk@11512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 16:39:39 +00:00
azaozz
b7bc0faa73 Reload the widget form with the ajax response after save, add Close link to the widgets, don't auto-close on save to show possible errors returned from validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@11498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 11:34:08 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz
0632395ad6 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:08:51 +00:00
ryan
d36f0721c8 Reassign links to default cat when deleting link cats via ajax. fixes #9869
git-svn-id: http://svn.automattic.com/wordpress/trunk@11401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 18:08:15 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
acd92c27ab Add escaping for quick edit saves. Props hailin. fixes #9822
git-svn-id: http://svn.automattic.com/wordpress/trunk@11343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 20:05:52 +00:00
azaozz
66fa9d7da3 Properly unset widget number when saving
git-svn-id: http://svn.automattic.com/wordpress/trunk@11240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 17:17:54 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
161b628ba9 Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593
git-svn-id: http://svn.automattic.com/wordpress/trunk@11158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 18:43:04 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
c2ff1cd44a Some attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:09:08 +00:00
ryan
7b9137f7bf Add missing quotes for returned values in admin-ajax.php. Props Simek. fixes #9654
git-svn-id: http://svn.automattic.com/wordpress/trunk@11099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 18:36:27 +00:00
azaozz
0200501698 Add and edit widget when js is disabled, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 10:58:50 +00:00
azaozz
5563639dd5 Keep the same name and remove unused core, see [10987]
git-svn-id: http://svn.automattic.com/wordpress/trunk@10988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 12:55:03 +00:00
azaozz
dee602f501 Show proper error when adding a custom field without a value, props scohoust, fixes #7541
git-svn-id: http://svn.automattic.com/wordpress/trunk@10957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:55:35 +00:00
azaozz
29f9a48eaa CSS cleanup and fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@10943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 04:41:05 +00:00
azaozz
4be0d4b866 Widgets: open when adding, clean-up AJAX calls, slower animation/less jumping in IE, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 16:20:58 +00:00
azaozz
730c6d3fd8 Prevent hiding of the Publish postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@10917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 03:39:46 +00:00
azaozz
123d7ee968 Widgets page, first run, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-11 14:37:24 +00:00
ryan
f2208f3c91 Add per page screen option for tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@10909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:52:57 +00:00
ryan
1164645872 Add per page screen option for categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@10908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 21:47:01 +00:00
ryan
6f431038f2 Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 20:58:25 +00:00
azaozz
9d35395cb5 Tag descriptions, props aaroncampbell, fixes #9381
git-svn-id: http://svn.automattic.com/wordpress/trunk@10903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-09 16:00:40 +00:00
azaozz
d849a19db2 Styling and minor improvements for items per page option
git-svn-id: http://svn.automattic.com/wordpress/trunk@10872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-05 08:25:10 +00:00
azaozz
e5e2f13181 Fix highlighting of the whole page while dragging a sortable in WebKit, ajax tag cloud for non-admin users
git-svn-id: http://svn.automattic.com/wordpress/trunk@10849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-28 08:21:43 +00:00
ryan
72a58f8025 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:47:47 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
33de670823 Fire nopriv actions from post and ajax handlers when user is not logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 21:43:35 +00:00
ryan
583b8d5cb5 Allow users with edit_posts cap to use ajax tag search. Props yoavf. fixes #8651
git-svn-id: http://svn.automattic.com/wordpress/trunk@10719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 20:30:56 +00:00
ryan
3e3cb817f1 Add some error feedback to ajax comment moderation. see #9261
git-svn-id: http://svn.automattic.com/wordpress/trunk@10681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 21:48:37 +00:00
azaozz
05135541be Allow the dashboard widgets to be arranged in up to four columns. The number of columns can be selected from the Screen Options tab.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-24 02:37:22 +00:00
ryan
8817375a71 Fire admin_init action in admin-ajax. Props DD32. fixes #8574
git-svn-id: http://svn.automattic.com/wordpress/trunk@10622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 06:58:26 +00:00
ryan
4290916159 Make can_compress_scripts a site option. Add site option wrappers for WP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 23:38:11 +00:00
ryan
4161f3bc32 Define WP_IMPORTING for lj-importer. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-16 20:59:11 +00:00
azaozz
affd966711 Custom taxonomies support: quick edit, delete, show in the menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@10557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 08:00:29 +00:00
ryan
556a4b2a05 More custom taxonomy support for edit-tags.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@10555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 00:00:01 +00:00
ryan
e74d1ca69d Revert the revert per Matt. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 18:24:02 +00:00
ryan
bda801308b Revert new LJ importer. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 17:49:11 +00:00
ryan
691eaf1f13 Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-03 23:04:31 +00:00
azaozz
75850602a5 Detect when the server compresses output, see #8628
git-svn-id: http://svn.automattic.com/wordpress/trunk@10476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-01 09:45:24 +00:00
azaozz
fc8345977f Completely New LiveJournal Importer, props beaulebens, see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-31 18:41:35 +00:00
azaozz
fd6f6fe44b Add Content-Type header to admin-ajax and press this, props UnderWordPressure, fixes #8795
git-svn-id: http://svn.automattic.com/wordpress/trunk@10375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-18 05:40:40 +00:00
azaozz
fc7d871678 Split the script queue in head and footer part, concatenate and compress the default js and css, first run, see #8628
git-svn-id: http://svn.automattic.com/wordpress/trunk@10357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-14 14:18:51 +00:00
azaozz
598f966edc Fix comment action links after quick editing and reloading of page on enter while quick editing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 01:31:19 +00:00
azaozz
1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +00:00
ryan
7cf82cbd00 Check for is_wp_error() return
git-svn-id: http://svn.automattic.com/wordpress/trunk@10261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 18:04:52 +00:00
ryan
8a8ac376bf Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: http://svn.automattic.com/wordpress/trunk@10222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 19:12:26 +00:00
matt
d58297955d Update pagination links on edit-comments when approving/deleting/etc. Hat tip: mdawaffe. Fixes #8584.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 12:13:30 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
markjaquith
91082d58b1 More informative error for when there are no popular tags. fixes #8522
git-svn-id: http://svn.automattic.com/wordpress/trunk@10142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:24:14 +00:00
azaozz
ac89cab565 Fix comment actions after using QE when listing pending and spam comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@10116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 12:18:04 +00:00
markjaquith
19938ff3ee Make AJAX comment river post_id and comment_type aware
git-svn-id: http://svn.automattic.com/wordpress/trunk@10104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 07:31:27 +00:00
ryan
75a6579d2b User term IDs returned from wp_update_term() in case a plugin that remaps IDs is in use
git-svn-id: http://svn.automattic.com/wordpress/trunk@10055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 04:08:20 +00:00
azaozz
9ac312adb5 Fix QE for categories when category description has quotes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 13:03:03 +00:00
azaozz
e05cff11ea Fix QE and Reply actions on comments that come in via infinite comment stream
git-svn-id: http://svn.automattic.com/wordpress/trunk@9868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 02:41:54 +00:00
ryan
3fc11304a5 Allow underscores in page names for meta box and column requests. see #8246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 18:38:20 +00:00
azaozz
f0804b3c26 QE: fix notices and check if the returned string contains the row HTML, props DD32, fixes #8115
git-svn-id: http://svn.automattic.com/wordpress/trunk@9712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 12:04:38 +00:00
ryan
e09057ce2e Limit tag suggest to tags. Props DD32. fixes #8164
git-svn-id: http://svn.automattic.com/wordpress/trunk@9629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 05:02:58 +00:00
ryan
3b043a8308 notice fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 02:05:59 +00:00
azaozz
8d65096069 Add "Choose from popular tags" to the tags postbox
git-svn-id: http://svn.automattic.com/wordpress/trunk@9518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:15:59 +00:00
azaozz
11aaba8bc1 2 column pages for Categories and Link Categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@9354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 09:08:52 +00:00
azaozz
76d405b601 More styling for the Tags page, change the Options pages background color to light gray
git-svn-id: http://svn.automattic.com/wordpress/trunk@9345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 20:55:40 +00:00
ryan
2d2c0736e3 Allow ['action'] in admin-ajax.php. Props misterbisson. fixes #7945
git-svn-id: http://svn.automattic.com/wordpress/trunk@9281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 17:15:19 +00:00
azaozz
b7959c1d28 Comments post-box: show comments on the currently edited post with ajax, 20 at a time
git-svn-id: http://svn.automattic.com/wordpress/trunk@9225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 09:44:22 +00:00
azaozz
72577aacd8 Show warning if user is logged out while writing or editing, includes patch by tott, fixes #7630
git-svn-id: http://svn.automattic.com/wordpress/trunk@9216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 21:59:06 +00:00
ryan
637cca38da Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:32:34 +00:00
azaozz
6288b2b867 Convert the comment reply popup to a temp table row for consistency, add Quick Edit for comments, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@9098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 01:18:16 +00:00
azaozz
dc564f4792 Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 04:43:52 +00:00
azaozz
339e87dc5c Batch editing, first cut, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 13:42:34 +00:00
azaozz
2e11a3bf66 Sytling and improvements to inline editing, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 19:45:45 +00:00
azaozz
81a430dbb6 Add nonces to quick edit, see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 11:32:33 +00:00
azaozz
fe921a53ec Reattaching of orphan attachments and choose post/page ajaxed search box
git-svn-id: http://svn.automattic.com/wordpress/trunk@8901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-16 04:24:28 +00:00
ryan
c862000e76 Column hiding for manage posts. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 01:46:30 +00:00
ryan
2f582d83e7 Inline editing. First cut. Props Aaron Harp. see #6815
git-svn-id: http://svn.automattic.com/wordpress/trunk@8857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-10 22:47:03 +00:00
westi
00583d64eb Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 20:47:01 +00:00
azaozz
95fa29a208 Reply to comments from admin, first run, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 06:56:22 +00:00
ryan
b314e60f74 First cut of 'Show on screen' metabox show/hide. Needs styling. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 18:58:42 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
ryan
175c2b6fb1 WP-Admin File Level Inline Documentation from santosj. see #7496
git-svn-id: http://svn.automattic.com/wordpress/trunk@8618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:26:31 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
30d7084f60 Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:14:53 +00:00
matt
80b1ebdbbf Ajax Deleting an object that's already been deleted should silently succeed. Hat tip: mdawaffe. Fixes #7264.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 02:00:21 +00:00
markjaquith
b45101a5d5 Enable tag auto-suggest for multiple tags at once (without having to hit enter and send each one "down below"). fixes #5580
git-svn-id: http://svn.automattic.com/wordpress/trunk@8214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-30 00:04:22 +00:00
ryan
0db872b5a1 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@8011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 22:21:36 +00:00
ryan
5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan
01acf41355 Put checked categories at the top of the checlist. Props mdawaffe. fixes #7000 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 21:35:18 +00:00
ryan
129d030c20 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan
6e23bed1fd wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 22:45:53 +00:00
ryan
35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan
4c9d2e9dfa Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:57:29 +00:00
ryan
248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
48db986c36 Fix addition of new meta keys when no meta keys currently exist. Props DD32. fixes #6343
git-svn-id: http://svn.automattic.com/wordpress/trunk@7509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 01:42:38 +00:00
ryan
a370785fbc Fix custom field add/update/delete. Props mdawaffe. fixes #6343
git-svn-id: http://svn.automattic.com/wordpress/trunk@7468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:15:48 +00:00
ryan
cd4894370a More nonce renewals from andy. fixes #6266
git-svn-id: http://svn.automattic.com/wordpress/trunk@7376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 04:59:54 +00:00
ryan
34d67f9907 Renew autosave nonce. Props andy. fixes #6266
git-svn-id: http://svn.automattic.com/wordpress/trunk@7375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-18 02:43:20 +00:00
ryan
9f1d38c249 Display 15 posts. Remove no longer needed add-post AJAX action. Props johnhennmacc. fixes #6264
git-svn-id: http://svn.automattic.com/wordpress/trunk@7352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 22:18:32 +00:00
ryan
4f60026851 Don't allow duplicate category creation. Props westi and mdawaffe. fixes #3799
git-svn-id: http://svn.automattic.com/wordpress/trunk@7336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 20:37:02 +00:00
markjaquith
1da923bdfd Post slug fixes from nbachiyski. fixes #6072
git-svn-id: http://svn.automattic.com/wordpress/trunk@7162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-05 22:09:28 +00:00
ryan
4e45603410 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 00:05:30 +00:00
ryan
08ed4d3b40 Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: http://svn.automattic.com/wordpress/trunk@7145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:15:34 +00:00
ryan
b1f0a853da Slug edit fix from nbachiyski. fixes #6072
git-svn-id: http://svn.automattic.com/wordpress/trunk@7139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:02:53 +00:00
ryan
5504c11b58 Only show "saved at" when the post was actually saved. Props mdawaffe. fixes #6053
git-svn-id: http://svn.automattic.com/wordpress/trunk@7138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 20:58:06 +00:00
ryan
d9aef704a1 Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: http://svn.automattic.com/wordpress/trunk@7103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-29 09:51:36 +00:00
ryan
76996fcd71 Fade approved comments from moderated list. Props mdawaffe. fixes #6032
git-svn-id: http://svn.automattic.com/wordpress/trunk@7098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 22:12:04 +00:00
ryan
51a3623aed Unify comment display. Props mdawaffe. fixes #6025
git-svn-id: http://svn.automattic.com/wordpress/trunk@7082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 06:50:25 +00:00
ryan
dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan
eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan
2b7ea6a824 Fix edit slug ajax nonce. props nbachiyski. see #5816
git-svn-id: http://svn.automattic.com/wordpress/trunk@6788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 17:40:16 +00:00
ryan
bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan
7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
879f7f4766 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
matt
5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
matt
43093f6038 This destroys other shutdown actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 02:46:22 +00:00
ryan
db44305ce1 Fixes for new categories interface from mdawaffe. fixes #5618
git-svn-id: http://svn.automattic.com/wordpress/trunk@6591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:19:58 +00:00
matt
16d42d6ee7 New experimental category interface, fixes #5618. Hat tip: mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 09:39:35 +00:00
ryan
d3e7affa4b Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: http://svn.automattic.com/wordpress/trunk@6584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:46:13 +00:00
ryan
62d4757979 Mass select for users from cpoteet and mdawaffe. fixes #5592
git-svn-id: http://svn.automattic.com/wordpress/trunk@6570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-07 20:38:49 +00:00
ryan
4f56c35980 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:34:33 +00:00
matt
ae18e22598 New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
westi
4c53026f96 Autosave tags as well. Fixes #5359 props sembee
git-svn-id: http://svn.automattic.com/wordpress/trunk@6373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-11 20:30:22 +00:00
ryan
26cd478bb7 Output WP_Error message when adding categories via AJAX. fixes #5342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:12:49 +00:00
ryan
f831731601 JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 06:23:16 +00:00
ryan
1d0bf72d2f AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: http://svn.automattic.com/wordpress/trunk@6299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:53:32 +00:00
ryan
1920dc0390 Post filter fixes from mdawaffe. fixes #5249
git-svn-id: http://svn.automattic.com/wordpress/trunk@6287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 23:02:24 +00:00
ryan
f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan
9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan
c6d79a79b0 Don't die with type
git-svn-id: http://svn.automattic.com/wordpress/trunk@5923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 15:53:25 +00:00
ryan
539b2e48f0 First cut of link category management. Rough and ugly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 05:08:27 +00:00
ryan
4214428322 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 02:53:09 +00:00
ryan
fa860d54c0 Fix include path. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:53:16 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00
ryan
f24f716775 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: http://svn.automattic.com/wordpress/trunk@5118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 21:20:16 +00:00
matt
3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
markjaquith
d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith
629e270a8e Prevent double timezone offset when saving titleless AJAX-created drafts. fixes #3701
git-svn-id: http://svn.automattic.com/wordpress/trunk@4882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-14 22:44:57 +00:00
ryan
8c6162e883 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: http://svn.automattic.com/wordpress/trunk@4760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 03:32:54 +00:00
ryan
d8d4ca14d0 js_escape and quot fixes from nbachiyski. fixes #3524
git-svn-id: http://svn.automattic.com/wordpress/trunk@4700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 03:02:33 +00:00
markjaquith
bdd210972c Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith
5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
ccacbf47cd Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: http://svn.automattic.com/wordpress/trunk@4583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 23:00:04 +00:00
ryan
0bcce8aad3 Avoid that something strange happened error. Props mdawaffe. fixes #3276
git-svn-id: http://svn.automattic.com/wordpress/trunk@4575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 12:02:30 +00:00
ryan
1905a747d4 Use temporary title when creating empty posts. Props mdawaffe. fixes #3097
git-svn-id: http://svn.automattic.com/wordpress/trunk@4570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 04:38:07 +00:00
ryan
9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan
ce0c2a2f64 AJAX responsiveness improvements from mdawaffe. fixes #3099
git-svn-id: http://svn.automattic.com/wordpress/trunk@4187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-13 21:39:53 +00:00
ryan
5dc1aaf918 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-02 22:08:10 +00:00
ryan
30dcdb6b49 Nonce delete comment. Props mdawaffe. fixes #3103
git-svn-id: http://svn.automattic.com/wordpress/trunk@4162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-02 22:05:37 +00:00
ryan
e41db03b26 Ajax post meta fixes from mdawaffe. fixes #3098
git-svn-id: http://svn.automattic.com/wordpress/trunk@4157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-02 17:03:57 +00:00
ryan
7ac67243e8 autosave fix ups
git-svn-id: http://svn.automattic.com/wordpress/trunk@4086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:50:28 +00:00
ryan
b4601fc06c Autosave and prototype. Props masquerade. fixes #3020 #3017
git-svn-id: http://svn.automattic.com/wordpress/trunk@4082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 03:54:45 +00:00
ryan
04f357b4eb Admin AJAX tweaks from mdawaffe. fixes #2969
git-svn-id: http://svn.automattic.com/wordpress/trunk@4042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-25 19:01:52 +00:00
ryan
c2a613422c Category Ajax improvements from mdawaffe. fixes #2803
git-svn-id: http://svn.automattic.com/wordpress/trunk@4041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-25 06:36:10 +00:00
ryan
f94f2f0bcf Use the correct filename. Props Mark Jaquith. fixes #2815
git-svn-id: http://svn.automattic.com/wordpress/trunk@3863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 17:55:18 +00:00
ryan
0497d716ad Get all error messages with get_error_messages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:48:14 +00:00
ryan
cebb0a3a15 AJAXify user addition. Props mdawaffe. fixes #2624
git-svn-id: http://svn.automattic.com/wordpress/trunk@3677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:31:26 +00:00
ryan
baa30dd4d8 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: http://svn.automattic.com/wordpress/trunk@3660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-29 01:51:55 +00:00