Commit Graph

1039 Commits

Author SHA1 Message Date
azaozz
52d12303ea Add hook "after_db_upgrade" and flush rewrite rules on the next page load after successful upgrade
git-svn-id: http://svn.automattic.com/wordpress/trunk@10530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-09 19:19:38 +00:00
azaozz
552b480eb2 Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060
git-svn-id: http://svn.automattic.com/wordpress/trunk@10528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 18:37:47 +00:00
azaozz
ccd5cea290 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: http://svn.automattic.com/wordpress/trunk@10525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 13:38:02 +00:00
azaozz
515b09febb Fix delete warnings for categories, link categories, tags and comments, fixes #9050
git-svn-id: http://svn.automattic.com/wordpress/trunk@10522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-07 15:26:01 +00:00
ryan
7aec230e33 Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 18:06:20 +00:00
azaozz
4aa67fce76 Add a filter to the post states list, props johnbillion, fixes #9033
git-svn-id: http://svn.automattic.com/wordpress/trunk@10497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 16:52:36 +00:00
azaozz
23604d3499 Fix hooks in Users/Categories/Link Categories/Tags table columns, props PeteHoliday, fixes #8788
git-svn-id: http://svn.automattic.com/wordpress/trunk@10493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 12:31:47 +00:00
azaozz
fc511373de Disable QuickPress buttons while saving, change "Cancel" to "Reset"
git-svn-id: http://svn.automattic.com/wordpress/trunk@10479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 01:43:56 +00:00
azaozz
af04dea7db Fix singular/plural translation collision, props nbachiyski and Kuba Zwolinski, fixes #8154
git-svn-id: http://svn.automattic.com/wordpress/trunk@10478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 00:00:11 +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
cb35d830c4 Typo fix: occured/occurred, props demetris, fixes #8950
git-svn-id: http://svn.automattic.com/wordpress/trunk@10468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-30 14:30:30 +00:00
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