Commit Graph

7350 Commits

Author SHA1 Message Date
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 5d69e51c86 Expose page template functionality via XML-RPC. Props josephscott. fixes #6098
git-svn-id: http://svn.automattic.com/wordpress/trunk@7901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-06 16:49:42 +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 ecc6151966 Get color option for user being edited, not current user. Props regulatethis. fixes #6911 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 20:06:37 +00:00
ryan 04b03a7906 Show when a term is both a category and a tag, also when a child category is converted to a tag and then converted back, restore the child status, if the parent still exists. Props azaozz. fixes #6909
git-svn-id: http://svn.automattic.com/wordpress/trunk@7897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:15:35 +00:00
ryan 0b05038ebb Add editable_slug filter. Props nbachiyski. see #6915
git-svn-id: http://svn.automattic.com/wordpress/trunk@7896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:08:13 +00:00
ryan 742f09dbc7 Use full path to fs abstraction class. Props DD32. fixes #6912
git-svn-id: http://svn.automattic.com/wordpress/trunk@7895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:06:29 +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 34314a54e5 Add definite article. Props filosofo. fixes #5986
git-svn-id: http://svn.automattic.com/wordpress/trunk@7893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 15:55:00 +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
westi 26529c1423 Revert [7887] see #6915.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 08:15:54 +00:00
westi a5dc032654 Add missing form end tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:31:29 +00:00
westi 7759f1672f Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:28:12 +00:00
westi ae998b8a76 Make international slugs easier to edit. Fixes #6915 props options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:13:42 +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 b9e595d3a5 Fix send_to_editor escaping. Props Glotzfisch. fixes #6898 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:25:54 +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 4a19108aaf Classic theme navigation fix from Otto42. fixes #6513 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 21:35:57 +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 43fc7beb08 Refresh thickbox css. Props azaozz. fixes #6843 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 16:51:28 +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 96cdf5c7a7 send_to_editor fix for FF. Props azaozz. fixes #6864 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:12:39 +00:00
ryan 0f13be9815 Add comments_per_page filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@7859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:05:25 +00:00
ryan 7750cc0d90 Use number_format_i18n on Awaiting Moderation count. fixes #6700 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 23:19:31 +00:00
ryan ef4c69fcfd Use number_format_i18n on Awaiting Moderation count. fixes #6700 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 23:02:15 +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 ca284189fb Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@7852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 18:35:04 +00:00
ryan f97c96fde0 Use wp_count_comments() instead of direct query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 18:30:45 +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
ryan 45302a3d9a Add populate_options action. Props RanYanivHartstein. fixes #6854
git-svn-id: http://svn.automattic.com/wordpress/trunk@7848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 19:55:00 +00:00
ryan ded2d7929d Handle enclosures in xmlrpc. Props josephscott. fixes #3405
git-svn-id: http://svn.automattic.com/wordpress/trunk@7847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 16:15:23 +00:00
ryan a2220d1659 Consolidate class attributes. Props robertaccettura. fixes #6853 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 15:17:55 +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 2a8733a159 tempnam workarounds from DD32. see #6465
git-svn-id: http://svn.automattic.com/wordpress/trunk@7840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 21:34:54 +00:00