Commit Graph

3335 Commits

Author SHA1 Message Date
ryan 967ee06a32 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 22:12:52 +00:00
ryan 7b1e56dc06 default is a valid page template. see #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 21:03:10 +00:00
ryan 9b7daff0b4 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 16:02:12 +00:00
ryan dcf35ab2ed Add some page template validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@7921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 23:51:54 +00:00
ryan 9830ab988c Quick post bookmarklet. First cut. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 19:08:39 +00:00
ryan 359601b720 Resurrect comment approval notification. Props chmac. fixes #6892 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 16:14:15 +00:00
markjaquith 61881c0e82 Do not use the "home"-supplied host for canonical redirects if no host is there specified. props thenlich. fixes #6890
git-svn-id: http://svn.automattic.com/wordpress/trunk@7916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 18:23:05 +00:00
ryan 6d3c98a56f strtolower widget id. Props filosofo. fixes #6949
git-svn-id: http://svn.automattic.com/wordpress/trunk@7915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 16:29:17 +00:00
ryan 3c8cb2b079 Revisioning for pages from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
markjaquith 25b49b2ceb Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940
git-svn-id: http://svn.automattic.com/wordpress/trunk@7912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 00:45:17 +00:00
ryan 938f29414f Use array calling style. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 19:19:58 +00:00
ryan 2abe38c548 number_format_i18n() for comments_number()
git-svn-id: http://svn.automattic.com/wordpress/trunk@7910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:54:40 +00:00
ryan 129d030c20 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan 7a0f94ffa3 Query cleanups. Use absint, concat where instead of overwrite, make post_parent independent, sanitize post__in and post__not_in. Props mdawaffe. see #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 05:17:27 +00:00
ryan c25a6fe381 Fix page 404 when page_for_posts is empty. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:57:15 +00:00
ryan d8ee8494be [7064] introduces an extra query for each call to in_category(). Avoid the query if an int is passed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:12:44 +00:00
ryan 87db175abe Add current_category option to wp_list_categories(). Props filosofo. fixes #6928
git-svn-id: http://svn.automattic.com/wordpress/trunk@7903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:10:36 +00:00
ryan 5a9d1d9c8d Add arg as array. Props MtDewVirus. fixes #6924
git-svn-id: http://svn.automattic.com/wordpress/trunk@7902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-06 17:28:24 +00:00
ryan 15a9bac5ad wp_insert_post() -- Validate page template, check return of insert and update queries, add option to return WP_Error. fixes #6227 see #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 23:19:27 +00:00
ryan a3bc5f60da Use array calling style. Props DD32. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 16:03:27 +00:00
ryan 3d5a874774 get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 15:46:32 +00:00
ryan 76dfbdfb11 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 18:05:20 +00:00
westi 9962fa1f0b Always set the locale to something. Fixes #6872 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 17:28:42 +00:00
westi 38ebc1a0ee Fix _deprecated_function() and _deprecated_file() so that they work correctly. Props JonathanRogers and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:44:44 +00:00
westi 3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan 7623315990 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 02:05:18 +00:00
ryan d9fd98601e Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 20:08:32 +00:00
ryan fbcbedc4f0 Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 00:56:16 +00:00
ryan 63d12e0b39 Use 'counts' cache group. see #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 19:42:44 +00:00
ryan c75f6c7695 Fix post name check prepare. Props westi. see #6894
git-svn-id: http://svn.automattic.com/wordpress/trunk@7876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:28:19 +00:00
ryan 90f52c0fc3 Use array calling style. Props guillep2k for the find. fixes #6637 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 16:59:49 +00:00
ryan 2fd45c2192 Don't redirect robots. Props thenlich and DD32. fixes #6891
git-svn-id: http://svn.automattic.com/wordpress/trunk@7871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 21:38:40 +00:00
ryan 8c59e943d4 Add per post counting to wp_count_comments(). Props josephscott. fixes #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 16:52:48 +00:00
ryan 8cabdbc588 Bump script vers. see #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 23:33:57 +00:00
ryan 020eb02ef0 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:21:09 +00:00
ryan 123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
ryan 88b23960fb widget_title filters from jhodgdon. fixes #6684
git-svn-id: http://svn.automattic.com/wordpress/trunk@7850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 16:08:19 +00:00
ryan 499ac46099 Multi-widget pattern documentation typo fixes from Jaymin Patel. fixes #6866
git-svn-id: http://svn.automattic.com/wordpress/trunk@7849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 20:08:23 +00:00
westi b119ab7003 Bump the db version so [7841] has an affect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:19:33 +00:00
westi 5a375132ac Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 06:17:01 +00:00
ryan 7564d59d47 Don't reuse image_send_to_editor filter in get_image_tag(). Props AaronCampbell. fixes #6806 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:58:38 +00:00
ryan 87b1154989 Add arg to make special chars optional when generating passwords. fixes #6842 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 17:12:25 +00:00
ryan 76a87862bf Add some sanity checks
git-svn-id: http://svn.automattic.com/wordpress/trunk@7821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:20:18 +00:00
markjaquith 60aab00ba1 Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 04:41:41 +00:00
markjaquith ca6bd9ebd5 Don't wpautop()-wrap shortcodes that stand alone. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:45:31 +00:00
markjaquith 6930439dfe Revert [7700] from trunk in preparation for a different #6444 solution
git-svn-id: http://svn.automattic.com/wordpress/trunk@7814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:43:44 +00:00
ryan f3d3b700f5 Bump the autosave re-enable delay to 5 seconds, makes sure we manually re-enable the buttons on ajax success, and visually dim the disabled buttons for some UI feedback. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:32:29 +00:00
ryan 123cd6550a Discard buffers. Props azaozz. fixes #6794 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:25:33 +00:00
ryan 0101f8809d strlen - 1. Props mdawaffe. see #6146
git-svn-id: http://svn.automattic.com/wordpress/trunk@7802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 01:13:35 +00:00
ryan eb9c8420db hash_hmac is always available. Drop function_exists check
git-svn-id: http://svn.automattic.com/wordpress/trunk@7797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:30:49 +00:00