Skip to content

Commit

Permalink
Merge pull request #106 from 10up/fix/92
Browse files Browse the repository at this point in the history
Bump WP tested up to version
  • Loading branch information
jeffpaul authored Jul 1, 2020
2 parents 97c0fb6 + fc1d1f1 commit d93bfe7
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 21 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Automatically tweets the post title or custom message and a link to the post.
[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Release Version](https://img.shields.io/github/release/10up/autoshare-for-twitter.svg)](https://github.com/10up/autoshare-for-twitter/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v5.3%20tested-success.svg) [![GPLv2 License](https://img.shields.io/github/license/10up/autoshare-for-twitter.svg)](https://github.com/10up/autoshare-for-twitter/blob/develop/LICENSE.md)
[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Release Version](https://img.shields.io/github/release/10up/autoshare-for-twitter.svg)](https://github.com/10up/autoshare-for-twitter/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v5.4%20tested-success.svg) [![GPLv2 License](https://img.shields.io/github/license/10up/autoshare-for-twitter.svg)](https://github.com/10up/autoshare-for-twitter/blob/develop/LICENSE.md)

## Overview

Expand All @@ -21,7 +21,7 @@ add_action( 'init', 'opt_my_cpt_into_autoshare' );

In addition, adding support while registering custom post types also works. Post types are automatically set to autoshare. Future versions of this plugin could allow this to be set manually.

While the autoshare feature can be opted into for post types using the above filter, by default the editor still has to manually enable autoshare during the post prepublish flow. The `autoshare_for_twitter_enabled_default` filter allows autoshare to be enabled by default for all posts of a given post type. Editors can still manually uncheck the option during the publishing flow.
While the autoshare feature can be opted into for post types using the above filter, by default the editor still has to manually enable autoshare during the post prepublish flow. The `autoshare_for_twitter_enabled_default` filter allows autoshare to be enabled by default for all posts of a given post type. Editors can still manually uncheck the option during the publishing flow.

Example:

Expand Down
305 changes: 287 additions & 18 deletions languages/autoshare-for-twitter.pot
Original file line number Diff line number Diff line change
@@ -1,40 +1,309 @@
# Copyright (C) 2020 10up
# This file is distributed under the GPL-2.0-or-later.
msgid ""
msgstr ""
"Project-Id-Version: Autoshare for Twitter 1.0.2\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/autoshare-for-twitter\n"
"POT-Creation-Date: 2020-07-01 04:27:28+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"X-Generator: babel-plugin-makepot\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"X-Generator: node-wp-i18n 1.2.3\n"

#: src/js/AutoshareForTwitterPostStatusInfo.js:16
msgid "View"
#: includes/admin/assets.php:197
msgid "Error"
msgstr ""

#: includes/admin/assets.php:202
msgid "An unknown error occurred"
msgstr ""

#: includes/admin/post-meta.php:217 includes/admin/post-meta.php:270
msgid "This post was not tweeted."
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:111
msgid "Tweet this post?"
#: includes/admin/post-meta.php:254
#. Translators: Placeholder is a date.
msgid "Tweeted on %s"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:131
msgid "Custom message:"
#: includes/admin/post-meta.php:260
msgid "Failed to tweet: "
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:146
msgid "Hide"
#: includes/admin/post-meta.php:294
msgid "Tweeted on"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:146
#: includes/admin/post-meta.php:297
msgid "View"
msgstr ""

#: includes/admin/post-meta.php:313
msgid "Failed to tweet"
msgstr ""

#: includes/admin/post-meta.php:348
msgid "Tweet this post"
msgstr ""

#: includes/admin/post-meta.php:349
msgid "Edit"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:66
msgid "An error occurred."
#: includes/admin/post-meta.php:354
msgid "Custom Message"
msgstr ""

#: includes/admin/post-transition.php:151
msgid "Something happened during Twitter update."
msgstr ""

#: includes/admin/post-transition.php:187
msgid "This post was not published to Twitter."
msgstr ""

#: src/js/index.js:32
msgid "Enabled"
#: includes/admin/settings.php:33 includes/admin/settings.php:368
msgid "Autoshare for Twitter Settings"
msgstr ""

#: src/js/index.js:32
msgid "Disabled"
#. Plugin Name of the plugin/theme
msgid "Autoshare for Twitter"
msgstr ""

#: includes/admin/settings.php:61
msgid "Enable Autoshare for"
msgstr ""

#: includes/admin/settings.php:68
msgid "All content types"
msgstr ""

#: includes/admin/settings.php:69
msgid "Selected content types only"
msgstr ""

#: includes/admin/settings.php:93
msgid "Enable by default"
msgstr ""

#: includes/admin/settings.php:99
msgid "Enable Autoshare by default when publishing content"
msgstr ""

#: includes/admin/settings.php:106
msgid "Image setting"
msgstr ""

#: includes/admin/settings.php:112
msgid "Always add the featured image to tweets"
msgstr ""

#: includes/admin/settings.php:120
msgid "Twitter connection settings"
msgstr ""

#: includes/admin/settings.php:128
msgid "API key"
msgstr ""

#: includes/admin/settings.php:135
msgid "paste your API key here"
msgstr ""

#: includes/admin/settings.php:142
msgid "API secret"
msgstr ""

#: includes/admin/settings.php:149
msgid "paste your API secret key here"
msgstr ""

#: includes/admin/settings.php:156
msgid "Access token"
msgstr ""

#: includes/admin/settings.php:163 includes/admin/settings.php:177
msgid "paste your Access token secret here"
msgstr ""

#: includes/admin/settings.php:170
msgid "Access secret"
msgstr ""

#: includes/admin/settings.php:184
msgid "Twitter handle"
msgstr ""

#: includes/admin/settings.php:190
msgid "enter your Twitter handle here"
msgstr ""

#: includes/admin/settings.php:304
msgid "Twitter Settings"
msgstr ""

#: includes/admin/settings.php:320
msgid "Open connection settings"
msgstr ""

#: includes/admin/settings.php:323
msgid "Close connection settings"
msgstr ""

#: includes/admin/settings.php:328
msgid "1. Apply for a Twitter developer account"
msgstr ""

#: includes/admin/settings.php:329
msgid "2. Create a Twitter app for your website"
msgstr ""

#: includes/admin/settings.php:331
msgid "Click the <code>Create an app</code> button on the"
msgstr ""

#: includes/admin/settings.php:331
msgid "Twitter develop apps page."
msgstr ""

#: includes/admin/settings.php:331
msgid "Twitter developer apps page."
msgstr ""

#: includes/admin/settings.php:332
msgid ""
"Fill out the <code>App name</code> and <code>Application description</code> "
"fields."
msgstr ""

#: includes/admin/settings.php:333
msgid ""
"Set the <code>Website URL</code> and <code>Callback URLs</code> fields to "
"https://yourdomain.yourdomainextension."
msgstr ""

#: includes/admin/settings.php:334
msgid ""
"Fill out the <code>Tell us how this app will be used</code> field. No other "
"fields or URLs are required or necessary."
msgstr ""

#: includes/admin/settings.php:336
msgid "3. Configure access to your Twitter app API keys"
msgstr ""

#: includes/admin/settings.php:338
msgid ""
"Click on the <code>Keys and tokens</code> tab within your newly created "
"Twitter developer app."
msgstr ""

#: includes/admin/settings.php:339
msgid ""
"Copy the <code>API key</code> and <code>API secret key</code> values from "
"your Twitter app <code>Consumer API keys</code> section and paste them "
"below."
msgstr ""

#: includes/admin/settings.php:341
msgid "4. Configure access to your Twitter app access tokens"
msgstr ""

#: includes/admin/settings.php:343
msgid ""
"Click on the <code>Generate</code> button from your Twitter app "
"<code>Access token & access token secret</code> section."
msgstr ""

#: includes/admin/settings.php:344
msgid ""
"Copy the <code>Access token</code> and <code>Access token secret</code> "
"values and paste them below."
msgstr ""

#: includes/admin/settings.php:346
msgid "5. Confirm Twitter handle"
msgstr ""

#: includes/admin/settings.php:348
msgid ""
"Fill out your Twitter handle that will be used to tweet your posts, pages, "
"etc."
msgstr ""

#: includes/admin/settings.php:350
msgid "6. Connect your Twitter developer app with this site"
msgstr ""

#: includes/admin/settings.php:352
msgid "Click the <code>Save Changes</code> button below."
msgstr ""

#. Author of the plugin/theme
msgid "10up"
msgstr ""

#: includes/admin/settings.php:380
msgid "10up logo"
msgstr ""

#: includes/admin/settings.php:384
msgid "by"
msgstr ""

#: includes/admin/settings.php:388 includes/admin/settings.php:389
msgid "FAQs"
msgstr ""

#: includes/admin/settings.php:391 includes/admin/settings.php:392
msgid "Support"
msgstr ""

#: includes/admin/settings.php:413
#. translators: %s is the plugin setting page URL
msgid "<a href=\"%s\">Settings</a>"
msgstr ""

#: includes/admin/settings.php:419
#. translators: %s is the plugin setting page URL
msgid "<a href=\"%s\">Set up your Twitter account</a>"
msgstr ""

#: includes/rest.php:67
msgid "Unique identifier for the object."
msgstr ""

#: includes/rest.php:74
msgid "Tweet text, if overriding the default"
msgstr ""

#: includes/rest.php:81
msgid "Whether autoshare is enabled for the current post"
msgstr ""

#: includes/rest.php:128
msgid "Autoshare enabled."
msgstr ""

#: includes/rest.php:129
msgid "Autoshare disabled."
msgstr ""

#: includes/rest.php:157
msgid "Autoshare status message"
msgstr ""

#. Description of the plugin/theme
msgid ""
"Automatically tweets the post title or custom message and a link to the "
"post."
msgstr ""

#: src/js/index.js:46
msgid "Autoshare:"
#. Author URI of the plugin/theme
msgid "https://10up.com"
msgstr ""
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: 10up, johnwatkins0, adamsilverstein, scottlee, dinhtungdu
Tags: twitter, tweet, autoshare, auto-share, auto share, share, social media
Requires at least: 4.7
Tested up to: 5.3.2
Tested up to: 5.4.2
Requires PHP: 7.0
Stable tag: 1.0.2
License: GPL-2.0-or-later
Expand Down

0 comments on commit d93bfe7

Please sign in to comment.