Commit Graph

7659 Commits

Author SHA1 Message Date
ryan
a465f3ac7d Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 17:17:38 +00:00
azaozz
c61a4db3e5 Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437
git-svn-id: http://svn.automattic.com/wordpress/trunk@8508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 12:32:04 +00:00
azaozz
27b762bb8e Add "Page restored" message. Props Viper007Bond, fixes #7437 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 09:18:59 +00:00
azaozz
38aa571484 Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 08:16:56 +00:00
westi
f08ff1124c Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:04:57 +00:00
westi
e612643a06 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:01:03 +00:00
westi
33ad189d78 Make the validate_file check more explict and obvious.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:48:30 +00:00
westi
4134153d89 Avoid possible XSS when displaying the list of invalid plugins fixes #6871 for trunk props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:38:40 +00:00
westi
563e470237 Switch to get_theme_root()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:26:59 +00:00
westi
508dfde88a Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:21:14 +00:00
azaozz
ca07515463 Fix error message when invalidating plugin because of bad path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 00:02:47 +00:00
azaozz
80c409458f Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: http://svn.automattic.com/wordpress/trunk@8495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 23:10:12 +00:00
ryan
7add050b10 Walker improvements from hailin. fixes #7353
git-svn-id: http://svn.automattic.com/wordpress/trunk@8494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:50:57 +00:00
ryan
fec30ab9ac Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:16:39 +00:00
ryan
30d7084f60 Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:14:53 +00:00
westi
f69ddab179 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 20:21:34 +00:00
westi
ec5a60f0cf Remove setting of error_reporting and just use the default WordPress error_reporting settings. Fixes #7035 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:56:38 +00:00
westi
91fcf4e904 Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:52:44 +00:00
ryan
713c82dfd2 Allow dots in theme dirs when previewing. fixes #7482 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 17:03:00 +00:00
ryan
c2e5bd7c3b Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: http://svn.automattic.com/wordpress/trunk@8484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 05:22:58 +00:00
ryan
a6ab2ece1d Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:58:24 +00:00
ryan
7339da643f Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:39:15 +00:00
azaozz
e30000d174 Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:07:47 +00:00
ryan
a3a1f83d7f Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 16:26:59 +00:00
ryan
57ba058017 No need to order results. Props dbuser123. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@8469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-27 16:58:35 +00:00
westi
1a98124b2c Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-27 08:40:29 +00:00
azaozz
643f76d20c Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 19:56:08 +00:00
westi
9cb88949bf Move the endif inside the table so [8461] doesn't break the html. Fixes #7399 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 08:05:30 +00:00
westi
31a054b9b9 Only show the admin colour scheme picker if there is more than one theme to pick from. Fixes #7399.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 07:54:02 +00:00
azaozz
060a4ea248 Stay on the same page after moderating comments. Fixes #7412 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 03:51:39 +00:00
ryan
696050f9ad Add macFFBgHack.png. fixes #6573 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 22:42:31 +00:00
ryan
5685d51d1f Don't try to translate empty role name. Props wasp. fixes #6554 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 15:36:40 +00:00
azaozz
44a80acfe5 Login: keep username when password is incorrect and focus on password field
git-svn-id: http://svn.automattic.com/wordpress/trunk@8454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-25 06:32:53 +00:00
ryan
b43c86dc07 Make RSD links SSL aware by using site_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 22:05:04 +00:00
ryan
e8cba9f0cb Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 19:28:40 +00:00
ryan
07b7e7b7a4 Work around fatal error caused by mbstring.func_overload = 2. Props codestyling . fixes #5599 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:56:17 +00:00
azaozz
6830e3395a Use conditional for whole sentence. Fixes #7385 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:53:43 +00:00
ryan
5c56c7fd2e Typo fix from filosofo. fixes #7389 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 18:35:38 +00:00
ryan
ae96b8c628 Pass to wp_title filter. Props Viper007Bond. fixes #7382
git-svn-id: http://svn.automattic.com/wordpress/trunk@8415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:44:06 +00:00
ryan
5cca62b1e9 Don't concat translatable strings. Props msi08. fixes #7385
git-svn-id: http://svn.automattic.com/wordpress/trunk@8413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:39:00 +00:00
ryan
702019d574 Fix case. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 16:36:10 +00:00
westi
1452266770 Mark kses callbacks as private. Fixes #7363.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 08:36:15 +00:00
westi
5506ddd8b5 Advertise Atom 1.0 Feed in default theme. Fixes #7341 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 06:56:25 +00:00
azaozz
bcc66d7f28 Small update to Gears info messages and simple Safari detection. Fixes #7380 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 05:12:57 +00:00
ryan
2c1f3d9782 Use WP_LANG_DIR. fixes #7378 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 21:09:30 +00:00
ryan
50269c4845 Add timezone var to IXR_date. Add timezone back to getIso(). Comment WP specific additions. see #7227
git-svn-id: http://svn.automattic.com/wordpress/trunk@8403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:53:03 +00:00
ryan
0ece55eb7d Performance improvments to get_plugin_data() from santosj. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:18:07 +00:00
ryan
a0b5e9133d Allow disabling password reset per user. Props axelseaa. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 19:15:42 +00:00
ryan
ba0677a6ab Eliminate unused var. Props tschai. fixes #7374
git-svn-id: http://svn.automattic.com/wordpress/trunk@8397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 15:49:44 +00:00
azaozz
2a4ed4c5a8 Gears integration update in anticipation of Safari support. Fixes #7371 for 2.6.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@8395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-22 04:03:36 +00:00