Skip to content

Commit

Permalink
Additional fixes for the plugin check action
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Oct 5, 2024
1 parent 3ef126c commit 781e116
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/plugincheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ jobs:

- name: Run plugin check
uses: wordpress/plugin-check-action@v1
exclude-directories: |
'./bin'
'./.github'
exclude-files: |
'.gitmodules'
'.gitattributes'
'.editorconfig'
'.eslintrc.js'
23 changes: 11 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
# Syndication Links #
## Syndication Links ##
**Contributors:** [dshanske](https://profiles.wordpress.org/dshanske/)
**Tags:** syndication, indieweb, indiewebcamp, POSSE, social media, sharing
**Tested up to:** 6.5
**Stable tag:** 4.4.20
**Tags:** syndication, indieweb, POSSE, sharing
**Tested up to:** 6.6
**Stable tag:** 4.4.21
**License:** GPLv2 or later

A simple way to link to copies of your [cross-posted](https://indieweb.org/cross-posting) content in other social networks or websites. Now with posting UI.

## Description ##

It supports adding rel-syndication/u-syndication links to your WordPress posts, pages, and comments, indicating where a syndicated copy is, in the form of a text or icon link. You can do this
manually and some plugins support automatically adding their links as well. The plugin contains a generic UI for syndicating to other sites through your site or a Micropub Client.
It supports addinglinks to your WordPress posts, pages, and comments, indicating where a syndicated copy is, in the form of a text or icon link. You can do this
manually or with supported plugins. Also contains a generic UI for syndicating to other sites through your site or a Micropub Client.

## Screenshots ##

### 1. Example of Syndication Links metabox with links filled in ###
![Example of Syndication Links metabox with links filled in](/.wordpress-org/screenshot-1.png)

### 2. Example of output display on website ###
![Example of output display on website](/.wordpress-org/screenshot-2.png)

1. Example of Syndication Links metabox with links filled in
2. Example of output display on website

## Installation ##

Expand Down Expand Up @@ -169,6 +165,9 @@ In no particular order...

## Changelog ##

### Version 4.4.21 ( 2024-09-28 ) ###
* Send Micropub content as HTML over plaintext

### Version 4.4.20 ( 2024-05-12 ) ###
* Refresh icons
* Add filtering of some HTML tags for publishing
Expand Down
15 changes: 9 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
=== Syndication Links ===
== Syndication Links ===
Contributors: dshanske
Tags: syndication, indieweb, indiewebcamp, POSSE, social media, sharing
Tested up to: 6.5
Stable tag: 4.4.20
Tags: syndication, indieweb, POSSE, sharing
Tested up to: 6.6
Stable tag: 4.4.21
License: GPLv2 or later

A simple way to link to copies of your [cross-posted](https://indieweb.org/cross-posting) content in other social networks or websites. Now with posting UI.

== Description ==

It supports adding rel-syndication/u-syndication links to your WordPress posts, pages, and comments, indicating where a syndicated copy is, in the form of a text or icon link. You can do this
manually and some plugins support automatically adding their links as well. The plugin contains a generic UI for syndicating to other sites through your site or a Micropub Client.
It supports addinglinks to your WordPress posts, pages, and comments, indicating where a syndicated copy is, in the form of a text or icon link. You can do this
manually or with supported plugins. Also contains a generic UI for syndicating to other sites through your site or a Micropub Client.

== Screenshots ==

Expand Down Expand Up @@ -165,6 +165,9 @@ In no particular order...

== Changelog ==

= Version 4.4.21 ( 2024-09-28 ) =
* Send Micropub content as HTML over plaintext

= Version 4.4.20 ( 2024-05-12 ) =
* Refresh icons
* Add filtering of some HTML tags for publishing
Expand Down
5 changes: 2 additions & 3 deletions syndication-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Syndication Links
* Plugin URI: http://wordpress.org/plugins/syndication-links
* Description: Add Links to Syndicated Copies of Your Posts
* Version: 4.4.20
* Version: 4.4.21
* Requires at least: 4.9.9
* Requires PHP: 7.0
* Author: David Shanske
Expand Down Expand Up @@ -37,7 +37,6 @@ function syndication_links_load( $files, $dir = 'includes/' ) {
* Filename to Classname Function.
*
* @param string $filename.
*
*/
function syndication_links_filename_to_classname( $filename ) {
$class = str_replace( 'class-', '', $filename );
Expand All @@ -54,9 +53,9 @@ function syndication_links_filename_to_classname( $filename ) {
* Load and register files.
*
* Checks for the existence of and loads files, then registers them as providers.
*
* @param array $files An array of filenames.
* @param string $dir The directory the files can be found in, relative to the current directory.
*
*/
function syndication_links_register_providers( $files, $dir = 'includes/' ) {
$dir = trailingslashit( $dir );
Expand Down

0 comments on commit 781e116

Please sign in to comment.