Commit Graph

3029 Commits

Author SHA1 Message Date
ryan
b9d443b574 Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: http://svn.automattic.com/wordpress/trunk@7074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 23:28:18 +00:00
ryan
affd57730c Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
git-svn-id: http://svn.automattic.com/wordpress/trunk@7073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 22:38:02 +00:00
ryan
0b43776d5f For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 21:30:59 +00:00
ryan
d236d4f3e1 remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 19:36:02 +00:00
westi
9735b962ba A better in_category which supports category names that are all numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 18:25:25 +00:00
ryan
5367493b1e gettext fixes from takayukister. fixes #6018
git-svn-id: http://svn.automattic.com/wordpress/trunk@7063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 17:19:58 +00:00
ryan
e1bb43b66b set eol style
git-svn-id: http://svn.automattic.com/wordpress/trunk@7061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:37:13 +00:00
ryan
77aa40f291 TinyMCE 3.02 from azaozz. fixes #6012
git-svn-id: http://svn.automattic.com/wordpress/trunk@7060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 05:36:42 +00:00
ryan
354edc9544 Don't load wp-lists on pages that don't need it. Props mdawaffe. fixes #6011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:46:27 +00:00
ryan
83df1eb992 Use preg_replace_callback() instead of using the 'e' modifier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:37:40 +00:00
ryan
03b47d4ddc Revert [7054]. No idea how I managed that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:36:33 +00:00
ryan
fb02817dfc Fix users query
git-svn-id: http://svn.automattic.com/wordpress/trunk@7054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:25:08 +00:00
ryan
2825626009 Remove listman from script loader
git-svn-id: http://svn.automattic.com/wordpress/trunk@7053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 23:04:44 +00:00
ryan
5505b145af Bump jquery color ver
git-svn-id: http://svn.automattic.com/wordpress/trunk@7052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:51:16 +00:00
ryan
f4422c2842 Remove list-manipulation.js. No longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@7051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:48:47 +00:00
ryan
8ebf2db0c6 Ajax tweaks for edit-comments.php from mdawaffe. fixes #6009
git-svn-id: http://svn.automattic.com/wordpress/trunk@7050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 22:45:46 +00:00
ryan
77f215393c fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:57:00 +00:00
ryan
1eaf857f7b Media upload updates from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 19:30:10 +00:00
ryan
1b08613a81 Add some defaults for wp_insert_attachment. fixes #6006
git-svn-id: http://svn.automattic.com/wordpress/trunk@7042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:51:45 +00:00
ryan
de3ab9a05e image_resize() and friends from tellyworth. fixes #6005
git-svn-id: http://svn.automattic.com/wordpress/trunk@7041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 18:46:03 +00:00
ryan
4446c81177 Return error when requesting invalid feed format. Props pishmishy. fixes #5446
git-svn-id: http://svn.automattic.com/wordpress/trunk@7038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 10:05:05 +00:00
ryan
5f5694ee64 Silence warnings if error_log is disabled. fixes #5771
git-svn-id: http://svn.automattic.com/wordpress/trunk@7037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 09:45:51 +00:00
ryan
16c4b30145 update mime-to-icon matching and get filename from function instead of guid. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 08:54:11 +00:00
ryan
fabda2a2d3 Fix edit comment form tab indices. fixes #5712
git-svn-id: http://svn.automattic.com/wordpress/trunk@7032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 04:53:48 +00:00
westi
fdb26f5bae Support category names in in_category(). Fixes #4558 props robmil.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:18:41 +00:00
westi
35a2e26b4d Add keyed object output to wpdb::get_results. Fixes #5286 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:00:27 +00:00
ryan
538126aff8 Workaround Safari crasher. Props azaozz. fixes #5945
git-svn-id: http://svn.automattic.com/wordpress/trunk@7025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 19:03:35 +00:00
ryan
68606d301e get_pagenum_link filter from Martin2006. fixes #5969
git-svn-id: http://svn.automattic.com/wordpress/trunk@7022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 18:40:46 +00:00
ryan
2e38b04136 Error page styling from mt. fixes #5977
git-svn-id: http://svn.automattic.com/wordpress/trunk@7001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:33:51 +00:00
ryan
b793e1846f Revert changes to canonical that broke redirects. Props fitztrev. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 02:09:24 +00:00
westi
8d42a5d342 Fix the display of human time difference when server timezone if different from blog timezone. Fixes #5970 props jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 22:11:47 +00:00
ryan
93f0c00cb7 Manage comments rework. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-23 08:33:44 +00:00
ryan
699b250926 Small code formatting tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@6986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 20:48:28 +00:00
ryan
b49ff57e63 Make sure post has future status before publishing from cron. Props hailin. fixes #5801
git-svn-id: http://svn.automattic.com/wordpress/trunk@6985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 19:59:12 +00:00
ryan
038910ae4e Upload path fixes from tellyworth. see #5953
git-svn-id: http://svn.automattic.com/wordpress/trunk@6984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:46:03 +00:00
ryan
dce0978cee Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
54f091eebf Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:36:09 +00:00
ryan
c5d19aed9c Media library work from andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan
fa9f3af382 Move blockquote to first toolbar. Props azaozz. fixes #5709
git-svn-id: http://svn.automattic.com/wordpress/trunk@6973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:07:03 +00:00
ryan
2724f9479e Restore JIT script localization. Props azaozz. fixes #5921
git-svn-id: http://svn.automattic.com/wordpress/trunk@6971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 04:02:09 +00:00
ryan
e6a1bade1c Make pagename regex ungreedy. Fixes /pagename/2 links
git-svn-id: http://svn.automattic.com/wordpress/trunk@6964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 23:49:05 +00:00
ryan
e545cdadb1 TinyMCE 3.01. Props azaozz. fixes #5944
git-svn-id: http://svn.automattic.com/wordpress/trunk@6959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:40:25 +00:00
ryan
1e755afb7b Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@6957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:03:43 +00:00
ryan
a739979c12 Revert [6940]. Breaks atompub. see #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:47:15 +00:00
ryan
ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan
f5afc1fd4f Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 17:08:06 +00:00
ryan
eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan
833447d59e Image size options from tellyworth. fixes #5933
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan
2f7d3a377e Add a default for post_conten_filtered
git-svn-id: http://svn.automattic.com/wordpress/trunk@6951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:52:51 +00:00
ryan
726b030412 Allow comment object to be passed to get_avatar() for convenience. see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 20:58:58 +00:00