Commit Graph

159 Commits

Author SHA1 Message Date
Dion Hulse
0b648f198b Revert [33614] which removed all branches/4.3 files due to a sync script error.
git-svn-id: http://core.svn.wordpress.org/branches/4.3@33616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-19 13:24:10 +00:00
Dion Hulse
7f86f37642 Term Splitting: Fix a reversal of parameters to wp_schedule_single_event() introduced in [33621].
The existing invalid cron entries will not be purged automatically (as the 'timestamp' is never matched) so we do this ourselves.

Merges [33646] to the 4.3 branch.
Props mechter for noticing!
See #30261.
Fixes #33423 for the 4.3 branch.

Built from https://develop.svn.wordpress.org/branches/4.3@33647


git-svn-id: http://core.svn.wordpress.org/branches/4.3@33614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-19 11:37:14 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
01942c8a6c Revert debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@16514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:44:11 +00:00
ryan
66d34fa710 array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:43:19 +00:00
ryan
a6a1522a8d File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:50:15 +00:00
ryan
5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan
4a89a7ee40 Style updates for install from mt. fixes #5946
git-svn-id: http://svn.automattic.com/wordpress/trunk@6965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 23:55:11 +00:00
ryan
6f108ce6f3 Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:12:33 +00:00
ryan
a8c91f6c0b Include plugin.php before calling wp_die. fixes #4238 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 16:18:11 +00:00
markjaquith
3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan
8160b01da1 Fix wp_die() includes when bailing out in the blog header. Props tacker. fixes #3883
git-svn-id: http://svn.automattic.com/wordpress/trunk@4973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 00:17:58 +00:00
ryan
43c48d8f38 Change editing wp-config codex link. fixes #1936
git-svn-id: http://svn.automattic.com/wordpress/trunk@4737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:42:06 +00:00
markjaquith
7d9c326c36 missing wp-config.php error uses wp_die() now. props Nazgul. fixes #1936
git-svn-id: http://svn.automattic.com/wordpress/trunk@4307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 05:32:18 +00:00
ryan
42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
matt
10586c54bc More user
git-svn-id: http://svn.automattic.com/wordpress/trunk@2633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:22:06 +00:00
ryan
1baf503d64 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 23:15:13 +00:00
matt
09adfadae0 Better headers for CGI enviroments
git-svn-id: http://svn.automattic.com/wordpress/trunk@2623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-09 00:17:43 +00:00
matt
3222cf4dfb http://mosquito.wordpress.org/view.php?id=1323 - Hat tip: Dougal
git-svn-id: http://svn.automattic.com/wordpress/trunk@2600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:07:21 +00:00
matt
3cc914328a He ain't ugly, he's my brother.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-05 23:05:51 +00:00
matt
f49bca8131 Possible fix for http://mosquito.wordpress.org/view.php?id=1275
git-svn-id: http://svn.automattic.com/wordpress/trunk@2579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-03 04:32:40 +00:00
matt
a0e1196acf Logic was *really* confusing and it seemed to return 304s badly, breaking all dashboards when I updated the dev blog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-14 00:09:52 +00:00
ryan
5b9e782523 Send 304 if If-Modified-Since is >= the most rcent post time. http://mosquito.wordpress.org/view.php?id=582 Props: dougal
git-svn-id: http://svn.automattic.com/wordpress/trunk@2529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 16:36:46 +00:00
ryan
e54d8a34c2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: http://svn.automattic.com/wordpress/trunk@2523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:12:36 +00:00
ryan
24865d57a0 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 16:39:41 +00:00
ryan
d27f6e58e6 Path info permalinks weren't getting 404 treatment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 05:43:42 +00:00
ryan
8f9c24ef7a Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: http://svn.automattic.com/wordpress/trunk@2478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-27 20:45:01 +00:00
ryan
9da4d0f021 Use is_single() and is_page() to determine if single and more should be set. http://mosquito.wordpress.org/view.php?id=969 Props: coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 02:07:08 +00:00
rboren
7431bdd75a Don't try to process path info when directly loading the feed files. Props to Toby Simmons. http://mosquito.wordpress.org/view.php?id=903
git-svn-id: http://svn.automattic.com/wordpress/trunk@2363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-18 01:43:48 +00:00
saxmatt
64e772f076 Send headers in a CGI friendly way
git-svn-id: http://svn.automattic.com/wordpress/trunk@2336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 21:05:15 +00:00
rboren
6a11fa21a2 Load comments-popup template through the index.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:17:23 +00:00
saxmatt
6b03f9b4a5 Don't exit too early - http://mosquito.wordpress.org/view.php?id=870
git-svn-id: http://svn.automattic.com/wordpress/trunk@2326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 05:50:46 +00:00
saxmatt
8e014dea63 html_type to allow for true XHTML.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:36:57 +00:00
saxmatt
41f2e62b24 Send proper header to avoid charset mismatch - http://mosquito.wordpress.org/view.php?id=857
git-svn-id: http://svn.automattic.com/wordpress/trunk@2320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:29:53 +00:00
saxmatt
2389a0aa7c Don't double-nest wp-admin. http://mosquito.wordpress.org/view.php?id=465
git-svn-id: http://svn.automattic.com/wordpress/trunk@2309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 00:49:03 +00:00
rboren
438753cfdd Make sure trackback template is not double processed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 21:25:08 +00:00
rboren
677a576cdb Process feed and trackback templates even if not using themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 21:20:00 +00:00
saxmatt
ad536c567e Better default behaviour for theme calling
git-svn-id: http://svn.automattic.com/wordpress/trunk@2303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:38:28 +00:00
rboren
9c4632e9f6 Don't redirect to permalink page if search returns one result. Move search template load higher up in load order.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:32:24 +00:00
rboren
a266c82c47 Do not use is_*() functions before query_posts() runs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:01:41 +00:00
rboren
1b8050d0d3 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: http://svn.automattic.com/wordpress/trunk@2299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 19:42:22 +00:00
rboren
bb5d95dd95 Make sure is_feed() is true when feed files are referenced directly. http://mosquito.wordpress.org/view.php?id=726
git-svn-id: http://svn.automattic.com/wordpress/trunk@2272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 06:42:07 +00:00
rboren
2a8038d93b Remove extra wp-l10n.php include. Bug 756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:43:31 +00:00
rboren
9838608868 Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:20:54 +00:00
rboren
c407b7b457 get_*_template() functions and filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 03:44:32 +00:00
rboren
e9d1241d26 Remove support for 'all' queries and for poststart and postend.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:49:51 +00:00
rboren
e8aff31d6e Add missing dash. Bug 713.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-19 16:15:45 +00:00
rboren
a143594b7b If template redirection is turned off, we still need to redirect for feeds and trackbacks so that permalinks do not break.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 05:52:10 +00:00
rboren
829d460ce4 s/wp_did_template_redirect/wp_template_redirect/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-09 01:53:31 +00:00
saxmatt
73fd50000e Formatting cleanup and added category-123.php functionality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-03 00:14:42 +00:00