Commit Graph

286 Commits

Author SHA1 Message Date
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin 38092bb128 Custom post type archives, second pass. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15819 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 19:44:57 +00:00
scribu e5354a9e00 Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
git-svn-id: https://develop.svn.wordpress.org/trunk@15771 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 22:10:36 +00:00
Andrew Nacin b75eb167cd Make note of an optional argument. props hakre, fixes #14870.
git-svn-id: https://develop.svn.wordpress.org/trunk@15616 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:22:55 +00:00
scribu 5c95616ce8 Clean up taxonomy queries in WP_Query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15613 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:44:14 +00:00
scribu 23850cf615 Replace is_term() with is_tax(). See #14161
git-svn-id: https://develop.svn.wordpress.org/trunk@15599 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:58:58 +00:00
scribu 14a8208e07 Clean up single_cat_title(), single_tag_title() and wp_title(). Fixes #14161
git-svn-id: https://develop.svn.wordpress.org/trunk@15598 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:21:13 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Mark Jaquith ad682bb2dd More efficient calendar queries. fixes #8351. props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@15585 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:22:56 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +00:00
Andrew Nacin 77d5cf7160 Disable the visual editor in iOS. props azaozz, simonwheatley. fixes #13326 for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15460 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 17:23:44 +00:00
Peter Westwood 8d72c5172c Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@15433 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-16 09:40:09 +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
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Ron Rennick f08169848f fix warning when page on front missing, see #13830
git-svn-id: https://develop.svn.wordpress.org/trunk@15224 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:30:59 +00:00
Andrew Nacin 6f57a1a3ec s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Andrew Nacin f5f97a46d3 Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: https://develop.svn.wordpress.org/trunk@14964 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:30:00 +00:00
Ryan Boren c219c46cbb Use filters instead of action in wp_login_form(). see #11172
git-svn-id: https://develop.svn.wordpress.org/trunk@14804 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 13:52:25 +00:00
Peter Westwood 7d675404ca Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360. See #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14646 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:22:14 +00:00
Nikolay Bachiyski 599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Ryan Boren dd9c60ef64 Force reauth when auth_redirect() redirects to login. see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14556 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 13:44:40 +00:00
Andrew Nacin c100b80c20 Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397.
git-svn-id: https://develop.svn.wordpress.org/trunk@14499 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 05:01:29 +00:00
Andrew Nacin 7fcb6fef4b Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580.
git-svn-id: https://develop.svn.wordpress.org/trunk@14486 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:40:10 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Peter Westwood 473772f395 First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
Fixes #12425 and #13009.
The fallback to these template files is now depreceated and will be removed in a future version.


git-svn-id: https://develop.svn.wordpress.org/trunk@14365 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 09:57:24 +00:00
Andrew Nacin d5e5ccdd72 Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14360 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 05:49:19 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin 881e9cc8a4 Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053
git-svn-id: https://develop.svn.wordpress.org/trunk@14331 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 18:10:42 +00:00
Ryan Boren 3479e68ff8 Return after echoing cached calendar. Fixes double output. Props mtdewvirus. fixes #13077
git-svn-id: https://develop.svn.wordpress.org/trunk@14183 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-21 21:35:39 +00:00
Andrew Nacin 7d823cbc23 Don't use require_once for get_template_part(). fixes #12958.
git-svn-id: https://develop.svn.wordpress.org/trunk@14075 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 17:26:03 +00:00
Dion Hulse 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Andrew Nacin 2254f7d6e9 Tweaks to the action in get_template_part(). fixes #12248, fixes #12941.
git-svn-id: https://develop.svn.wordpress.org/trunk@14047 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:40:47 +00:00
Andrew Nacin ebd39b1233 Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:38:38 +00:00
Andrew Nacin 0459129e69 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13831 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:44:43 +00:00
Peter Westwood 8003673862 Rename get_specific_template as get_template_part so as to make it clearer as to the point of the function. See #12371
git-svn-id: https://develop.svn.wordpress.org/trunk@13815 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:02:45 +00:00
Andrew Nacin 90182075c0 Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Dion Hulse 81b675575d Use $wp_query->get_queried_object() in single_post_title(). Fixes #11731
git-svn-id: https://develop.svn.wordpress.org/trunk@13502 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:00:27 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Andrew Nacin 98a2f10711 Add filter to the links in paginate_links(). fixes #10826, props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin da5a212bff get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Ryan Boren f6e79cc66c s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13361 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:18:13 +00:00
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren 12b118e514 Rename file. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13262 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:18:57 +00:00