Commit Graph

154 Commits

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