Commit Graph

6854 Commits

Author SHA1 Message Date
Andrew Nacin
0d687968ef get_post_permalink() should take a post ID and pass the post object to the filter. Note that the filter received a post object previously as the variable. props filosofo, fixes #14299 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15411 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:56:49 +00:00
Andrew Nacin
6e5abae06a Don't throw 404 in the backend. fixes #14088 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15409 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:47:12 +00:00
Andrew Nacin
0e2a53e8c9 Prevent the same menu item from receiving duplicate IDs if the menu is used twice. All menu items now get a class with their post ID; only the first item now gets an ID. fixes #13976 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15407 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:30:59 +00:00
Ryan Boren
4fb68cd5e8 Sanity check properties in wp_get_single_post(). Props filosofo. fixes #13904 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15405 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:30:09 +00:00
Andrew Nacin
97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Andrew Nacin
dc3140a664 Have wp_set_post_terms return wp_set_object_terms. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15402 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:01:48 +00:00
Ryan Boren
d079129f86 Perform strict equality comparison. Props shawnparker. fixes #13350 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15389 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:28:31 +00:00
Ryan Boren
8d9d4817a3 Add equal sign to blacklist. Props Pádraic Brady. for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15383 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 14:30:39 +00:00
Mark Jaquith
15b414837c More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971
git-svn-id: https://develop.svn.wordpress.org/trunk@15377 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 19:35:29 +00:00
Andrew Nacin
60c561889b Pass feed type from the_content_feed to get_the_content_feed. props peaceablewhale, fixes #14214.
git-svn-id: https://develop.svn.wordpress.org/trunk@15371 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:41:07 +00:00
Andrew Nacin
fb83a22b94 Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15363 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-03 05:55:04 +00:00
Dion Hulse
fd8152d074 Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: https://develop.svn.wordpress.org/trunk@15362 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-02 07:52:14 +00:00
Ryan Boren
c6f385ea6a Don't use deprecated function. Blacklist curlies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15356 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 17:46:37 +00:00
Dion Hulse
7efc4efdaa Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +00:00
Dion Hulse
3562ac632d And the rest of r15353. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15354 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 23:54:39 +00:00
Dion Hulse
d12bd7a07e Tabs are so much nicer than spaces.. Props jorbin. Fixes #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15353 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 23:52:33 +00:00
Ryan Boren
44a502207a Use get_post_types() to create list of hierarchical post types. fixes #14079 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15348 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:10:54 +00:00
Andrew Nacin
1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Andrew Nacin
1dcaee88f4 Remove a @todo. see #14014.
git-svn-id: https://develop.svn.wordpress.org/trunk@15333 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:25:29 +00:00
Ryan Boren
01443b68b3 Fix inverted logic in [15331]. see #13934
git-svn-id: https://develop.svn.wordpress.org/trunk@15332 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:17:33 +00:00
Ryan Boren
f338e835a2 Don't perform current user ops in switch_to_blog() or restore_current_blog() if init hasn't fired. Avoids wp_get_current_user() not defined error when those functions are run before init. Ops on current user prior to init are meaningless anyway. see #13934
git-svn-id: https://develop.svn.wordpress.org/trunk@15331 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:16:06 +00:00
Andrew Nacin
8c3323da0a WPMU->Network Codex link updates. props wpmuguru, see #14014 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15330 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:15:43 +00:00
Ryan Boren
d397a1c20d Fix is_site_admin() when passing a username. Props francescolaffi. fixes #14046
git-svn-id: https://develop.svn.wordpress.org/trunk@15328 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:11:36 +00:00
Andrew Nacin
8a0c54e243 Fix typo in php comment. props Utkarsh, fixes #14072.
git-svn-id: https://develop.svn.wordpress.org/trunk@15325 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 06:26:40 +00:00
Ryan Boren
e8b8d9773a Fix current page detection for home when index.php is in the requested URL. Props filosofo. fixes #13977 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15320 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 17:39:29 +00:00
Ryan Boren
fdc775d75e Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15316 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:07:11 +00:00
Ryan Boren
494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Ryan Boren
58fb5bb514 Pass ID to is_super_admin(). Props bigdawggi. fixes #14066 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15311 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:49:23 +00:00
Andrew Nacin
6611e799ea Some whitespace in WP_HTTP. props hakre, see #13897.
git-svn-id: https://develop.svn.wordpress.org/trunk@15309 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 14:26:57 +00:00
Andrew Nacin
c118ae7ec8 Assign menu-item-home also when menu item isn't current. props filosofo, see #14053 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15302 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 22:05:43 +00:00
Dion Hulse
e22a4707bf Fix typo in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). Props mdawaffe. Fixes #14002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15290 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:12:03 +00:00
Dion Hulse
b690dd5bfe Some coding standards cleanups for WP_HTTP. Props hakre for initial patch. See #13897
git-svn-id: https://develop.svn.wordpress.org/trunk@15285 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:02:09 +00:00
Dion Hulse
ef753d5a64 Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15284 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 06:54:21 +00:00
Andrew Nacin
84ff7671a8 Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15277 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-18 05:37:45 +00:00
Ryan Boren
99e5c267c4 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15275 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 19:27:56 +00:00
Ryan Boren
d34dbc8791 3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@15272 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:59:07 +00:00
Ryan Boren
509ea7fb71 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15270 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 22:21:08 +00:00
Ryan Boren
58a038d2ad Avoid var name collision. see #13929
git-svn-id: https://develop.svn.wordpress.org/trunk@15269 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 21:46:42 +00:00
Ryan Boren
61ac7c90b0 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15267 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:45:57 +00:00
Ryan Boren
dbbc8adb90 Make dbh parameter to select optional for plugin back compat. Don't pass by ref to preserve PHP 4 support. fixes #13914
git-svn-id: https://develop.svn.wordpress.org/trunk@15266 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:28:01 +00:00
Ryan Boren
7def07393e Retern variable to avoid notice in PHP 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15265 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:11:44 +00:00
Andrew Nacin
3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Mark Jaquith
8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00
Ryan Boren
ab9c5796b3 Remove trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@15259 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 23:39:35 +00:00
Ryan Boren
6bb32c81fc Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15258 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 21:41:11 +00:00
Ryan Boren
1a56928cf9 Menu ancestor fixes. Props filosofo. fixes #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@15257 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 21:19:55 +00:00
Andrew Nacin
3ba32595f1 Add missing filter to wp_get_nav_menu_items(). props filosofo, fixes #13858.
git-svn-id: https://develop.svn.wordpress.org/trunk@15256 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 20:50:55 +00:00
Andrew Nacin
42ee42dee0 Fix IE8 line-height of title input. props ocean90, fixes #13890.
git-svn-id: https://develop.svn.wordpress.org/trunk@15255 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 20:48:24 +00:00
Andrew Nacin
09f7a954bf Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15254 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:52:30 +00:00
Andrew Nacin
eb1311849e Treat trash/untrash of posts associated with media items the same as other stati changes. props koopersmith, see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15249 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:33:48 +00:00