Commit Graph

15976 Commits

Author SHA1 Message Date
Andrew Nacin
711abb67bc Avoid functions.php from ever being treated as a page template. fixes #16689.
git-svn-id: https://develop.svn.wordpress.org/trunk@17539 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:40:52 +00:00
Andrew Nacin
21c2c70e25 Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: https://develop.svn.wordpress.org/trunk@17538 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:39:16 +00:00
Ryan Boren
43b0ccccbc Don't die for failed db connects during install. Props westi. fixes #16640 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17536 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 17:46:40 +00:00
Dion Hulse
615e0c5bc7 Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17535 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:58:09 +00:00
Dion Hulse
1a22b56c53 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17534 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:35:41 +00:00
Ryan Boren
a4d818978c Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17532 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:42:43 +00:00
Ryan Boren
42e432bd94 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17530 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:35:47 +00:00
Ryan Boren
8cd811538e Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17528 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:27:45 +00:00
Ryan Boren
52cbde8270 Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17526 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:06:38 +00:00
Dion Hulse
1359ecd06b Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
git-svn-id: https://develop.svn.wordpress.org/trunk@17525 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 00:04:15 +00:00
Andrew Nacin
1eba25a104 I before E, except after C. props jkudish, fixes #16915.
git-svn-id: https://develop.svn.wordpress.org/trunk@17524 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-21 23:44:30 +00:00
Mark Jaquith
97587c5374 Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: https://develop.svn.wordpress.org/trunk@17523 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-21 18:30:56 +00:00
Andrew Ozz
80e0029a13 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: https://develop.svn.wordpress.org/trunk@17522 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-17 22:01:40 +00:00
Andrew Nacin
04bc9c01cb Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17521 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-10 18:47:44 +00:00
Mark Jaquith
0984bae175 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17518 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-10 04:24:48 +00:00
Mark Jaquith
d79937e6a3 Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17516 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:46:58 +00:00
Mark Jaquith
f490877ab4 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17514 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:40:52 +00:00
Mark Jaquith
c15c6f2b23 Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17512 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:18:45 +00:00
Ryan Boren
652ac55480 Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17510 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:56:12 +00:00
Ryan Boren
65ecd2daaa Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17508 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:48:05 +00:00
Ryan Boren
b08c4772fa Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17506 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:06:35 +00:00
Ryan Boren
13058d536e Don't perform taxonomy queries for single post requests. Props scribu. fixes #16793 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17504 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:01:19 +00:00
Ryan Boren
4cb526a5b1 Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17502 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 21:54:05 +00:00
Ryan Boren
63f4028ba5 Don't double process the tag query var. Props scribu. fixes #16730 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17500 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-03 16:11:02 +00:00
Ryan Boren
0e84a66e49 Do not do canonical redirects for unregistered feeds. fixes #16704 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17498 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-03 15:55:24 +00:00
Andrew Nacin
b905438706 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17496 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 18:33:55 +00:00
Mark Jaquith
1ca947074d Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17494 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 17:29:11 +00:00
Ryan Boren
c292114f91 Do not perform canonical redirects for IISto avoid redirect loops on some IIS setups. fixes #16639 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17492 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 15:33:11 +00:00
Mark Jaquith
9c2707c3e7 Reparse the taxonomy query if query vars change. fixes #16622 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17489 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 04:10:21 +00:00
Andrew Nacin
0c45aa5b10 3.2-bleeding
git-svn-id: https://develop.svn.wordpress.org/trunk@17488 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-23 16:51:47 +00:00
Mark Jaquith
1068e1c6fc 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@17485 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-23 14:44:55 +00:00
Mark Jaquith
caea06cae3 Also mention compressed scripts
git-svn-id: https://develop.svn.wordpress.org/trunk@17483 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 22:36:17 +00:00
Andrew Nacin
22230cb94e Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17481 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 10:12:38 +00:00
potbot
77ccb220a4 POT, generated from r17478
git-svn-id: https://develop.svn.wordpress.org/trunk@17479 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 08:27:30 +00:00
Andrew Nacin
e63f2549db Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17478 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 08:23:30 +00:00
Andrew Nacin
6970857abf Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17475 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 04:24:20 +00:00
Mark Jaquith
90a2c2c945 Make a written offer pointing to a central WordPress.org URL for obtaining the source to any binary programs included in WordPress, instead of relying on third party sites. Include the MIT license file that the swfupload project omitted from their codebase. fixes #16517 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17472 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-21 19:36:16 +00:00
Andrew Nacin
395bb6ad4c Ensure we're matching the complete theme directory when excluding parent templates from the theme editor. props chrisbliss18, fixes #16607 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17471 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-21 18:57:09 +00:00
Ryan Boren
f7f96d2f1f 3.0 compat for twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@17469 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-21 18:35:37 +00:00
Mark Jaquith
8f7a3680ad Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17467 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-18 06:08:07 +00:00
Mark Jaquith
0cdc6d2e61 Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17465 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-18 05:10:58 +00:00
Ryan Boren
3846f7dd95 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17463 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-17 01:30:56 +00:00
Andrew Nacin
28f60802b8 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17461 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 19:38:22 +00:00
Ryan Boren
170a0cf96b Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17459 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 19:24:18 +00:00
Ryan Boren
e7ceede332 Don't allow changing the post type. Props nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17457 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 18:58:06 +00:00
Ryan Boren
5bfe6fa2b1 Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17455 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 16:25:52 +00:00
Ryan Boren
d4e9bb7183 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17453 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 23:59:45 +00:00
Ryan Boren
db31b732eb Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17451 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 23:57:13 +00:00
Ryan Boren
2394a8d68d Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17449 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 03:43:47 +00:00
Andrew Nacin
b6d982827e s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17448 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-14 22:57:18 +00:00