Commit Graph

843 Commits

Author SHA1 Message Date
Ryan Boren 0042fa7b7c Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: https://develop.svn.wordpress.org/trunk@12310 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:03:13 +00:00
Ryan Boren b2faac7a2b Fix wp_nonce_ays() for log-out case. Fix IE6 padding. Props miqrogroove. fixes #11289
git-svn-id: https://develop.svn.wordpress.org/trunk@12309 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 21:21:31 +00:00
Andrew Ozz be0c042c08 Set uploaded files extensions to lower case, fixes #11218
git-svn-id: https://develop.svn.wordpress.org/trunk@12274 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 05:04:30 +00:00
Andrew Ozz f13b20b423 Add video/x-flv to mime types, props hakre, fixes #11051
git-svn-id: https://develop.svn.wordpress.org/trunk@12239 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 04:19:44 +00:00
Peter Westwood 89a9762c42 Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12207 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 08:22:49 +00:00
Ryan Boren 28338e0170 Deprecate make_url_footnote(). fixes #4968
git-svn-id: https://develop.svn.wordpress.org/trunk@12203 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 21:11:24 +00:00
Ryan Boren dbc040136c Fix mimes empty check
git-svn-id: https://develop.svn.wordpress.org/trunk@12171 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 05:20:48 +00:00
Ryan Boren 07c605407e Sanitize filenames with multiple extensions. see #11122
git-svn-id: https://develop.svn.wordpress.org/trunk@12165 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 23:07:29 +00:00
Ryan Boren c7c418f738 Add actions for option writes. Props apokalyptik
git-svn-id: https://develop.svn.wordpress.org/trunk@12164 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-11 15:26:11 +00:00
Ryan Boren 944dad2c59 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12128 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 21:53:57 +00:00
Peter Westwood c61e6f6bbd Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12052 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 11:50:59 +00:00
Peter Westwood 9510a36835 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:07:00 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Ryan Boren e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +00:00
Peter Westwood 1c12fc9165 Make the (add|get|update)_site_option functions run the same filters in WP as they do in mu. Fixes #10893.
git-svn-id: https://develop.svn.wordpress.org/trunk@11995 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-03 21:40:27 +00:00
Mark Jaquith 737378702c esc_sql() for wp-includes
git-svn-id: https://develop.svn.wordpress.org/trunk@11978 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-27 05:33:56 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 578e956287 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:10:28 +00:00
Peter Westwood fceac051c1 Fix notice in wp_explain_nonce when the supplied action has no extra text. See #10830.
git-svn-id: https://develop.svn.wordpress.org/trunk@11961 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 06:51:19 +00:00
Peter Westwood 8f93bd78f8 Move the storage of the metadata for trashed comments into the comment meta table rather than storing it in an option. See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11945 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:51:12 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren 46b766635e Allow force_ssl_admin() to properly accept false as a value. Props nbachiyski. fixes #10706
git-svn-id: https://develop.svn.wordpress.org/trunk@11903 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 14:46:06 +00:00
Ryan Boren dcdab5fed5 is_blog_installed() improvements and repair.php. see #10728
git-svn-id: https://develop.svn.wordpress.org/trunk@11902 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-06 18:46:27 +00:00
Ryan Boren 9ba99f344c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11883 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 22:46:33 +00:00
Peter Westwood 80e4f72f72 Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11878 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 22:05:15 +00:00
Andrew Ozz 16241293d3 Trash status update, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11750 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 14:55:07 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz 245d113bfc "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00
Ryan Boren fcda8f6d13 Revert tango smilies back to old school WP smilies due to public hue and cry. see #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11736 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 00:18:09 +00:00
Ryan Boren fa222025a2 Tango/GNOME smilies. Props jdub. fixes #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11685 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-03 18:50:28 +00:00
Ryan Boren 914d0b1487 Output final optgroup. Props hakre. fixes #10292 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11677 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 17:59:19 +00:00
Andrew Ozz 7dcd5e4673 Use CSS instead of nbsp, props demetris, fixes #10206 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11649 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 12:56:24 +00:00
Ryan Boren f2baa0626d Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: https://develop.svn.wordpress.org/trunk@11634 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 22:10:46 +00:00
Ryan Boren 4c4602f689 Optimize timezone dropdown creation. Props sambauers. fixes #10125 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11597 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-18 17:40:40 +00:00
Peter Westwood 66485f81a6 Replace the _ before sorting the timezones. Fixes #10066 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11544 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 16:23:20 +00:00
Andrew Ozz b84bf875ee Add translation domain to the timezone picker, props nbachiyski, fixes #10066
git-svn-id: https://develop.svn.wordpress.org/trunk@11533 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-08 21:02:19 +00:00
Andrew Ozz 997f1af1c8 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: https://develop.svn.wordpress.org/trunk@11503 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-01 23:31:34 +00:00
Peter Westwood 3982e62858 Move the upload_dir filter before the directory is created so that plugins can have a better effect. Fixes #9973 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11493 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-30 10:02:01 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren 7643338f75 Standardize on UTC. Props Denis-de-Bernardy. fixes #9793
git-svn-id: https://develop.svn.wordpress.org/trunk@11434 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 18:16:40 +00:00
Ryan Boren e7323af925 Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
git-svn-id: https://develop.svn.wordpress.org/trunk@11408 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:32:22 +00:00
Ryan Boren ab511830e6 Add number_format_i18n filter. Props kambiz.k. fixes #7753
git-svn-id: https://develop.svn.wordpress.org/trunk@11407 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:08:35 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Peter Westwood c98f9104b6 Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11370 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 22:32:48 +00:00
Ryan Boren c3bd8ffb66 Add option to wp_die to display a go back link. Props nbachiyski. fixes #5167
git-svn-id: https://develop.svn.wordpress.org/trunk@11342 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 17:49:35 +00:00
Andrew Ozz 35e1460bec Fix IE 512-byte minimum page length bug, props hakre, fixes #8942
git-svn-id: https://develop.svn.wordpress.org/trunk@11340 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 09:38:43 +00:00
Ryan Boren bf908fe2f1 Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11333 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 20:05:25 +00:00
Ryan Boren 163e71b06e Sort tz continents and cities by translated names. Load translations from separate mo to avoid cluttering default pot. Props Denis-de-Bernardy. see #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11332 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 18:58:37 +00:00
Ryan Boren 734685397b Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@11329 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 16:23:20 +00:00