Commit Graph

90 Commits

Author SHA1 Message Date
ryan f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan c2873bbab3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +00:00
ryan 6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan e7bfd5f2dd Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 20:21:18 +00:00
ryan 05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan 0fbb0fd093 Revert line accidentally added during merge. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:04:30 +00:00
wpmuguru 346f859e12 merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
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