Commit Graph

93 Commits

Author SHA1 Message Date
Dion Hulse 8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Ryan Boren 708c01dd15 unset temp vars so they don't pollute the global namespace. Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12846 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:16:53 +00:00
Ryan Boren 8f1e29abd1 Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12797 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 18:27:54 +00:00
Ryan Boren f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren 6e875ec562 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12736 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:49:09 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 482284d02f Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12731 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 20:21:18 +00:00
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ryan Boren 31a41551ae Revert line accidentally added during merge. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12720 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 19:04:30 +00:00
Ron Rennick d0f31a991c merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12712 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:11:52 +00:00
Peter Westwood 256e7e7a07 Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120.
git-svn-id: https://develop.svn.wordpress.org/trunk@12583 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 10:15:10 +00:00
Peter Westwood 0f8b3225ed Remove unused global posts_per_page. Fixes #11458 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12551 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 09:01:53 +00:00
Ryan Boren 2f034b4430 Schedule trash collection from admin page loads. see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12120 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 18:13:42 +00:00
Andrew Ozz aaae110d8f Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 05:53:49 +00:00
Ryan Boren 2aa1252ebe 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: https://develop.svn.wordpress.org/trunk@11578 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 02:44:28 +00:00
Ryan Boren fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Andrew Ozz 6358bca7d2 Notice fixes, props sivel, see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11052 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 12:24:45 +00:00
Mark Jaquith 3c2fd1ca40 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: https://develop.svn.wordpress.org/trunk@11040 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 23:12:57 +00:00
Andrew Ozz d96dc87343 Keep the same name and remove unused core, see [10987]
git-svn-id: https://develop.svn.wordpress.org/trunk@10988 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 12:55:03 +00:00
Andrew Ozz ad021e44ad Submit the form when setting items per page option so it's visible straight away
git-svn-id: https://develop.svn.wordpress.org/trunk@10987 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 12:46:53 +00:00
Andrew Ozz 8ecc21e2da Add hook "after_db_upgrade" and flush rewrite rules on the next page load after successful upgrade
git-svn-id: https://develop.svn.wordpress.org/trunk@10530 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 19:19:38 +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
Andrew Ozz 76882ebc7a More blue colors
git-svn-id: https://develop.svn.wordpress.org/trunk@9979 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-30 13:02:30 +00:00
Ryan Boren 5d5eebdc9c New color scheme names.
git-svn-id: https://develop.svn.wordpress.org/trunk@9975 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-30 04:06:35 +00:00
Andrew Ozz 5573ff5349 Fix typo in Menu redirect, props filosofo, fixes #8422
git-svn-id: https://develop.svn.wordpress.org/trunk@9962 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-29 07:53:53 +00:00
Ryan Boren ff3f697dbf Create Tools screen. fixes #8361
git-svn-id: https://develop.svn.wordpress.org/trunk@9929 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:11:25 +00:00
Ryan Boren cb4478f23c Set proper menu parent for importers
git-svn-id: https://develop.svn.wordpress.org/trunk@9900 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 08:58:44 +00:00
Ryan Boren 1f0191fbfe New palette names
git-svn-id: https://develop.svn.wordpress.org/trunk@9897 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 03:48:26 +00:00
Ryan Boren e670c2ac8e Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9482 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 00:00:59 +00:00
Ryan Boren 41666e56da Redirect plugins that hard code their pages to be under edit.php. Props filosofo. fixes #7932
git-svn-id: https://develop.svn.wordpress.org/trunk@9264 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-21 16:31:06 +00:00
Ryan Boren cc50e8f056 Allow top-level menu page to use a slug, rather than filename. Props DD32. fixes #7214
git-svn-id: https://develop.svn.wordpress.org/trunk@9147 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 00:28:53 +00:00
Ryan Boren b55a27e419 Don't flush rules for every post imported. see #7193
git-svn-id: https://develop.svn.wordpress.org/trunk@9101 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-08 22:16:35 +00:00
Ryan Boren 6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Ryan Boren a70e1a34e5 WP-Admin File Level Inline Documentation from santosj. see #7496
git-svn-id: https://develop.svn.wordpress.org/trunk@8618 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 20:26:31 +00:00
Ryan Boren 3351720f04 Generic POST handler. see #7283
git-svn-id: https://develop.svn.wordpress.org/trunk@8315 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 20:24:35 +00:00
Ryan Boren 5d786d179c 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: https://develop.svn.wordpress.org/trunk@8058 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:39:11 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Ryan Boren 928a671565 Color scheme selector fixes from andy. see #6167
git-svn-id: https://develop.svn.wordpress.org/trunk@7258 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 00:12:34 +00:00
Ryan Boren 761397a148 Add admin_init action. fixes #5924
git-svn-id: https://develop.svn.wordpress.org/trunk@6915 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 20:24:50 +00:00
Ryan Boren 9b7fadbb2f Make sure plugin is a file before loading. Props filosofo. fixes #5822
git-svn-id: https://develop.svn.wordpress.org/trunk@6897 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:42:51 +00:00
Ryan Boren 2e6e71f068 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: https://develop.svn.wordpress.org/trunk@6586 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 20:08:59 +00:00
Matt Mullenweg 202c3ed19c Replacing FAT with jQuery effects, new styling for alerts. See #5369.
git-svn-id: https://develop.svn.wordpress.org/trunk@6582 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 12:12:35 +00:00
Ryan Boren 230bf25d88 Revert back to fat for now. see #5369
git-svn-id: https://develop.svn.wordpress.org/trunk@6574 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-08 07:22:07 +00:00
Ryan Boren 1faae5f44d Fade using jquery.color. Props JeremyVisser. fixes #5369
git-svn-id: https://develop.svn.wordpress.org/trunk@6572 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-08 06:39:09 +00:00
Ryan Boren 996d913b0e Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: https://develop.svn.wordpress.org/trunk@6412 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:56:16 +00:00
Peter Westwood 8b7ae31cb9 Switch to is_callable instead of function_exists to allow for class based importer plugins. Fixes #4614
git-svn-id: https://develop.svn.wordpress.org/trunk@6113 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 20:36:31 +00:00
Ryan Boren 71252f8eac Allow plugins to register importers. Props westi and Nazgul. fixes #4614
git-svn-id: https://develop.svn.wordpress.org/trunk@5935 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 23:09:03 +00:00
Mark Jaquith 593eca6f21 ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: https://develop.svn.wordpress.org/trunk@5820 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-27 21:28:01 +00:00