Commit Graph

4739 Commits

Author SHA1 Message Date
Ryan Boren
0537f5af69 get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
git-svn-id: https://develop.svn.wordpress.org/trunk@11115 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 19:49:21 +00:00
Ryan Boren
41f75a2604 Pass post ID to the_title filter. Props DD32. see #5746 #9666
git-svn-id: https://develop.svn.wordpress.org/trunk@11112 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 17:40:49 +00:00
Ryan Boren
7e3b303f19 protected_title_format and private_title_format. Props anderswc. fixes #8918
git-svn-id: https://develop.svn.wordpress.org/trunk@11111 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 17:36:10 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren
6c066a90d8 Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: https://develop.svn.wordpress.org/trunk@11108 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:42:30 +00:00
Ryan Boren
067e8ba9ee Don't show password protected posts in searches for non-logged in users. Props coffee2code. fixes #9559
git-svn-id: https://develop.svn.wordpress.org/trunk@11106 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 00:05:43 +00:00
Andrew Ozz
280ad0245d Fix Paste from Word button in TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@11105 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 23:19:23 +00:00
Ryan Boren
036a7656f9 attr(), _a(), _ea(), _xa() for shorthand attribute escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11103 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 21:58:04 +00:00
Ryan Boren
b05307b90c Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476
git-svn-id: https://develop.svn.wordpress.org/trunk@11102 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 21:11:01 +00:00
Ryan Boren
8f15c79dda Add redirect param to wp_loginout(). Props Denis-de-Bernardy. fixes #9241
git-svn-id: https://develop.svn.wordpress.org/trunk@11101 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 20:00:59 +00:00
Ryan Boren
89afda412e Eliminate preg_replace with /e. Props tbaboon. fixes #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@11098 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 16:17:24 +00:00
Ryan Boren
eedcfbbc2b Remove call-time pass-by-ref. Props jbsil. see #9651
git-svn-id: https://develop.svn.wordpress.org/trunk@11097 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 16:09:49 +00:00
Andrew Ozz
93ce9fc60b Add hooks to WP_Widget, props ceenz, fixes #9651, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11095 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 10:56:29 +00:00
Andrew Ozz
1ebfefd191 Move Tag Cloud widget to WP_Widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11094 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 09:28:57 +00:00
Andrew Ozz
95871c8e51 Move RSS widget to WP_Widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11093 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 08:46:47 +00:00
Ryan Boren
70e2247b26 phpdoc udpates and error checks for http. Props DD32. fixes #8620
git-svn-id: https://develop.svn.wordpress.org/trunk@11091 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 23:54:59 +00:00
Andrew Ozz
9a7f9d2ae1 Move recent comments widget to WP_Widget, extend is_active_widget() to use $id_base, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11090 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 20:09:08 +00:00
Andrew Ozz
78bb20529a Fix conversion of old widget settings for Recent Posts, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11088 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 05:34:06 +00:00
Andrew Ozz
1ad72b3d59 Move recent posts widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11087 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 12:43:51 +00:00
Andrew Ozz
d812bc92a8 Fix category__not_in and tag__not_in running empty, props coffee2code, fixes #9645
git-svn-id: https://develop.svn.wordpress.org/trunk@11086 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 07:48:17 +00:00
Ryan Boren
e2c1cc6c08 Revert [10956]. fixes #9643 see #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@11085 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 00:01:05 +00:00
Ryan Boren
273df5a466 Fix 'Only variable references should be returned by reference' notices
git-svn-id: https://develop.svn.wordpress.org/trunk@11083 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 23:43:32 +00:00
Ryan Boren
ea6c1efcb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: https://develop.svn.wordpress.org/trunk@11081 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 16:57:27 +00:00
Andrew Ozz
659a3fb191 TinyMCE 3.2.3 final, includes new Paste plugin with auto-cleanup (better paste from MS Word)
git-svn-id: https://develop.svn.wordpress.org/trunk@11078 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 15:26:00 +00:00
Andrew Ozz
da385d8a79 Upgrade widget options only from admin, props ryan, fixes #9629
git-svn-id: https://develop.svn.wordpress.org/trunk@11074 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 06:27:06 +00:00
Andrew Ozz
8757f218ea Remove slash from plugin_basename(), props alexrabe, fixes #9561
git-svn-id: https://develop.svn.wordpress.org/trunk@11072 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 21:45:38 +00:00
Ryan Boren
5e6528cd14 Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: https://develop.svn.wordpress.org/trunk@11071 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 20:21:18 +00:00
Andrew Ozz
ac40df7d99 Add <col> to list of block elements, props CharlieHamu and Denis-de-Bernardy, fixes #9484
git-svn-id: https://develop.svn.wordpress.org/trunk@11070 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:28:22 +00:00
Andrew Ozz
d67f8147d5 Make plugin_dir() and plugin_basename() work for mu-plugins directory, props Denis-de-Bernardy, fixes #9561
git-svn-id: https://develop.svn.wordpress.org/trunk@11069 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:16:06 +00:00
Ryan Boren
fe2cea5e10 Clarify args to wp_update_term(). Props simonwheatley, johnbillion. fixes #9293
git-svn-id: https://develop.svn.wordpress.org/trunk@11068 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:05:36 +00:00
Ryan Boren
2323b85540 Return empty list if requests bookmark category does not exist. Props Viper007Bond. fixes #7507
git-svn-id: https://develop.svn.wordpress.org/trunk@11064 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 05:39:33 +00:00
Ryan Boren
cd7a5b36b1 Formatting cleanups. Props Viper007Bond. fixes #8703
git-svn-id: https://develop.svn.wordpress.org/trunk@11062 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 22:56:52 +00:00
Ryan Boren
c43d9ccbdc Always display the default header when previewing a theme. Props Viper007Bond. fixes #9152
git-svn-id: https://develop.svn.wordpress.org/trunk@11061 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 22:32:35 +00:00
Ryan Boren
7af4f1b84d Add comment-reply-login class. Props mattwalters. fixes #8633
git-svn-id: https://develop.svn.wordpress.org/trunk@11060 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:27:07 +00:00
Ryan Boren
8822f049a3 Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: https://develop.svn.wordpress.org/trunk@11059 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:08:19 +00:00
Andrew Ozz
bb93b6bab4 Queue all default scripts for the head when a custom script lists them as dependencies, fixes #9620
git-svn-id: https://develop.svn.wordpress.org/trunk@11058 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:01:36 +00:00
Ryan Boren
563583c87b Don't notify post author of own comments. Props Denis-de-Bernardy. fixes #8695
git-svn-id: https://develop.svn.wordpress.org/trunk@11057 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 20:55:04 +00:00
Ryan Boren
7252c98c54 Add page-id-x class to body for pages. jamescollins. see #7939
git-svn-id: https://develop.svn.wordpress.org/trunk@11054 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 17:46:51 +00:00
Ryan Boren
a6fac0db89 Faster query to see if page has children
git-svn-id: https://develop.svn.wordpress.org/trunk@11053 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 17:45:20 +00:00
Andrew Ozz
82e956b997 wordcount.js fix for nbsp passed as #160 char, props Denis-de-Bernardy, fixes #9597
git-svn-id: https://develop.svn.wordpress.org/trunk@11050 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 09:29:43 +00:00
Andrew Ozz
1dd8d336aa Add a complementary get_* function for posts_nav_link(), props filosofo, fixes #9094
git-svn-id: https://develop.svn.wordpress.org/trunk@11049 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 08:44:37 +00:00
Andrew Ozz
27cf3f2991 Don't output <br /> for empty posts, props Denis-de-Bernardy, fixes #6128
git-svn-id: https://develop.svn.wordpress.org/trunk@11048 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 07:37:24 +00:00
Andrew Ozz
75dba91661 Optionally use the class name as id_base, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11045 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 04:01:20 +00:00
Ryan Boren
c9b0e3b49a get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
git-svn-id: https://develop.svn.wordpress.org/trunk@11037 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 22:13:44 +00:00
Ryan Boren
eef3fe8028 Wrap get_user_by() in function_exists check. Props alexrabe. fixes #9617
git-svn-id: https://develop.svn.wordpress.org/trunk@11033 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 20:27:22 +00:00
Ryan Boren
360ffa3fb5 Fix typing in cat_is_ancestor_of(). Props filosofo. fixes #9614
git-svn-id: https://develop.svn.wordpress.org/trunk@11031 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 19:42:28 +00:00
Ryan Boren
b9bfa4aade Handle upgrade of old text widgets. Props Denis-de-Bernardy. fixes #9608
git-svn-id: https://develop.svn.wordpress.org/trunk@11030 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 19:40:20 +00:00
Ryan Boren
af2d2e6bfa Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: https://develop.svn.wordpress.org/trunk@11024 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 22:15:14 +00:00
Ryan Boren
4dc60fe8bb Allow pipes through clean_url(). Props scohoust. fixes #7145
git-svn-id: https://develop.svn.wordpress.org/trunk@11023 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 22:02:17 +00:00
Ryan Boren
021a12edf6 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: https://develop.svn.wordpress.org/trunk@11020 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 20:35:31 +00:00