Commit Graph

85 Commits

Author SHA1 Message Date
Ryan Boren
f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren
e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Peter Westwood
a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Ryan Boren
0a1c83449c Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12560 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:25:56 +00:00
Ryan Boren
6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood
e56fb80aa5 Revert [11212], [12252], [12255] and [12258]. Stick with Hello World for now and we will look at other solutions. See #110808.
git-svn-id: https://develop.svn.wordpress.org/trunk@12366 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 22:45:10 +00:00
Ryan Boren
cf9d70f50a Drop temp upgrade code. fixes #11266
git-svn-id: https://develop.svn.wordpress.org/trunk@12365 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 20:29:55 +00:00
Peter Westwood
ae06595dba Make sure the translated urls are attribute safe using esc_attr(). See #11008.
git-svn-id: https://develop.svn.wordpress.org/trunk@12258 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 12:11:18 +00:00
Peter Westwood
b1d71a4fcb Use _x() not _c() as we want to use the gettext contexts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12256 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 11:50:16 +00:00
Peter Westwood
1968cc57d6 Update the test case for #11008 - original pre paragraphed text was relying on autop to insert <br /> for the line breaks so make it explicit in the expected result.
git-svn-id: https://develop.svn.wordpress.org/trunk@12255 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 10:34:37 +00:00
Peter Westwood
a45e9950ac Let autop handle the first post. See #11008.
git-svn-id: https://develop.svn.wordpress.org/trunk@12252 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 09:43:45 +00:00
Ryan Boren
4f7906aced Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: https://develop.svn.wordpress.org/trunk@12232 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:53:03 +00:00
Ryan Boren
d940b723be Check DB ver 12217. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12218 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:43:38 +00:00
Ryan Boren
d1190b5bd6 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@12217 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:42:07 +00:00
Peter Westwood
2fefd415d2 First pass first post improvements. See #11008 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@12212 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 22:45:24 +00:00
Mark Jaquith
292781ec44 Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
git-svn-id: https://develop.svn.wordpress.org/trunk@11958 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-22 06:00:46 +00:00
Andrew Ozz
260543c4de Fix quotes, props Denis-de-Bernardy, see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11884 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 09:59:22 +00:00
Ryan Boren
9ba99f344c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11883 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 22:46:33 +00:00
Peter Westwood
fe7cb199bb Give better instructions when installing over an existing users table. Fixes #9569 based on patch from coffee2code.
git-svn-id: https://develop.svn.wordpress.org/trunk@11326 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 06:54:33 +00:00
Ryan Boren
c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Ryan Boren
fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Peter Westwood
4c01def10f Add a nag message if the user is still using an auto-generated password. See #9710 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11162 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 17:06:29 +00:00
Mark Jaquith
3c2fd1ca40 Drop the dual-use of db_version. Now it just stores the version. Post-upgrade hook triggered by separate binary db_upgraded option. fixes #9618
git-svn-id: https://develop.svn.wordpress.org/trunk@11040 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 23:12:57 +00:00
Ryan Boren
bf7fa167fa Handle backticks in dbDelta. Props AaronCampbell. fixes #8014
git-svn-id: https://develop.svn.wordpress.org/trunk@10948 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 17:45:11 +00:00
Andrew Ozz
5ac1f0112b Remove post_category and link_category from wp_install_defaults(), props Denis-de-Bernardy, fixes #9493
git-svn-id: https://develop.svn.wordpress.org/trunk@10902 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-09 13:46:10 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren
1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Ryan Boren
df0a1ee5c2 Typo fix. Props josephscott. fixes #9294
git-svn-id: https://develop.svn.wordpress.org/trunk@10736 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 23:12:24 +00:00
Ryan Boren
1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Peter Westwood
fbee65f20e Add documentation to detail reasoning for default from address. See #5007 props pishmishy
git-svn-id: https://develop.svn.wordpress.org/trunk@10575 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 13:31:43 +00:00
Ryan Boren
a99acb3cfd Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10553 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 23:10:11 +00:00
Andrew Ozz
8ecc21e2da Add hook "after_db_upgrade" and flush rewrite rules on the next page load after successful upgrade
git-svn-id: https://develop.svn.wordpress.org/trunk@10530 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 19:19:38 +00:00
Ryan Boren
2683a27a8b Optimize maybe_create_table(). Props jamescollins. fixes #8977
git-svn-id: https://develop.svn.wordpress.org/trunk@10447 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-27 22:35:21 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren
f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Peter Westwood
2e12a7cc82 Theme update UI first pass. See #7519 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8989 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 06:43:53 +00:00
Ryan Boren
8d3218c90a Update post_date for old drafts during upgrade. see #5698
git-svn-id: https://develop.svn.wordpress.org/trunk@8921 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 21:47:27 +00:00
Peter Westwood
832b0dd21a Only upgrade if we are installed. Fixes #7627 props pishmishy.
git-svn-id: https://develop.svn.wordpress.org/trunk@8763 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 20:55:40 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood
0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
c1516b35b5 Restore fields removed in [7645]. Props rm53. fixes #7320 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8350 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 16:30:20 +00:00
Ryan Boren
9cf90ec524 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8202 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 22:39:57 +00:00
Ryan Boren
ed29b5321f Typo fixes from mark8barnes and AndrewFrazier. fixes #7174
git-svn-id: https://develop.svn.wordpress.org/trunk@8187 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 18:52:52 +00:00
Ryan Boren
ce2dafe0e5 wp_guess_url() and install styling fixes from sambauers. fixes #7129 see #4732
git-svn-id: https://develop.svn.wordpress.org/trunk@8182 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:36:21 +00:00
Peter Westwood
d1f676cdc1 Allow enabling of remote publishing at install time. See #7157.
git-svn-id: https://develop.svn.wordpress.org/trunk@8139 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 16:35:45 +00:00
Ryan Boren
8c3e7d7283 Add delete_plugins and update_plugins caps. Props DD32. fixes #7096
git-svn-id: https://develop.svn.wordpress.org/trunk@8060 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 19:21:35 +00:00
Ryan Boren
6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren
7706846865 Clear out bad activation keys from 2.5.1. fixes #6842 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7936 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-15 20:07:54 +00:00
Ryan Boren
07b72e6dd9 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7796 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-24 00:19:09 +00:00
Ryan Boren
9be8f95463 Typo fixes. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7658 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:49:17 +00:00