Commit Graph

5355 Commits

Author SHA1 Message Date
Ryan Boren 3f21c3ea5c Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12305 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 18:01:24 +00:00
Andrew Ozz a308e5f1da Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: https://develop.svn.wordpress.org/trunk@12304 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 09:22:48 +00:00
Andrew Ozz 55ea0988cd Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: https://develop.svn.wordpress.org/trunk@12303 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 08:14:42 +00:00
Andrew Ozz 3ee2175000 Separate the removal of <p> wrapping from shortcodes into another function and apply it with different filter, props miqrogroove, props mdawaffe, see #11257, see #11249
git-svn-id: https://develop.svn.wordpress.org/trunk@12302 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 07:46:36 +00:00
Ryan Boren 42e6256e10 Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12300 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 02:06:02 +00:00
Ryan Boren 7026dd4d72 Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12299 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 22:17:28 +00:00
Ryan Boren 6115dc47b2 Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: https://develop.svn.wordpress.org/trunk@12298 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 21:41:52 +00:00
Andrew Ozz a03d21af84 Fix Right Now comments counts for trash, spam or undo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12293 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 00:49:33 +00:00
Ryan Boren 2a1dcbf551 comment status transition was broken due to sneaky reference return in &get_comment. Props skeltoac
git-svn-id: https://develop.svn.wordpress.org/trunk@12292 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 20:05:39 +00:00
Andrew Ozz a0ea0aa4ed Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 10:29:12 +00:00
Andrew Ozz 365fea47fc "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12290 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 03:56:20 +00:00
Andrew Ozz ed11892e7f Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12289 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 02:56:15 +00:00
Peter Westwood bc19c30486 Restore functionality of setup_userdata() when a user id is supplied. See #11271 and #11222.
git-svn-id: https://develop.svn.wordpress.org/trunk@12288 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 18:17:44 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Andrew Ozz 53872d2218 Avoid a rare case of black line in cropped thumbnails, props miqrogroove, fixes #7748
git-svn-id: https://develop.svn.wordpress.org/trunk@12280 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 06:58:21 +00:00
Andrew Ozz b3b788503e Get the right number of pages then excluding a tree, fixes #11205
git-svn-id: https://develop.svn.wordpress.org/trunk@12279 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 05:22:09 +00:00
Andrew Ozz f066b7dc39 Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12278 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 04:37:39 +00:00
Andrew Ozz 70435662a6 l10n for thickbox.js, props nbachiyski, fixes #10278
git-svn-id: https://develop.svn.wordpress.org/trunk@12276 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 11:08:39 +00:00
Andrew Ozz 8a77135845 Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: https://develop.svn.wordpress.org/trunk@12275 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 09:50:20 +00:00
Andrew Ozz be0c042c08 Set uploaded files extensions to lower case, fixes #11218
git-svn-id: https://develop.svn.wordpress.org/trunk@12274 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-25 05:04:30 +00:00
Ryan Boren 09dfc3b883 Don't require titles for attachments. Props caesarsgrunt. fixes #11052
git-svn-id: https://develop.svn.wordpress.org/trunk@12273 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 16:52:32 +00:00
Ryan Boren dff67e2fa2 Fix attachment rewrite endpoints. Props Curioso. fixes #5553
git-svn-id: https://develop.svn.wordpress.org/trunk@12271 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-24 16:08:13 +00:00
Ryan Boren 27db8a8161 Standardize on user_id instead of user_ID when passing comment data. fixes #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12267 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:04:11 +00:00
Ryan Boren ef3f414213 Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
git-svn-id: https://develop.svn.wordpress.org/trunk@12265 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 18:47:22 +00:00
Ryan Boren bef6051a09 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: https://develop.svn.wordpress.org/trunk@12264 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 18:17:46 +00:00
Ryan Boren 98be65649d Reduce memory usage for XML-RPC requests. Props Demitrious Kelly. fixes #10698
git-svn-id: https://develop.svn.wordpress.org/trunk@12263 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 16:53:36 +00:00
Peter Westwood 7a0fb0316f Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@12261 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:33:45 +00:00
Peter Westwood 43b9064424 Mark _c() as Deprecated people should use the new _x() instead. Fixes #11225.
git-svn-id: https://develop.svn.wordpress.org/trunk@12257 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 12:07:41 +00:00
Andrew Ozz 54208d4973 Ignore trashed comments for duplicate comment check, props scribu, fixes #10944
git-svn-id: https://develop.svn.wordpress.org/trunk@12254 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 11:31:21 +00:00
Peter Westwood 6b92317f98 Allow plugins to override the behaviour of load_textdomain() in a variety of flexible ways. Fixes #11012 props johanee and nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@12251 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 09:28:32 +00:00
Peter Westwood 69422cfa9c Ensure that make_clickable links correctly when the link is placed in brackets and has trailing punctuation. Fixes #11211 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12250 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 09:14:17 +00:00
Andrew Ozz b15bee6f1a Always register all widgets, props hakre, fixes #10954
git-svn-id: https://develop.svn.wordpress.org/trunk@12249 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 03:40:55 +00:00
Ryan Boren 7425349d76 Fix preview of pending pages with permalinks on. Props dj-wp. fixes #11199
git-svn-id: https://develop.svn.wordpress.org/trunk@12245 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 17:47:25 +00:00
Ryan Boren b4ef4d5fc9 script loader phpdoc improvements. Props nacin. fixes #11201
git-svn-id: https://develop.svn.wordpress.org/trunk@12244 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 17:44:46 +00:00
Ryan Boren 3430acef10 Use correct var name
git-svn-id: https://develop.svn.wordpress.org/trunk@12243 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 17:32:56 +00:00
Ryan Boren 446d22adcd Fix double slashing. Props scribu. fixes #11061
git-svn-id: https://develop.svn.wordpress.org/trunk@12241 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 14:23:41 +00:00
Andrew Ozz f13b20b423 Add video/x-flv to mime types, props hakre, fixes #11051
git-svn-id: https://develop.svn.wordpress.org/trunk@12239 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 04:19:44 +00:00
Andrew Ozz 82a2f2a426 Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
git-svn-id: https://develop.svn.wordpress.org/trunk@12237 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 03:01:22 +00:00
Andrew Ozz 26a9029a82 Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
git-svn-id: https://develop.svn.wordpress.org/trunk@12236 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 01:54:12 +00:00
Andrew Ozz 0666505958 Specify background color for input elements, props hakre, fixes #10881
git-svn-id: https://develop.svn.wordpress.org/trunk@12234 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 23:46:23 +00:00
Ryan Boren 42a3082c21 Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:49:16 +00:00
Ryan Boren 61d89b7b39 Don't return extra permastructs if pretty permalinks not turned on. Props scribu. fixes #11061
git-svn-id: https://develop.svn.wordpress.org/trunk@12230 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:47:11 +00:00
Ryan Boren dd4f87da0d Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
git-svn-id: https://develop.svn.wordpress.org/trunk@12229 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:41:53 +00:00
Peter Westwood fffae7eb1f Reduce the size of the data returned by get_themes() by ~30% by reducing duplication.
git-svn-id: https://develop.svn.wordpress.org/trunk@12226 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 20:45:37 +00:00
Mark Jaquith fb2d04d68e Do not use the unreliable in_the_loop() when grabbing terms. fixes #11189
git-svn-id: https://develop.svn.wordpress.org/trunk@12224 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 19:42:52 +00:00
Ryan Boren e540e6b3ce Return if no comment queried
git-svn-id: https://develop.svn.wordpress.org/trunk@12223 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:58:11 +00:00
Ryan Boren c210190ec9 Fix var name typo
git-svn-id: https://develop.svn.wordpress.org/trunk@12222 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:55:23 +00:00
Ryan Boren d1190b5bd6 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12217 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:42:07 +00:00
Ryan Boren e6be89ee0a Avoid warning when parent template does not exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@12216 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:35:17 +00:00