Commit Graph

185 Commits

Author SHA1 Message Date
ryan
6b6c2583a4 Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
git-svn-id: http://svn.automattic.com/wordpress/trunk@15867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 14:16:03 +00:00
nacin
f1a95d0b80 Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 19:38:19 +00:00
nacin
0cfdd41300 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 15:37:46 +00:00
nacin
baa6ca4b2c Add links to the codex changelog in update notification strings. props dtoj, see #11739
git-svn-id: http://svn.automattic.com/wordpress/trunk@13250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:28:10 +00:00
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
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
wpmuguru
2653342f43 merge multisite wp-admin/includes except schema, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 00:21:13 +00:00
ryan
166435891c Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
ryan
6f5c3fb7cf Start roughing in GUU. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 16:11:59 +00:00
westi
55c0ecb52f phpDoc subpackage is Administration not Admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 21:13:25 +00:00
azaozz
46dcb545db Fix warnings in wp_plugin_update_rows(), see #10464
git-svn-id: http://svn.automattic.com/wordpress/trunk@11785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-07 09:33:40 +00:00
westi
32f63b12b7 Move plugin update notice output to the plugin specific hook so as to make them easier to filter and manage from plugins that want to do there own thing. Fixes #10464 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 21:52:31 +00:00
azaozz
cf7300c795 Add gray background to inactive rows on plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 02:08:34 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz
a303904bd6 Some more styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 01:27:34 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
azaozz
df3ecac02b Sanitize plugin update information, props hakre, fixes #5422
git-svn-id: http://svn.automattic.com/wordpress/trunk@11376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 20:26:36 +00:00
ryan
b3399e0b70 Remove unneeded pipe in admin footer. Props DD32, Denis-de-Bernardy. fixes #8676
git-svn-id: http://svn.automattic.com/wordpress/trunk@11298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 06:10:08 +00:00
ryan
f0e8324f06 Fix plugin update notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@11276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 20:14:27 +00:00
ryan
f7c6d52341 Fix plugin update notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@11275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 20:12:03 +00:00
ryan
3a4429841f Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@11262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 05:24:56 +00:00
ryan
19da2c8b95 Sanitize plugin update information. Props hakre, Viper007Bond. fixes #5422
git-svn-id: http://svn.automattic.com/wordpress/trunk@11258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 04:50:36 +00:00
ryan
af18e8422a Add hook for adding info to plugin update message. Props JohnLamansky. fixes #9553
git-svn-id: http://svn.automattic.com/wordpress/trunk@11193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 05:19:53 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan
1cd542a5e2 consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875
git-svn-id: http://svn.automattic.com/wordpress/trunk@11005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 19:36:28 +00:00
azaozz
1e31cc81a0 Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@10939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 19:55:41 +00:00
ryan
1d4574f9bf Use get_transient() for update_themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 23:18:42 +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
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
535db0f29a Allow override of default file permissions with FS_CHMOD_DIR and FS_CHMOD_FILE. Props DD32. see #8478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:58:46 +00:00
ryan
9d6e621b2d Notice fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@9719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:41:27 +00:00
ryan
369fe8d11f Do not show update nag on update page. Props nbachiyski. fixes #8199
git-svn-id: http://svn.automattic.com/wordpress/trunk@9669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 21:10:53 +00:00
ryan
778fe45e83 Revert [9523]. fixes #8195 see #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 18:48:54 +00:00
ryan
f79dc07a2e Bring back update nag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:17:47 +00:00
ryan
f597bae652 More core update to update-core.php. Allow re-installing current version (requires api.wp.org changes)
git-svn-id: http://svn.automattic.com/wordpress/trunk@9543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 03:31:41 +00:00
ryan
ef093b8caf Set perms when making plugin dirs. see #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:35:58 +00:00
ryan
4a4a04c076 Support installation of plugins living in a subdir in svn. Props DD32. fixes #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:07:45 +00:00
ryan
1d347362af Fix core update checking. Don't check on every page load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 17:12:03 +00:00
ryan
e55a05453a Better i18n support for automatic upgrade. Props nbachiyski. fixes #8023
git-svn-id: http://svn.automattic.com/wordpress/trunk@9441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:51:06 +00:00
markjaquith
741a20d8b7 Right Now (Dashboard) styling. props Malaiac. fixes #8015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 04:23:17 +00:00
westi
e393417401 Warn if the core updater failed to complete. See #7819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:22:29 +00:00
ryan
85bc4ebd08 Set perms on update-core.php after copying
git-svn-id: http://svn.automattic.com/wordpress/trunk@9288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 21:14:49 +00:00
markjaquith
a15cb1971e New footer style, first draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@9269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-21 22:27:41 +00:00
ryan
aceef65ba0 Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:36:43 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
westi
81aebef3b3 Theme update UI first pass. See #7519 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-26 06:43:53 +00:00
azaozz
f4bc8da1a7 SSH2 filesystem improvements, props ShaneF, see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 03:24:05 +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
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
c0e5180448 Landing page for auto upgrade. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 03:20:16 +00:00
ryan
05305465e4 Automatic upgrade, first cut. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 22:49:35 +00:00
westi
b3cb14fb80 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
westi
35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan
e7e42b56d5 Run plugin checks both admin and blog side. Props DD32 and mdawaffe. fixes #7265
git-svn-id: http://svn.automattic.com/wordpress/trunk@8317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-11 22:04:03 +00:00
matt
120abd8e17 Check for plugin updates more frequently, notify with double bubble trouble. Hat tip: mdawaffe. Fixes #7265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 07:35:20 +00:00
ryan
385d3d9500 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: http://svn.automattic.com/wordpress/trunk@8060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 19:21:35 +00:00
ryan
220af4a96e Typo fix. fixes #7104
git-svn-id: http://svn.automattic.com/wordpress/trunk@8055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 01:45:58 +00:00
ryan
8377b52dc8 Bulk delete/activate/deactivate for plugins. Split plugins into active and available lists. Props DD32. see #7091
git-svn-id: http://svn.automattic.com/wordpress/trunk@8049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 18:09:31 +00:00
ryan
9a21aad36a Typo fixes from azaozz. see #7059
git-svn-id: http://svn.automattic.com/wordpress/trunk@8010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 19:06:27 +00:00
ryan
ffd63e3b33 Make WP_Filesystem work with new directory constants. Props DD32. fixes #7059
git-svn-id: http://svn.automattic.com/wordpress/trunk@8009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 17:29:32 +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
3cfb4b406c Return WP_Error from download_url() on HTTP Errors. Fix cases where current plugin filename differs from the WordPress.org slug. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:36:30 +00:00
ryan
1e11a54317 Deactivate plugins during plugin update. Props DD32. see #6262
git-svn-id: http://svn.automattic.com/wordpress/trunk@7465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:02:00 +00:00
ryan
c6e1d87b09 Fix logic inversion. Props DD32. fixes #6248
git-svn-id: http://svn.automattic.com/wordpress/trunk@7434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:54:17 +00:00
ryan
bf281b5a7b Don't show plugin upgrade notice if user cannot edit_plugins. Props DD32. fixes #6248
git-svn-id: http://svn.automattic.com/wordpress/trunk@7433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:43:54 +00:00
ryan
d1753e67e6 Auto update fixes from DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:37:44 +00:00
ryan
7fa4744082 Upgrade message in dash. Props mdawaffe. fixes #6060
git-svn-id: http://svn.automattic.com/wordpress/trunk@7237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:13:07 +00:00
ryan
5fa2304d1e Fix deletion of plugins not in their own directory. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 17:13:41 +00:00
ryan
dad505b57e Return error if base dir empty. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 07:44:23 +00:00
ryan
beb71f0932 wp-fs fixes from DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:10:17 +00:00
ryan
04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
c71d96e269 Plugin updater updates. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 21:20:23 +00:00
ryan
efd7c23c87 Fix plugin version compare. Props mdawaffe. fixes #5978
git-svn-id: http://svn.automattic.com/wordpress/trunk@7076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:43:22 +00:00
ryan
1ff305a90c fs direct fixes from DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@6920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 00:15:55 +00:00
ryan
9aab2ce97a First cut at plugin update. Props DD32 for the filesystem abstraction. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@6779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 05:45:54 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
markjaquith
d3d447d6e9 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: http://svn.automattic.com/wordpress/trunk@6151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 00:08:50 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
markjaquith
0219651b96 Check manage_options for upgrade notification. Tailor message accordingly. Props johnbillion. fixes #4869
git-svn-id: http://svn.automattic.com/wordpress/trunk@5994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 18:21:03 +00:00
westi
f9e28418ce Ensure we always show the current version in the footer if the last update check failed. Fixes #4867 props Viper007Bond
git-svn-id: http://svn.automattic.com/wordpress/trunk@5987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 16:25:50 +00:00
markjaquith
88f73f7f41 Use "update" language to refer to new versions. Props johnbillion. fixes #4868
git-svn-id: http://svn.automattic.com/wordpress/trunk@5985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 14:41:03 +00:00
ryan
5fc07fcd15 Gettext fixes from nbachiyski. fixes #4835
git-svn-id: http://svn.automattic.com/wordpress/trunk@5955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 18:57:55 +00:00
matt
27657cd8cf First pass plugin update notification, see #4795
git-svn-id: http://svn.automattic.com/wordpress/trunk@5913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 10:48:48 +00:00
matt
7bacf89b7e Better styling for update notice, fixes #1476
git-svn-id: http://svn.automattic.com/wordpress/trunk@5904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 07:01:15 +00:00
matt
7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00