Commit Graph

183 Commits

Author SHA1 Message Date
westi
7d2e5130f6 Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 10:15:10 +00:00
westi
5dca5f2d31 Remove unused global posts_per_page. Fixes #11458 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 09:01:53 +00:00
ryan
31f5798fbb Schedule trash collection from admin page loads. see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 18:13:42 +00:00
azaozz
c790ebcdd9 Remove remains from the old bookmarklet code
git-svn-id: http://svn.automattic.com/wordpress/trunk@12029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 05:53:49 +00:00
ryan
4d0c574bed Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 02:44:28 +00:00
ryan
c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
azaozz
a12587214f Notice fixes, props sivel, see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 12:24:45 +00:00
markjaquith
8f91d9a0b9 Drop the dual-use of db_version. Now it just stores the version. Post-upgrade hook triggered by separate binary db_upgraded option. fixes #9618
git-svn-id: http://svn.automattic.com/wordpress/trunk@11040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 23:12:57 +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
3650836f09 Submit the form when setting items per page option so it's visible straight away
git-svn-id: http://svn.automattic.com/wordpress/trunk@10987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 12:46:53 +00:00
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
ryan
4fceccbece Preserve query string when redirecting to tools. Props simonwheatley. fixes #8774 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 19:24:49 +00:00
azaozz
5a81f18aa2 More blue colors
git-svn-id: http://svn.automattic.com/wordpress/trunk@9979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 13:02:30 +00:00
ryan
ebddd8775d New color scheme names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 04:06:35 +00:00
azaozz
f7790aafcd Fix typo in Menu redirect, props filosofo, fixes #8422
git-svn-id: http://svn.automattic.com/wordpress/trunk@9962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-29 07:53:53 +00:00
ryan
7138d5af58 Create Tools screen. fixes #8361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:11:25 +00:00
ryan
9ec79a2dc6 Set proper menu parent for importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@9900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 08:58:44 +00:00
ryan
61d947e5af New palette names
git-svn-id: http://svn.automattic.com/wordpress/trunk@9897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 03:48:26 +00:00
ryan
7c3eeecb74 Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 00:00:59 +00:00
ryan
e6641a0268 Redirect plugins that hard code their pages to be under edit.php. Props filosofo. fixes #7932
git-svn-id: http://svn.automattic.com/wordpress/trunk@9264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 16:31:06 +00:00
ryan
a2ccbf9a00 Allow top-level menu page to use a slug, rather than filename. Props DD32. fixes #7214
git-svn-id: http://svn.automattic.com/wordpress/trunk@9147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:28:53 +00:00
ryan
da50360c41 Don't flush rules for every post imported. see #7193
git-svn-id: http://svn.automattic.com/wordpress/trunk@9101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:16:35 +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
ecd98d1aff Generic POST handler. see #7283
git-svn-id: http://svn.automattic.com/wordpress/trunk@8315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 20:24:35 +00:00
ryan
c790febe36 More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:39:11 +00:00
ryan
6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +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
4b2bc59df8 Color scheme selector fixes from andy. see #6167
git-svn-id: http://svn.automattic.com/wordpress/trunk@7258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 00:12:34 +00:00
ryan
3992509821 Add admin_init action. fixes #5924
git-svn-id: http://svn.automattic.com/wordpress/trunk@6915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:24:50 +00:00
ryan
9a74743b4c Make sure plugin is a file before loading. Props filosofo. fixes #5822
git-svn-id: http://svn.automattic.com/wordpress/trunk@6897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:42:51 +00:00
ryan
251ad30066 Call WP::init() just before kicking the init action so that the current user is setup as early as possible. fixes #4181
git-svn-id: http://svn.automattic.com/wordpress/trunk@6586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 20:08:59 +00:00
matt
d66013fdd9 Replacing FAT with jQuery effects, new styling for alerts. See #5369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 12:12:35 +00:00
ryan
f9fc69dc40 Revert back to fat for now. see #5369
git-svn-id: http://svn.automattic.com/wordpress/trunk@6574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-08 07:22:07 +00:00
ryan
e7350d078e Fade using jquery.color. Props JeremyVisser. fixes #5369
git-svn-id: http://svn.automattic.com/wordpress/trunk@6572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-08 06:39:09 +00:00
ryan
f4b80af89a Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:56:16 +00:00
westi
b36db5619b Switch to is_callable instead of function_exists to allow for class based importer plugins. Fixes #4614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 20:36:31 +00:00
ryan
6db72e6e43 Allow plugins to register importers. Props westi and Nazgul. fixes #4614
git-svn-id: http://svn.automattic.com/wordpress/trunk@5935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 23:09:03 +00:00
markjaquith
764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +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
markjaquith
5ba17b01b8 Fewer clicks and better user experience for upgrades. fixes #2447
git-svn-id: http://svn.automattic.com/wordpress/trunk@4887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 08:16:43 +00:00
ryan
13c428a9ab Don't force kses filtering of imports. fixes #3290
git-svn-id: http://svn.automattic.com/wordpress/trunk@4645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-13 19:21:09 +00:00
ryan
eda9021317 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 07:31:29 +00:00
matt
07126127e6 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: http://svn.automattic.com/wordpress/trunk@4478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 06:09:48 +00:00
matt
c437b9c9b0 Some UI cleanups, changes, and various miscellany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 01:14:47 +00:00
ryan
7a032342b3 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: http://svn.automattic.com/wordpress/trunk@4202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 20:46:39 +00:00
ryan
0eeccc10e9 Add load action for pagenow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-11 23:57:34 +00:00
ryan
849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
e31723d61e Add plugin page load hooks. Useful for queueing scripts for a particular plugin page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 17:38:09 +00:00
ryan
4e7aacfc21 Menu and plugin tweakage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-26 22:18:36 +00:00
ryan
42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
ryan
ae4cedc61a Die with style. Props Sewar. fixes #2902
git-svn-id: http://svn.automattic.com/wordpress/trunk@3979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 19:13:26 +00:00
ryan
55af15d623 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: http://svn.automattic.com/wordpress/trunk@3946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-03 19:03:37 +00:00
ryan
c93efa866e Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 06:43:54 +00:00
ryan
4d49e98fe4 Script loader from mdawaffe. #2701
git-svn-id: http://svn.automattic.com/wordpress/trunk@3788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-22 17:16:05 +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
ryan
bebd52f478 Entitize
git-svn-id: http://svn.automattic.com/wordpress/trunk@3607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-04 21:08:34 +00:00
ryan
5322fc2faa current user cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 19:08:55 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
matt
759faa6b9a HTML and JS cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-10 05:16:17 +00:00
ryan
17707c8a55 plugin_page fix from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 03:06:04 +00:00
ryan
d203771e72 Verbage change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:15:42 +00:00
ryan
36131de6e4 Upgrade or die.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:11:19 +00:00
ryan
90004a8ae6 Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: http://svn.automattic.com/wordpress/trunk@3139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:01:28 +00:00
ryan
e56c5d190d Add kses_init_filters(). Call it when running importers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-05 23:58:16 +00:00
ryan
5ba66d6c04 User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-14 00:03:02 +00:00
ryan
333025ea54 Don't ping when importing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-10 22:44:14 +00:00
ryan
16aa6aee11 New import system. Very rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-21 07:03:23 +00:00
matt
233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
matt
09adfadae0 Better headers for CGI enviroments
git-svn-id: http://svn.automattic.com/wordpress/trunk@2623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-09 00:17:43 +00:00
matt
70ae8e667b Better config include in admin - http://mosquito.wordpress.org/view.php?id=1307
git-svn-id: http://svn.automattic.com/wordpress/trunk@2592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 11:06:45 +00:00
matt
8e076bda03 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: http://svn.automattic.com/wordpress/trunk@2552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 17:24:05 +00:00
ryan
74328576c6 More category cache cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-31 05:25:54 +00:00
rboren
3ec8c50289 Plugin page hooks. Props: morganiq. http://mosquito.wordpress.org/view.php?id=785 http://mosquito.wordpress.org/view.php?id=797
git-svn-id: http://svn.automattic.com/wordpress/trunk@2234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 01:15:06 +00:00
rboren
ba04c52c00 Cleanup wp-l10n includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-27 15:20:48 +00:00
rboren
5c92876ab2 Do not allow .. anywhere in the filename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 18:05:46 +00:00
saxmatt
7727b00596 Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 18:43:45 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
saxmatt
340804aa79 Move all auth stuff into functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 03:00:55 +00:00
rboren
bd4e71a7ba Allow plugins to be loaded from subdirs of wp-content/plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 00:33:04 +00:00
rboren
04786f267d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00