Commit Graph

90 Commits

Author SHA1 Message Date
nacin
bdd70470e2 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +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
83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan
31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan
67661f7181 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:44:39 +00:00
nacin
30729cc791 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 22:03:36 +00:00
ryan
23d781a06e Make sure ext passes through sanitize_file_name()
git-svn-id: http://svn.automattic.com/wordpress/trunk@17998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:23:57 +00:00
ryan
04487fc268 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 20:05:12 +00:00
nacin
8d9cf65725 s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
westi
ee291ef5a5 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: http://svn.automattic.com/wordpress/trunk@16221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 09:41:03 +00:00
westi
d8b886461a We never want an admin bar on an APP request either. See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:46:35 +00:00
ryan
23948ab364 get_current_blog_id(). Props aaroncampbell. fixes #15233
git-svn-id: http://svn.automattic.com/wordpress/trunk@16050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 15:46:11 +00:00
nacin
65c1243ce3 More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-25 07:35:59 +00:00
westi
8b4a635d8b Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:27:18 +00:00
westi
b54183ae4c Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:01:21 +00:00
nacin
e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
nacin
3fc6562444 Switch to site_url() as wp-app base. fixes #11916
git-svn-id: http://svn.automattic.com/wordpress/trunk@14136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 05:56:35 +00:00
nacin
8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
nacin
a8e56e49ec Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: http://svn.automattic.com/wordpress/trunk@13427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:21:47 +00:00
ryan
9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
westi
d8490aeea2 Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 16:45:16 +00:00
ryan
c75817ca52 Fix typos. Fix assignment. Remove passing of non-existent arg. Props ScottMac. fixes #12193
git-svn-id: http://svn.automattic.com/wordpress/trunk@13054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 16:58:32 +00:00
ryan
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
ryan
f9a92c2588 Coding style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:25:40 +00:00
westi
9105b46360 Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:05:02 +00:00
westi
ff7831207c Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
ryan
cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
westi
7201bc515e Add some hooks to wp-app.php to allow a plugin to extend the data returned. Fixes #8826 props znarfor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 15:57:33 +00:00
westi
e5bf2656db Remove unnecessary and dead code from wp-app.php. Fixes #10938.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 10:32:15 +00:00
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
westi
cf552e9b1e Fix two more notices in the APP implementation. This time in the root /service page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:52:41 +00:00
westi
48aa373714 Enable the APP attachment file download to work correctly rather than just returning a lot of php notices. Fixes #10372 for trunk props mysz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:31:12 +00:00
westi
6fb4ff0ebe Fix notice in APP server if no authentication credentials supplied.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:11:52 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
ryan
8815dd60c2 Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:32:39 +00:00
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
ryan
c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
430a8cb2cf Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:42:30 +00:00
ryan
53cb41fc3c Always wp_authenticate in wp-app. Props wnorris. fixes #9320
git-svn-id: http://svn.automattic.com/wordpress/trunk@10771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 22:49:30 +00:00
westi
447298f038 Attachment metadata is stored in the summary field in AtomPub requests. Fixes #9148 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:35:20 +00:00
westi
0abd25b516 Add hooks to allow plugins to extend AtomPub support. Fixes #8827 props znarfor and josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:17:56 +00:00
ryan
e89d747f7a Use 'the_category_rss' template function in Atompub backend. Props znarfor, josephscott. fixes #8829
git-svn-id: http://svn.automattic.com/wordpress/trunk@10727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 02:07:55 +00:00
westi
1629f412ab Ensure that updating an uploaded file using AtomPub works correct. Fixes #9233 for trunk props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@10663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 18:37:02 +00:00
ryan
db7632bbf0 Return correct edit link. Props josephscott. fixes #9147
git-svn-id: http://svn.automattic.com/wordpress/trunk@10651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 00:03:53 +00:00
ryan
c62e75c601 Allow use of REMOTE_USER/REDIRECT_REMOTE_USER for authentication. Props yonosoytu. fixes #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:04:48 +00:00
ryan
a587695265 Send correct status. Props yonosoytu. see #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 20:21:09 +00:00
azaozz
1c6afd1892 Complete inline documentation for AtomPub, props jacobsantos, fixes #7777
git-svn-id: http://svn.automattic.com/wordpress/trunk@8954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 08:06:48 +00:00