Commit Graph

1028 Commits

Author SHA1 Message Date
azaozz
981ae0bb18 Show the permalink even when not "pretty" and add "View Post" button if the post is published, see #8976
git-svn-id: http://svn.automattic.com/wordpress/trunk@10458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 12:11:52 +00:00
markjaquith
a196faec47 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: http://svn.automattic.com/wordpress/trunk@10451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-28 19:37:36 +00:00
ryan
e027822f45 Optimize maybe_create_table(). Props jamescollins. fixes #8977
git-svn-id: http://svn.automattic.com/wordpress/trunk@10447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-27 22:35:21 +00:00
ryan
2724b924d6 Force the index only for 0 OR 1 queries. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 22:34:50 +00:00
westi
00e9626be4 Switch to using the ID when calling get_avatar internally to support caching plugins. Fixes #8940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 22:03:40 +00:00
azaozz
f20f62b27d 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: http://svn.automattic.com/wordpress/trunk@10442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 12:59:10 +00:00
ryan
cd3286b018 Don't use order and limit for count query. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 22:40:37 +00:00
ryan
1428dd5a79 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: http://svn.automattic.com/wordpress/trunk@10422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 22:26:40 +00:00
ryan
576f4098d4 If link name not given, use url for name. Props Denis-de-Bernardy. fixes #7789 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 22:47:34 +00:00
ryan
7c6f70ba9c Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 19:02:15 +00:00
azaozz
e9636d400c When inserting orphaned attachment in a post, set post_parent only for this attachment, see #8721
git-svn-id: http://svn.automattic.com/wordpress/trunk@10390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 03:45:57 +00:00
ryan
37abfcb33f Show absolute date instead of relative date for scheduled pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@10389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 23:07:21 +00:00
ryan
18213b4116 Show absolute date instead of relative date for scheduled posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@10388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 22:47:18 +00:00
azaozz
ab30688c26 Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: http://svn.automattic.com/wordpress/trunk@10384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:31:31 +00:00
azaozz
5ce5238272 Concatenated and compressed versions of the default TinyMCE scripts
git-svn-id: http://svn.automattic.com/wordpress/trunk@10369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-16 12:58:38 +00:00
azaozz
3f7facfbe6 Add action hook in admin footer so plugins can output scripts there on specific pages only, props GamerZ, fixes #8859
git-svn-id: http://svn.automattic.com/wordpress/trunk@10362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-15 00:08:20 +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
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
azaozz
94be137f5c Fix ajax-delete of categories, link categories and tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@10343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-10 14:25:51 +00:00
azaozz
3cc307471c TinyMCE: don't load unneeded CSS (custom styles have moved to /themes/advanced/skins/wp_theme)
git-svn-id: http://svn.automattic.com/wordpress/trunk@10338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-09 13:05:16 +00:00
ryan
cb38e921dc Add get_editable_roles() and role filtering. Props jeremyclarke. fixes #8770
git-svn-id: http://svn.automattic.com/wordpress/trunk@10323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 22:00:05 +00:00
azaozz
c045b1a045 Make titles into links in Dashboard Right Now module, props mattwalters, fixes #8438 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 10:08:31 +00:00
azaozz
6d1a60e14c Cast to array to silence warnings from plugin added menus, props DD32, fixes #8782
git-svn-id: http://svn.automattic.com/wordpress/trunk@10293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 04:29:28 +00:00
azaozz
9caa0dc079 Add hooks for the Users/Categories/Link Categories/Tags table columns, props GM_Alex, fixes #8788
git-svn-id: http://svn.automattic.com/wordpress/trunk@10292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 04:21:35 +00:00
ryan
6bc4151290 phpdoc for wp_dropdown_roles(). Add role_names_listing filter. Props jeremyclarke. fixes #8761
git-svn-id: http://svn.automattic.com/wordpress/trunk@10285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 17:40:05 +00:00
ryan
4b3f7d62c4 Add clearing break. Props johnbillion. fixes #8677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:42:05 +00:00
ryan
bbe5c7f6d1 Show actions and checkbox only if user is editable by current user. Props jeremyclarke. fixes #8760
git-svn-id: http://svn.automattic.com/wordpress/trunk@10268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 19:38:44 +00:00
ryan
331e05ee74 user_can_access_admin_page() fix. Props arena. see #8535
git-svn-id: http://svn.automattic.com/wordpress/trunk@10267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 19:18:18 +00:00
azaozz
b54484f937 Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-27 12:18:38 +00:00
azaozz
1ff4349ee5 Fix debug notices for bulk edit, fixes #8707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-26 22:35:08 +00:00
ryan
5aaf5ac0ad Allow overriding cat walker. Props AaronCampbell. fixes #8682 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-23 12:52:37 +00:00
ryan
22a1c35cea get_previous_comments_link() and get_next_comments_link(). Props Viper007Bond. fixes #8058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-22 19:33:09 +00:00
ryan
b117040958 Notice fix from apokalyptik
git-svn-id: http://svn.automattic.com/wordpress/trunk@10225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 22:26:03 +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
ryan
d3b9da7025 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
azaozz
394889ad25 Silence warnings when looking for translations for external plugins for TinyMCE, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 01:12:00 +00:00
ryan
07f625bc03 Explicitly return ref for the sake of PHP4. Fixes user_level being empty when installing on PHP4. Props Mr Pete. fixes #8317 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 20:47:18 +00:00
ryan
6e78e3aaf4 Reset port when saving credntials. Props dwenaus and DD32. fixes #8580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 20:12:16 +00:00
ryan
c08f309815 Sort by 'menu_order, post_title'. see #8549
git-svn-id: http://svn.automattic.com/wordpress/trunk@10182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 22:22:30 +00:00
westi
129d2296d1 Sort page_parent dropdown by menu_order. Fixes #8549.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 21:48:41 +00:00
ryan
046c47f1b0 Remove unneeded lines. Props matthewh84. fixes #8563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-10 19:43:24 +00:00
ryan
dd816fc740 Show 'Post submitted' insted of published when submitting for review from Quick Press. fixes #8547
git-svn-id: http://svn.automattic.com/wordpress/trunk@10154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:38:44 +00:00
ryan
556965cfed Show media buttons for quick press only if user can upload_files. see #8547
git-svn-id: http://svn.automattic.com/wordpress/trunk@10153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 20:31:51 +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
ryan
c5ccfa0e22 Fixed undefined var notice when user can't edit the post
git-svn-id: http://svn.automattic.com/wordpress/trunk@10148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:44:04 +00:00
ryan
28cc8c8b56 Don't show preview link if user can't edit post/page. fixes #8544
git-svn-id: http://svn.automattic.com/wordpress/trunk@10146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 17:31:43 +00:00
markjaquith
fc9076f6e9 Allow IP comment search to search spam if initiated from spam page. props vladimir_kolesnikov. fixes #8394
git-svn-id: http://svn.automattic.com/wordpress/trunk@10143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:31:41 +00:00
azaozz
169bbfa0a6 Keep the menu closed while loading
git-svn-id: http://svn.automattic.com/wordpress/trunk@10140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 12:00:44 +00:00
markjaquith
d04406a031 Fix typo in last commit
git-svn-id: http://svn.automattic.com/wordpress/trunk@10138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:14:31 +00:00
markjaquith
19177023c9 Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374. props azaozz, FFEMTcJ
git-svn-id: http://svn.automattic.com/wordpress/trunk@10137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:07:36 +00:00