Commit Graph

4673 Commits

Author SHA1 Message Date
Andrew Ozz d7acc77238 Make simple form validation and ajax-add new categories compatible with jQuery 1.3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@10457 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 07:00:00 +00:00
Mark Jaquith 3815494f05 Drafts have post_date populated now, so look for a zeroed out post_date_gmt to determine non-scheduled nature. fixes #8978 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10451 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 19:37:36 +00:00
Ryan Boren 2683a27a8b Optimize maybe_create_table(). Props jamescollins. fixes #8977
git-svn-id: https://develop.svn.wordpress.org/trunk@10447 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-27 22:35:21 +00:00
Ryan Boren 5c33a003d8 Force the index only for 0 OR 1 queries. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10446 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 22:34:50 +00:00
Peter Westwood fa54320e2e Switch to using the ID when calling get_avatar internally to support caching plugins. Fixes #8940.
git-svn-id: https://develop.svn.wordpress.org/trunk@10445 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 22:03:40 +00:00
Andrew Ozz fd2d60391f Remove events from categories chechboxes in quick edit to speed up page unload, see #8957
git-svn-id: https://develop.svn.wordpress.org/trunk@10444 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 14:23:39 +00:00
Andrew Ozz 4d58681aa4 Improvements to the script loader: allows plugins to queue scripts for the front end head and footer, adds hooks for server side caching of compressed scripts, adds support for ENFORCE_GZIP constant (deflate is used by default since it's faster), see #8628, fixes #8884
git-svn-id: https://develop.svn.wordpress.org/trunk@10442 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 12:59:10 +00:00
Mark Jaquith 44774e5997 Make the top and bottom comment actions dropdowns match ("Approve" was not appearing on bottom one). for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10438 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 03:14:04 +00:00
Andrew Ozz 8cf6fe9af2 Fix empty feed after MT import, props hailin, fixes #8944 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10430 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 12:24:57 +00:00
Ryan Boren b78c24845a Don't use order and limit for count query. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10424 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-23 22:40:37 +00:00
Ryan Boren 0f0b2c2c9e Eliminate SQL_CACLC_FOUND_ROWS for edit-comments.php query. Use results of earlier wp_count_comments() if appropriate otherwise perform COUNT query. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10422 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-23 22:26:40 +00:00
Ryan Boren 181d28cd9a If link name not given, use url for name. Props Denis-de-Bernardy. fixes #7789 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10414 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 22:47:34 +00:00
Ryan Boren d9497b9755 Show Tools menu for all users so they can access turbo. Props Denis-de-Bernardy. fixes #8921 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10403 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 18:55:52 +00:00
Andrew Ozz aa72ea0c2c Fix tags suggest for post quick edit and bulk edit
git-svn-id: https://develop.svn.wordpress.org/trunk@10402 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 12:24:25 +00:00
Ryan Boren 7c9f38cf57 Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10393 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-21 19:02:15 +00:00
Andrew Ozz 0a3b4246b7 When inserting orphaned attachment in a post, set post_parent only for this attachment, see #8721
git-svn-id: https://develop.svn.wordpress.org/trunk@10390 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-21 03:45:57 +00:00
Ryan Boren e80027f5fd Show absolute date instead of relative date for scheduled pages
git-svn-id: https://develop.svn.wordpress.org/trunk@10389 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-20 23:07:21 +00:00
Ryan Boren 05226d13fe Show absolute date instead of relative date for scheduled posts
git-svn-id: https://develop.svn.wordpress.org/trunk@10388 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-20 22:47:18 +00:00
Andrew Ozz eef5b71258 Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: https://develop.svn.wordpress.org/trunk@10384 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-20 20:31:31 +00:00
Ryan Boren bbc6c8b1bd Use ABSPATH when including footer. Props vladimir_kolesnikov. fixes #8848 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10378 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 18:31:08 +00:00
Andrew Ozz 13865daa5a Add Content-Type header to admin-ajax and press this, props UnderWordPressure, fixes #8795
git-svn-id: https://develop.svn.wordpress.org/trunk@10375 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-18 05:40:40 +00:00
Andrew Ozz aae58c3556 Fix Press This tags input, fixes #8743
git-svn-id: https://develop.svn.wordpress.org/trunk@10374 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-18 00:56:15 +00:00
Andrew Ozz ffd66244c7 Add default formatting for <ol> tags and make <input type="password"> match <input type="text">, props beaulebens, fixes #8876
git-svn-id: https://develop.svn.wordpress.org/trunk@10373 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-17 21:17:00 +00:00
Andrew Ozz 8e68af3087 Use gzip instead of deflate as more servers seem to understand it, add separate switch for disabling CSS compression
git-svn-id: https://develop.svn.wordpress.org/trunk@10372 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-17 14:08:15 +00:00
Andrew Ozz 38e3fc9d5a Concatenated and compressed versions of the default TinyMCE scripts
git-svn-id: https://develop.svn.wordpress.org/trunk@10369 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-16 12:58:38 +00:00
Andrew Ozz 5f38225a1c Fix image insertion in IE7
git-svn-id: https://develop.svn.wordpress.org/trunk@10366 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 16:17:46 +00:00
Andrew Ozz 11743ff0c0 Fix Thickbox position for browsers pretending to be IE6
git-svn-id: https://develop.svn.wordpress.org/trunk@10365 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 14:56:52 +00:00
Andrew Ozz c3040a615e Add action "admin_enqueue_scripts" to make it easy for plugins to queue JavaScript and CSS for specific admin pages
git-svn-id: https://develop.svn.wordpress.org/trunk@10364 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 07:43:35 +00:00
Andrew Ozz f36563c215 Add action hook in admin footer so plugins can output scripts there on specific pages only, props GamerZ, fixes #8859
git-svn-id: https://develop.svn.wordpress.org/trunk@10362 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 00:08:20 +00:00
Andrew Ozz 22eddf34d2 Split the script queue in head and footer part, concatenate and compress the default js and css, first run, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10357 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-14 14:18:51 +00:00
Andrew Ozz 2df4ac7356 Fix comment action links after quick editing and reloading of page on enter while quick editing.
git-svn-id: https://develop.svn.wordpress.org/trunk@10349 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-13 01:31:19 +00:00
Andrew Ozz 80fb5c79ce Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-12 13:43:17 +00:00
Ryan Boren 23d722d40a Reinstall fix. fixes #8724 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10346 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-11 21:48:40 +00:00
Andrew Ozz 45a972e7ee Fix tags postboxes when no js
git-svn-id: https://develop.svn.wordpress.org/trunk@10345 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-10 15:10:06 +00:00
Andrew Ozz d66921d5a3 Redirect properly on categories listing page, props Viper007Bond, fixes #8837
git-svn-id: https://develop.svn.wordpress.org/trunk@10344 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-10 14:34:04 +00:00
Andrew Ozz 93ce89d4b6 Fix ajax-delete of categories, link categories and tags
git-svn-id: https://develop.svn.wordpress.org/trunk@10343 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-10 14:25:51 +00:00
Andrew Ozz 0aa6a407e5 Remove unused category parent settings from inline-edit-tax.js
git-svn-id: https://develop.svn.wordpress.org/trunk@10342 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-10 14:09:06 +00:00
Ryan Boren 2baa2f8e58 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@10339 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 19:29:35 +00:00
Andrew Ozz ee141fe280 TinyMCE: don't load unneeded CSS (custom styles have moved to /themes/advanced/skins/wp_theme)
git-svn-id: https://develop.svn.wordpress.org/trunk@10338 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 13:05:16 +00:00
Andrew Ozz 89a00376b4 TinyMCE: minify the custom plugins, remove unneeded CSS, load in the footer
git-svn-id: https://develop.svn.wordpress.org/trunk@10337 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 12:02:59 +00:00
Ryan Boren 11fce3b702 Translate lj user= tags. Props novalis_dt. fixes #5840
git-svn-id: https://develop.svn.wordpress.org/trunk@10334 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-08 17:46:48 +00:00
Andrew Ozz 93cf95974a Add white-space:nowrap to plugins table action links, props DD32, fixes #8810
git-svn-id: https://develop.svn.wordpress.org/trunk@10331 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-07 08:35:08 +00:00
Andrew Ozz 37e3cfe1cd Fix background color for active plugins table rows in IE, props DD32, fixes #8809 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10329 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-07 08:28:54 +00:00
Andrew Ozz 337a58fef6 Fix non-critical js error when loading Thickbox on the plugins page, fixes #8812 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10327 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-07 07:45:53 +00:00
Andrew Ozz ee334aaf40 jQuery 1.3b2 and related changes (jquery.js is not minified to aid testing)
git-svn-id: https://develop.svn.wordpress.org/trunk@10326 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-07 05:02:40 +00:00
Ryan Boren 870e154d2e Move undefined check up. Props DD32. fixes #8807 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10325 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 23:28:21 +00:00
Ryan Boren 5abca0328d Fix notice. Props jeremyclarke. see #8764
git-svn-id: https://develop.svn.wordpress.org/trunk@10324 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 22:05:57 +00:00
Ryan Boren 346ad48bb8 Add get_editable_roles() and role filtering. Props jeremyclarke. fixes #8770
git-svn-id: https://develop.svn.wordpress.org/trunk@10323 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 22:00:05 +00:00
Ryan Boren 2defde173c use wp_dropdown_roles(). Props jeremyclarke. fixes #8764
git-svn-id: https://develop.svn.wordpress.org/trunk@10319 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 17:23:11 +00:00
Ryan Boren 86d305621d Preserve query string when redirecting to tools. Props simonwheatley. fixes #8774 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10311 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-05 19:24:49 +00:00