Commit Graph

654 Commits

Author SHA1 Message Date
ryan
0ac5af1f6e Add a prophylactic specialchars to the object in explain nonce. see #5838
git-svn-id: http://svn.automattic.com/wordpress/trunk@6817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:14:38 +00:00
ryan
6199f2dc76 Make Nonce Mismatch Fail Instead of AYS. Props filosofo. fixes #5838 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 17:39:40 +00:00
ryan
9c7db11219 New gzip compressor for TinyMCE from azaozz. fixes #5807
git-svn-id: http://svn.automattic.com/wordpress/trunk@6789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 17:45:18 +00:00
matt
3b82a74e29 Blow out mem limit, slightly larger thumbnails.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:02:44 +00:00
matt
f55e3feab2 Lowercase extensions too, dynamically change when we try to create thumbnails by memory limit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 08:02:01 +00:00
matt
d9738d6cfb Allow uploads outside of the WP path and custom URLs for the same.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 06:35:24 +00:00
ryan
1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan
6f108ce6f3 Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:12:33 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
80643d6ed9 doubleval bytes. Props tellyworth. fixes #5246
git-svn-id: http://svn.automattic.com/wordpress/trunk@6669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 04:55:54 +00:00
westi
1aaec4ff30 Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan
fdb577cfd3 Encoding before title. Props RanYanivHartstein. fixes #5519 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/trunk@6568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:15:33 +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
ryan
e46b5e6bc2 Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
matt
ae18e22598 New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
ryan
ee80716944 Properly close tags. Props ionfish. fixes #5568
git-svn-id: http://svn.automattic.com/wordpress/trunk@6535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-02 17:31:00 +00:00
westi
d49cece4a3 Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:17:42 +00:00
ryan
e8dc86950e Custom DB error page. fixes #5500 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 02:53:57 +00:00
ryan
49d8db4cbe redirect fixes from ruckus and tellyworth. fixes #5479
git-svn-id: http://svn.automattic.com/wordpress/trunk@6402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 05:28:44 +00:00
ryan
83ccac4372 unique filename fixes from tellyworth. fixes #5482
git-svn-id: http://svn.automattic.com/wordpress/trunk@6401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 03:32:43 +00:00
ryan
0cbe2f0d84 Suppress display of DB error messages by default. Props filosofo. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:38:24 +00:00
ryan
e9c9b1fbf2 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:34:48 +00:00
westi
d26bff6a38 Remove triming from string options fixes #4781 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@6367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-09 11:49:25 +00:00
ryan
83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
westi
15f67c97f9 Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: http://svn.automattic.com/wordpress/trunk@6340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:27:01 +00:00
westi
b296c5f19e Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:21:34 +00:00
ryan
20f655d83b Kill unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 09:38:12 +00:00
ryan
808cd79992 Just cache the is_blog_installed value. If the options table goes away while the value is still cached, oh well. Very edge-case.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 07:57:56 +00:00
ryan
16411f9c7b Set global is_blog_installed flag so we don't query the DB more than once per load.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:39:28 +00:00
ryan
42fee85546 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:47:34 +00:00
markjaquith
a30ed0ded5 Code cleanup and standardization for functions.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 05:46:57 +00:00
markjaquith
c23352bedf Introducing absint() for casting to an absolute integer. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 22:11:18 +00:00
westi
61f8b8f569 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00
markjaquith
21c25b5566 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 18:45:47 +00:00
markjaquith
0fb4233fdf Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: http://svn.automattic.com/wordpress/trunk@6153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:11:48 +00:00
ryan
3ac0df5170 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: http://svn.automattic.com/wordpress/trunk@6137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:27:56 +00:00
markjaquith
b36471d4cf Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: http://svn.automattic.com/wordpress/trunk@6110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 06:23:23 +00:00
markjaquith
3fc1d4f08d De-rabbit-hole compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:24:31 +00:00
markjaquith
76d0f29698 Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: http://svn.automattic.com/wordpress/trunk@6107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:00:46 +00:00
markjaquith
95908afb48 Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:48:41 +00:00
markjaquith
79c4324e01 Only urlencode previously existing values in add_query_arg() (more backwards compatible). fixes #4935. see #4084. see #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 14:27:24 +00:00
markjaquith
ead6bfebf7 Try more ways of getting wp-admin URL in wp_die(). props Nazgul. fixes #4006
git-svn-id: http://svn.automattic.com/wordpress/trunk@6057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:25:54 +00:00
markjaquith
98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
markjaquith
1e8e248b97 Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:26:18 +00:00
markjaquith
ab71cc4a4f Require a slash AND the absence of an equals sign to designate the passed $uri as a base (without a query string). fixes #4903 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 05:21:54 +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
ryan
87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
markjaquith
7e45ed193a Eliminate double urlencode()ing in add_query_arg(). Move &-to-& conversion to wp_nonce_url(). fixes #4884
git-svn-id: http://svn.automattic.com/wordpress/trunk@6008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:49:54 +00:00
markjaquith
d60384b385 Turn & to & in add_query_arg(). fixes #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 22:12:17 +00:00