Commit Graph

1347 Commits

Author SHA1 Message Date
westi 135927695a Menu hardening for the 2.8 branch see #11922
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@12893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 22:07:51 +00:00
ryan b39733120a Some hardening for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@12539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 16:08:15 +00:00
ryan 9824ba235f escape hrefs. Props Denis-de-Bernardy. fixes #10056 for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@12296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 17:08:36 +00:00
westi aeaafa32d2 Backport of the switch of the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729 for 2.8 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@12068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 17:00:34 +00:00
ryan 23057f7de3 Add btt.php and jkw.php to list of files to remove during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 18:12:47 +00:00
azaozz 193aca2e76 Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:40:56 +00:00
azaozz 3d3957f592 Properly escape comment_author_url when displaying, for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-18 23:21:00 +00:00
ryan c23720b30f Disable codepress for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-29 21:25:53 +00:00
ryan 796f7392b6 Check that token_get_all() exists before creating documentation links. fixes #10261 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-29 20:48:44 +00:00
ryan a5902a590b Proper permissions for newly created files. Props azaozz. fixes #10170 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-29 20:24:04 +00:00
ryan e27995486a Don't lose upload error messages. Props filosofo. fixes #10238 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-25 06:09:41 +00:00
ryan 535aafc0e7 Enforce stream_get_contents() requirement for ssh2 fs. Props dd32. fixes #10093 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 21:55:22 +00:00
ryan ff09d34fb6 Fix back-compat plugins page redirects. Props filosofo. fixes #10246 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 17:23:40 +00:00
westi 070e860de1 Remove the cruft. Fixes #10227 for 2.8.1 props sirzooro.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 18:51:53 +00:00
azaozz 97d0148bdf Always load the Dashboard RSS widgets with AJAX, see #10133 for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 10:32:09 +00:00
ryan bc8a828561 Enforce incoming links item limit
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 06:09:24 +00:00
ryan c3fd5515b9 Require all plugin page requests (?page=) to be for registered plugins pages. Provides CYA for plugins that don't do enough cap checking. action requests not bound to a plugin page still go through.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 00:33:51 +00:00
ryan b789427f14 More menu fixes
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-17 19:51:09 +00:00
azaozz f54ca4c88c Fall back to wp-tinymce.js if wp-tinymce.js.gz doesn't exist
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-17 01:08:05 +00:00
ryan f091b2d209 Increase download_url() timeout from 30 to 60. see #10104 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 19:39:59 +00:00
ryan c37e9730d7 Plugin install fixes. Props Denis-de-Bernardy. see #10192 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 19:37:11 +00:00
ryan c2cea0e3ed 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 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 02:50:55 +00:00
azaozz 141b34477f Do not reuse deleted widget instances IDs, fixes #10092 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 23:57:00 +00:00
ryan 61c836b9d3 Return empty array instead of false from get_editable_user_ids. Props Denis-de-Bernardy, pairg. fixes #10119 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 17:48:58 +00:00
ryan a5c8cde108 Fix fatal error in incoming links dashboard module when author not defined. Props jikamens. fixes #10162 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 16:57:35 +00:00
ryan 92d74a09f9 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:23:13 +00:00
azaozz 892c04af44 Fix typo, props morfiusx and Denis-de-Bernardy, fixes #10137 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-14 09:27:38 +00:00
azaozz c3424a7fb3 Fix typo in update-core.php, props takayukister, fixes #10140 for 2.8.1
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-14 08:03:27 +00:00
azaozz 9902f02dfa Fix the flash uploader button font, props demetris, fixes #10113
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-13 09:35:04 +00:00
ryan da4c482270 Check delete caps for delete action links. Props johnbillion. fixes #10121 for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-12 13:42:07 +00:00
azaozz 281d6bb761 Fix plugin version check when updating, props dd32, fixes #10058
git-svn-id: http://svn.automattic.com/wordpress/trunk@11541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 10:16:00 +00:00
azaozz d967d1495b Fix permission check on Edit Pages screen, props johnbillion, fixes #10074
git-svn-id: http://svn.automattic.com/wordpress/trunk@11535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-09 03:38:38 +00:00
azaozz d8b86813c6 Don't show Change Permalinks button when user doesn't have permission, props johnbillion, fixes #10072
git-svn-id: http://svn.automattic.com/wordpress/trunk@11534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-08 21:42:35 +00:00
azaozz 1f2eb2f8b8 Allow CodePress to be disabled from Screen Options, see #10027
git-svn-id: http://svn.automattic.com/wordpress/trunk@11530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-07 01:52:44 +00:00
azaozz d35438efe3 WP Upgrader improvements, props DD32, fixes #9836
git-svn-id: http://svn.automattic.com/wordpress/trunk@11525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 08:14:41 +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
azaozz 84ff783414 Using css to hide the Save button in widgets without settings, props Denis-de-Bernardy, fixes #10020
git-svn-id: http://svn.automattic.com/wordpress/trunk@11516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 00:52:31 +00:00
azaozz 5423ca07b3 Move buttons from row 4 to row 3 in the editor when row 3 is empty, fixes #9840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 23:00:57 +00:00
azaozz c1df9fe122 Add two more images to manifest.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@11507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 01:38:27 +00:00
azaozz 7182b0dbb4 Add more translator comments for placeholders, props nbachiyski, fixes #10002
git-svn-id: http://svn.automattic.com/wordpress/trunk@11506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-02 07:21:42 +00:00
azaozz a71b8736cd Add "Accessibility Mode" for widgets screen (can be turned on from Screen Options). Add set_user_setting() to the UI state saving functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-01 23:31:34 +00:00
azaozz e53c5c50f7 Test writability of ABSPATH when upgrading core or WP_PLUGIN_DIR when installing/updating themes and plugins, fixes #9936
git-svn-id: http://svn.automattic.com/wordpress/trunk@11499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 21:08:03 +00:00
azaozz b7bc0faa73 Reload the widget form with the ajax response after save, add Close link to the widgets, don't auto-close on save to show possible errors returned from validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@11498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 11:34:08 +00:00
azaozz f09eba1776 Fix margin on Find Themes button
git-svn-id: http://svn.automattic.com/wordpress/trunk@11497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 01:11:07 +00:00
azaozz b91f8dae21 Reduce default Thickbox height on plugins install screen, props scribu, fixes #9986
git-svn-id: http://svn.automattic.com/wordpress/trunk@11496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 00:36:41 +00:00
westi 7a9955a64a Fix plugin/theme upgrade issues when using ftp extension. Fixes #9980 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 17:14:07 +00:00
westi 4120f8e0d7 Add context to the translation of Tag in the theme installer. Fixes #9981.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 10:33:51 +00:00
westi 0de9090898 Ensure the errors array is always defined so as to always have something to return
git-svn-id: http://svn.automattic.com/wordpress/trunk@11492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 09:55:32 +00:00
ryan 9dbf550f9e Fix notice when searching categories. Props gortsleigh. fixes #9970
git-svn-id: http://svn.automattic.com/wordpress/trunk@11485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 16:36:44 +00:00
ryan 833fd18478 Generate correct links for custom taxonomies. Props gortsleigh. fixes #9967
git-svn-id: http://svn.automattic.com/wordpress/trunk@11478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-28 21:26:01 +00:00