Commit Graph

10885 Commits

Author SHA1 Message Date
azaozz
128927e43b Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
git-svn-id: http://svn.automattic.com/wordpress/trunk@12237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 03:01:22 +00:00
azaozz
b48cf4a3e3 Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
git-svn-id: http://svn.automattic.com/wordpress/trunk@12236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:54:12 +00:00
azaozz
85b81cc6cf Escape $title in dashboard Recent Drafts to reveal HTML tags, props Simek, fixes #11128
git-svn-id: http://svn.automattic.com/wordpress/trunk@12235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:31:06 +00:00
azaozz
4200c001cb Specify background color for input elements, props hakre, fixes #10881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:46:23 +00:00
ryan
1e2349258f Allow link rating of 10. Props ProDevStudio. fixes #11165
git-svn-id: http://svn.automattic.com/wordpress/trunk@12233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:07:53 +00:00
ryan
48b9a9f2bb Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: http://svn.automattic.com/wordpress/trunk@12232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:53:03 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
ryan
3de2e1a319 Don't return extra permastructs if pretty permalinks not turned on. Props scribu. fixes #11061
git-svn-id: http://svn.automattic.com/wordpress/trunk@12230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:47:11 +00:00
ryan
1d3d70d375 Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
git-svn-id: http://svn.automattic.com/wordpress/trunk@12229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:41:53 +00:00
westi
492be21173 Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:16:16 +00:00
ryan
605710b8c6 gettext fix. Props takayukister. fixes #11188
git-svn-id: http://svn.automattic.com/wordpress/trunk@12227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:04:53 +00:00
westi
c616c60c0d Reduce the size of the data returned by get_themes() by ~30% by reducing duplication.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 20:45:37 +00:00
westi
9a1a22076f Revert [12187] as it didn't fix the issue for all cases. See #10959.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 19:53:27 +00:00
markjaquith
66ce42a9f9 Do not use the unreliable in_the_loop() when grabbing terms. fixes #11189
git-svn-id: http://svn.automattic.com/wordpress/trunk@12224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 19:42:52 +00:00
ryan
c8ead9801c Return if no comment queried
git-svn-id: http://svn.automattic.com/wordpress/trunk@12223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:58:11 +00:00
ryan
2892919a51 Fix var name typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@12222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:55:23 +00:00
ryan
101751921b Add media_row_actions filter. Props holizz. fixes #9172
git-svn-id: http://svn.automattic.com/wordpress/trunk@12221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:46:07 +00:00
ryan
06bab5e3ff Pass args to settings field callback. Props hanilovesme, scribu. fixes #11143
git-svn-id: http://svn.automattic.com/wordpress/trunk@12220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:37:50 +00:00
ryan
bfd2b650ee Don't show page statuses with 0 pages. Props batmoo. fixes #11180
git-svn-id: http://svn.automattic.com/wordpress/trunk@12219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:04:44 +00:00
ryan
4e09fd327c Check DB ver 12217. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:43:38 +00:00
ryan
6189a6fce2 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:42:07 +00:00
ryan
f0f570d098 Avoid warning when parent template does not exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:35:17 +00:00
azaozz
51aaa9c7c3 Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: http://svn.automattic.com/wordpress/trunk@12215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 10:24:14 +00:00
azaozz
42df991367 Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
git-svn-id: http://svn.automattic.com/wordpress/trunk@12214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:46:07 +00:00
azaozz
f2dc806c22 Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: http://svn.automattic.com/wordpress/trunk@12213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:12:16 +00:00
westi
ccbf5061c9 First pass first post improvements. See #11008 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:45:24 +00:00
markjaquith
b43020e0ab Pass some additional variables to post_image_html filter. props waltervos, scribu. fixes #11167
git-svn-id: http://svn.automattic.com/wordpress/trunk@12211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:09:00 +00:00
ryan
4615f5b809 Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:04:07 +00:00
ryan
47001b4c43 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: http://svn.automattic.com/wordpress/trunk@12209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:52:38 +00:00
ryan
039a004122 Return if no post to avoid warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:04:09 +00:00
westi
e7941d795e Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:22:49 +00:00
markjaquith
f4ae37b9f1 Do not destroy characters surrounding shortcodes in strip_shortcodes(). fixes #10326
git-svn-id: http://svn.automattic.com/wordpress/trunk@12206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:12:05 +00:00
azaozz
c131504b28 Let plugins predefine thickbox image vars, props aaroncampbell, fixes #6453
git-svn-id: http://svn.automattic.com/wordpress/trunk@12205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 00:19:55 +00:00
ryan
3e76803fbf Add core_upgrade_preamble action. Props Denis-de-Bernardy. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 22:49:00 +00:00
ryan
d6bd539813 Deprecate make_url_footnote(). fixes #4968
git-svn-id: http://svn.automattic.com/wordpress/trunk@12203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 21:11:24 +00:00
ryan
0334c59be2 Fix undefined index notice in canonical. Props dd32. fixes #11057
git-svn-id: http://svn.automattic.com/wordpress/trunk@12202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 21:01:03 +00:00
ryan
8085eddc56 Add translator comment. Props nbachiyski. fixes #10737
git-svn-id: http://svn.automattic.com/wordpress/trunk@12201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:54:38 +00:00
ryan
4b8a5274af Return null if no term queried. fixes #11112
git-svn-id: http://svn.automattic.com/wordpress/trunk@12200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:51:32 +00:00
ryan
cdf11d3479 Allow 0xAD in URI attributes. Props nbachiyski. fixes #9823 #10859
git-svn-id: http://svn.automattic.com/wordpress/trunk@12199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:18:48 +00:00
ryan
cb8cc5ffb6 Use preg_replace_callback to eliminate eval. Props BenBE1987. fixes #10896
git-svn-id: http://svn.automattic.com/wordpress/trunk@12198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 19:25:01 +00:00
ryan
28723e1d9f Ue get_default_feed() for *_the_category_rss(). Props filosofo, peaceablewhale. fixes #5802
git-svn-id: http://svn.automattic.com/wordpress/trunk@12197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 16:27:36 +00:00
azaozz
d1f60c88f0 Fix pagination on the Unattached tab in the media library, show Attach in the "Attached to" column for orphan attachments
git-svn-id: http://svn.automattic.com/wordpress/trunk@12196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 03:08:38 +00:00
azaozz
95ee97e9ad Add labels to image info in the media library, fixes #8886
git-svn-id: http://svn.automattic.com/wordpress/trunk@12195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 00:11:49 +00:00
ryan
6c2248e2d2 Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
git-svn-id: http://svn.automattic.com/wordpress/trunk@12194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:44:59 +00:00
ryan
7154852c94 Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: http://svn.automattic.com/wordpress/trunk@12193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:42:58 +00:00
ryan
a2c12cb66b Make sure WP_CACHE is true. Props nacin. fixes #10602
git-svn-id: http://svn.automattic.com/wordpress/trunk@12192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 18:53:57 +00:00
ryan
6df4481b33 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@12191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 14:57:10 +00:00
azaozz
f53bef8bd9 Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: http://svn.automattic.com/wordpress/trunk@12190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:54:02 +00:00
azaozz
903ff7a22f Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@12189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:16:34 +00:00
azaozz
573c9fe1e4 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 01:37:30 +00:00