Browse Source
use `mp-syndicate-to` by default, add setting
use `mp-syndicate-to` by default, add setting
* adds setting to choose the property to use for the syndication targets * all existing users default to the old value `syndicate-to` * new users default to `mp-syndicate-to` closes #66pull/82/head
Aaron Parecki
8 years ago
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
8 changed files with 36 additions and 11 deletions
-
4controllers/controllers.php
-
5schema/migrations/0004.sql
-
1schema/mysql.sql
-
1schema/sqlite.sql
-
2views/docs/note.php
-
12views/new-bookmark.php
-
4views/new-post.php
-
18views/settings.php
@ -0,0 +1,5 @@ |
|||||
|
ALTER TABLE users |
||||
|
ADD COLUMN `micropub_syndicate_field` VARCHAR(255) NOT NULL DEFAULT 'mp-syndicate-to' AFTER `micropub_slug_field`; |
||||
|
|
||||
|
UPDATE users |
||||
|
SET micropub_syndicate_field = 'syndicate-to'; |
Write
Preview
Loading…
Cancel
Save
Reference in new issue