Jon Cave
3f8ae63a88
Remove old show_last_update/include_last_update_time/show_date code from category template functions. Props solarissmoke. Fixes #19953 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19927 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-15 16:46:01 +00:00
Ryan Boren
3d51611c08
Don't assume elements exist. Check to avoid notices. Props kurtpayne, rmccue. fixes #19914
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19926 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:46:11 +00:00
Ryan Boren
ee5aae19ef
Set post password cookies via an action in wp-login.php. Retire wp-pass.php (one less root file). Obey login ssl preferences for post password form submission. Props SergeyBiryukov. fixes #19798
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19925 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:29:22 +00:00
Ryan Boren
2c83196cff
Update phpdoc for wp_mime_type_icon(). Props SergeyBiryukov, mitchoyoshitaka. fixes #16604
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19924 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:12:01 +00:00
Ryan Boren
f7abac6c21
Properly redirect to install.php when visiting wp-login.php with a config file but no db. Props SergeyBiryukov. fixes #18397
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19923 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 18:08:45 +00:00
Ryan Boren
4ccc748312
Use site_url() to construct the cron url. Props SergeyBiryukov. see #13449
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19922 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:53:35 +00:00
Ryan Boren
edc9b42f36
Lose unnecessary space. Props SergeyBiryukov. fixes #19964
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19921 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:25:40 +00:00
Andrew Nacin
42b95ae4c9
Cap check help text. see #19933 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19920 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:23:31 +00:00
Ryan Boren
d7454c743c
Cap check help text. Add mention of Welcome box. Props dougwrites, nacin. fixes #19933
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19919 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 17:12:27 +00:00
Ryan Boren
021c55798e
Split the main WP_Query posts query into two queries to avoid temp tables. Leverage cache to avoid second query in persistent cache environments. Props scribu, cheald, prettyboymp. see #18536
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19918 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 15:09:35 +00:00
Jon Cave
5055a133d5
s/oembed_cache/oembed-cache/ in admin AJAX $core_actions_*. Props jeremyfelt. Fixes #20038 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19917 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 10:01:00 +00:00
potbot
305c67e6ac
POT, generated from r19915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19916 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 04:17:55 +00:00
Lance Willett
a6951d77f3
Twenty Twelve template changes and fixes ... see #19978 .
...
* Add custom header support
* header.php: use `get_stylesheet_uri()` to load stylesheet, props Mamaduka
* Add full-width template, including adding relevant body_class value as a CSS hook
* Hide sidebar on all views if no active widgets exist
* Fix site title output (was missing site title)
* Remove "featured" title for sticky posts
* Add content template files for aside, image, link, and quote post formats
* Indent content-single.php to match content.php
* Remove sample JPG since Twenty Twelve ships with no default header images
... and style updates, props drewstrojny
* Better footer styles
* Styling for full-width layouts
* Add basic styles for archive views
* Refine post header/footer styles a bit
git-svn-id: https://develop.svn.wordpress.org/trunk@19915 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 03:54:46 +00:00
Ryan Boren
362ef00fc4
Disallow changing the post type in mw_editPost(). see #18429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19914 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-13 21:01:55 +00:00
Jon Cave
aeff5194b5
Stop WP_Editor from outputting TinyMCE external plugins/languages multiple times. Props Cyapow. Fixes #19648 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19913 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-13 18:05:04 +00:00
Andrew Ozz
5c1c053485
Add the editor ID and the post type (when available) as classes to the TinyMCE's body, fixes #19437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19912 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-13 07:22:45 +00:00
Andrew Nacin
682c9bd310
Make sure we are using the admin-ajax handler when we call wp_die() for WP_Ajax_Response. see #20024 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19911 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-12 19:02:07 +00:00
Andrew Nacin
52838cbf4d
Docs, see ##19882.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19910 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:49:56 +00:00
Andrew Nacin
1995262477
Allow get_comment_meta() to be called with only a comment ID, something get_metadata() allows. Same functionality as get_user_meta() and get_post_meta(). see #19882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19909 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:44:30 +00:00
Andrew Nacin
c8f498046f
Allow get_post_meta() to be called with only a post ID, as get_metadata() handles this. props scribu, fixes #19882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19908 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:42:54 +00:00
Andrew Nacin
9f6709c599
Use correct reference in regex. props danielbachhuber, fixes #20018 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19907 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:28:37 +00:00
Jon Cave
dd9c09eff5
Make get_post_custom() a wrapper of get_post_meta() so that it works when cache addition is suspended and to simplify it.
...
Props leewillis77 for the initial patch. Fixes #19708 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19906 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 22:00:37 +00:00
Ryan Boren
4d6b3dd997
Remove unnecessary cap check in wp_newPage(). mw_newPost() will handle it. Props nprasath002. fixes #19981
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19905 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 20:49:27 +00:00
bumpbot
c9d2c7c7d3
Compress scripts/styles: 3.4-alpha-19904.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19904 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 18:30:49 +00:00
Daryl Koopersmith
5ff9cd268a
Trailing commas make JS cry. see #19810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19903 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 18:05:20 +00:00
Ryan Boren
99c65753a4
Add post ID argument to _wp_post_thumbnail_html() rather than relying on a global. Post the ID from wp_ajax_set_post_thumbnail(). Props batmoo. fixes #20003
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19902 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 17:41:37 +00:00
Andrew Nacin
917a954113
Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19901 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 16:38:48 +00:00
Jon Cave
8229caa7c4
Add @since and @access tag to _split_str_by_whitespace(). Props ocean90. See #16892 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19900 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 13:57:21 +00:00
Jon Cave
ffa81a1b1e
Improve efficiency of make_clickable(). Props mdawaffe. Fixes #16892 .
...
Not only does this improve general performance, but also helps to prevent
segfaults caused by malicious input to the regular expression. The regular
expression is also simplified to help readability and maintenance.
git-svn-id: https://develop.svn.wordpress.org/trunk@19899 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 13:42:15 +00:00
bumpbot
a0aee53ab4
Compress scripts/styles: 3.4-alpha-19898.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19898 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 09:00:50 +00:00
Mark Jaquith
54ab38d9ed
Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19897 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 08:45:17 +00:00
bumpbot
4e7b7683d2
Compress scripts/styles: 3.4-alpha-19896.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19896 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 23:30:50 +00:00
Jon Cave
b3a99c8589
Fix incorrect pending comment count updates for filtered views. Fixes #19905 .
...
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.
git-svn-id: https://develop.svn.wordpress.org/trunk@19895 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 23:29:24 +00:00
bumpbot
d0d49945ab
Compress scripts/styles: 3.4-alpha-19894.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19894 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 22:00:49 +00:00
Ryan Boren
d9d408fd44
Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19893 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 21:40:46 +00:00
Ryan Boren
a95f44f53f
404 non-existant pages. Make handle_404() readable. Props benbalter, nacin. fixes #15770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19892 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 21:04:36 +00:00
Ryan Boren
785d6b6acc
Switch from Net_IPv6 to SimplePie_Net_IPv6. Props stephdau, rmccue. fixes #19991
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19891 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 20:17:23 +00:00
Ryan Boren
87fc8a6b70
Upgrade SimplePie to 1.2.1. Props nacin. fixes #18309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19890 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 20:15:22 +00:00
Ryan Boren
49cb409b27
Add refresh_blog_details action. Props mdawaffe. fixes #19987
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19889 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 19:53:53 +00:00
bumpbot
352e3bb9b9
Compress scripts/styles: 3.4-alpha-19888.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19888 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:30:50 +00:00
Ryan Boren
1597835e12
Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19887 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:20:26 +00:00
Ryan Boren
88b6f54e07
Exclude user_url from default user search columns for large networks. fixes #19999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19886 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:15:24 +00:00
Joseph Scott
0ae4ea81c1
Provide the attachment_id of a media item in the XML-RPC call wp.getMediaItem.
...
Props skithund
Fixes #18683
git-svn-id: https://develop.svn.wordpress.org/trunk@19885 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 23:32:25 +00:00
Joseph Scott
08160dcccf
Expose image_default_link_type, image_default_size, and image_default_align
...
options via XML-RPC
Props koke
Fixes #18126
git-svn-id: https://develop.svn.wordpress.org/trunk@19884 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 23:28:23 +00:00
Joseph Scott
42ed9afd4c
Expose the post modified date (in blog TZ and GMT) via XML-RPC
...
Props ocollet
Fixes #19027
git-svn-id: https://develop.svn.wordpress.org/trunk@19883 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 23:25:11 +00:00
Andrew Nacin
8d80cff84d
Add search_columns arg to WP_User_Query to allow for explicit column choices. Without it, the columns will be detected based on the search term. see #19810 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19882 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 21:48:47 +00:00
Jon Cave
1f9b62bf85
Prevent undefined index notices in do_enclose(). Props jeremyclarke. Fixes #19865 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19881 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 20:55:18 +00:00
Andrew Nacin
7e305ea285
In case of 404, redirect /login, /dashboard, /admin to corresponding WP equivalents. fixes #19607 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19880 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 20:11:52 +00:00
Andrew Nacin
9c98b02e1d
Combine two strings. props kenan3008, see #18429 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19879 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 18:50:25 +00:00
Andrew Nacin
a3055f1031
Let wp-admin work as well as wp-admin/ for the canonical redirect. see #19607 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19878 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 18:03:25 +00:00