Skip to content

Commit 25189e2

Browse files
committed
Spelling corrections
It's "Able Player" not "AblePlayer".
1 parent 8b5204d commit 25189e2

File tree

8 files changed

+29
-25
lines changed

8 files changed

+29
-25
lines changed

.github/hookdoc-tmpl/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## AblePlayer for WordPress Plugin Hook Documentation
1+
## Able Player for WordPress Plugin Hook Documentation
22

3-
This resource is generated documentation on actions and filters found in AblePlayer for WordPress. Use the sidebar to browse and navigate.
3+
This resource is generated documentation on actions and filters found in Able Player for WordPress. Use the sidebar to browse and navigate.

.github/hookdoc-tmpl/layout.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<footer>
2323
<a href="https://ableplayer.github.io/ableplayer/">Able Player Documentation</a> &bull;
2424
<a href="https://ableplayer.github.io/ableplayer/demos/">Able Player Demos</a> &bull;
25-
<a href="https://github.com/ableplayer/ableplayer-wordpress/">AblePlayer for WordPress on GitHub</a>
25+
<a href="https://github.com/ableplayer/ableplayer-wordpress/">Able Player for WordPress on GitHub</a>
2626
</footer>
2727
</div>
2828

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ See the main [Able Player](http://ableplayer.github.io/ableplayer) project page
1212

1313
[![Code Linting](https://github.com/ableplayer/ableplayer-wordpress/actions/workflows/main.yml/badge.svg)](https://github.com/ableplayer/ableplayer-wordpress/actions/workflows/main.yml) [![License](https://img.shields.io/badge/license-GPL--2.0%2B-green.svg)](https://www.gnu.org/license/gpl-2.0.html)
1414

15-
## AblePlayer for WordPress Build Environment
15+
## Able Player for WordPress Build Environment
1616

1717
* Tags: html5,media,audio,video,accessibility
1818
* Requires at least: 4.9

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ableplayer-wordpress",
33
"version": "2.0.0-beta1",
44
"private": true,
5-
"description": "AblePlayer plugin for WordPress",
5+
"description": "Able Player plugin for WordPress",
66
"author": "Joe Dolson",
77
"license": "MIT",
88
"keywords": [

src/ableplayer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function ableplayer_enqueue_scripts() {
9797
*
9898
* @hook ableplayer_dependencies
9999
*
100-
* @param {array} $dependencies Array of scripts required by the main AblePlayer script.
100+
* @param {array} $dependencies Array of scripts required by the main Able Player script.
101101
* @param {bool} $is_production True if environment is designated as production.
102102
*
103103
* @return {array}
@@ -140,7 +140,7 @@ function ableplayer_admin_scripts() {
140140
add_action( 'admin_enqueue_scripts', 'ableplayer_admin_scripts' );
141141

142142
/**
143-
* Self-documenting array of AblePlayer attributes.
143+
* Self-documenting array of Able Player attributes.
144144
*
145145
* @return array
146146
*/

src/inc/generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function ableplayer_generator( $data = array() ) {
120120
}
121121

122122
/**
123-
* Settings to configure AblePlayer shortcode.
123+
* Settings to configure Able Player shortcode.
124124
*
125125
* @param array|string $data Data posted to shortcode builder.
126126
*/

src/inc/settings.php

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function ableplayer_get_settings( $setting = '' ) {
3131
}
3232

3333
/**
34-
* Save an AblePlayer setting.
34+
* Save an Able Player setting.
3535
*
3636
* @param string $key Setting key.
3737
* @param mixed $value Setting value.
@@ -48,7 +48,7 @@ function ableplayer_update_setting( $key, $value = '' ) {
4848
}
4949

5050
/**
51-
* Generate input & field for an AblePlayer setting.
51+
* Generate input & field for an Able Player setting.
5252
*
5353
* @param array $args {
5454
* Array of settings arguments.
@@ -222,7 +222,7 @@ function ableplayer_settings_field( $args = array(), $context = 'settings' ) {
222222
}
223223

224224
/**
225-
* Save a group of AblePlayer settings.
225+
* Save a group of Able Player settings.
226226
*
227227
* @param array $settings An array of settings.
228228
*
@@ -243,7 +243,7 @@ function ableplayer_update_options( $settings ) {
243243
}
244244

245245
/**
246-
* Update AblePlayer settings.
246+
* Update Able Player settings.
247247
*
248248
* @param array $post POST data.
249249
*/
@@ -279,19 +279,19 @@ function ableplayer_update_settings( $post ) {
279279
}
280280

281281
/**
282-
* Build AblePlayer settings form.
282+
* Build Able Player settings form.
283283
*/
284284
function ableplayer_settings_form() {
285285
if ( ! empty( $_POST ) ) {
286286
$nonce = $_REQUEST['_wpnonce'];
287287
if ( ! wp_verify_nonce( $nonce, 'ableplayer-nonce' ) ) {
288-
wp_die( 'AblePlayer: Security check failed' );
288+
wp_die( 'Able Player: Security check failed' );
289289
}
290290
$post = map_deep( $_POST, 'sanitize_textarea_field' );
291291
if ( isset( $post['ableplayer_settings'] ) ) {
292292
ableplayer_update_settings( $post );
293293
wp_admin_notice(
294-
__( 'AblePlayer Default Settings saved', 'ableplayer' ),
294+
__( 'Able Player Default Settings saved', 'ableplayer' ),
295295
array(
296296
'type' => 'success',
297297
)
@@ -310,7 +310,7 @@ function ableplayer_settings_form() {
310310
<div class="metabox-holder">
311311
<div class="ui-sortable meta-box-sortables">
312312
<div class="wptab postbox" aria-labelledby="tab_settings" role="tabpanel" id="ableplayer-settings">
313-
<h2><?php esc_html_e( 'AblePlayer Settings', 'ableplayer' ); ?></h2>
313+
<h2><?php esc_html_e( 'Able Player Settings', 'ableplayer' ); ?></h2>
314314

315315
<div class="inside">
316316
<form method="post" action="<?php echo esc_url( admin_url( 'admin.php?page=ableplayer#ableplayer-settings' ) ); ?>">
@@ -490,7 +490,7 @@ function ableplayer_settings_form() {
490490
}
491491

492492
/**
493-
* Add AblePlayer menu items to main admin menu
493+
* Add Able Player menu items to main admin menu
494494
*/
495495
function ableplayer_menu() {
496496
add_options_page(
@@ -504,23 +504,27 @@ function ableplayer_menu() {
504504
add_action( 'admin_menu', 'ableplayer_menu' );
505505

506506
/**
507-
* Produce AblePlayer admin sidebar
507+
* Produce Able Player admin sidebar
508508
*/
509509
function ableplayer_show_sidebar() {
510510
?>
511511
<div class="postbox-container ableplayer-narrow">
512512
<div class="metabox-holder">
513513
<div class="ui-sortable meta-box-sortables">
514514
<div class="postbox">
515-
<h2><?php esc_html_e( 'AblePlayer Resources', 'ableplayer' ); ?></h2>
515+
<h2><?php esc_html_e( 'Able Player Resources', 'ableplayer' ); ?></h2>
516516

517517
<div class="inside">
518518
<p>
519519
<?php
520-
// Translators: URL for AblePlayer github docs.
521-
echo wp_kses_post( sprintf( __( 'Learn more about the <a href="%s">AblePlayer accessible media player</a>.', 'ableplayer' ), 'https://ableplayer.github.io/ableplayer/' ) );
520+
// Translators: URL for Able Player github docs.
521+
echo wp_kses_post( sprintf( __( 'Learn more about the <a href="%s">Able Player accessible media player</a>.', 'ableplayer' ), 'https://ableplayer.github.io/ableplayer/' ) );
522+
?>
523+
</p>
524+
<p>
525+
<?php
522526
// Translators: URL for Joe Dolson donate page.
523-
echo ' ' . wp_kses_post( sprintf( __( 'Help support Able Player! <a href="%s">Sponsor Joe Dolson</a>, AblePlayer lead developer.', 'ableplayer' ), 'https://www.joedolson.com/donate/' ) );
527+
echo wp_kses_post( sprintf( __( 'Help support Able Player! <a href="%s">Sponsor Joe Dolson</a>, Able Player lead developer.', 'ableplayer' ), 'https://www.joedolson.com/donate/' ) );
524528
?>
525529
</p>
526530
<ul class="ableplayer-flex ableplayer-social">

src/readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There are currently three ways to add an Able Player instance to a WordPress sit
3535
2. Go to Settings > Able Player > Shortcodes to generate an `[ableplayer]` shortcode.
3636
3. Enter or paste any valid HTML5 Able Player code into your web page. Full documentation is available on the [Able Player](http://ableplayer.github.io/ableplayer) project page on GitHub.
3737

38-
Using the media rewriting in option #1, Able Player will replace any `audio` or `video` block. Any tracks added to that block will be automatically handled, giving you support for all the standard AblePlayer features: captions, navigable transcripts, subtitles, chapters, and audio description.
38+
Using the media rewriting in option #1, Able Player will replace any `audio` or `video` block. Any tracks added to that block will be automatically handled, giving you support for all the standard Able Player features: captions, navigable transcripts, subtitles, chapters, and audio description.
3939

4040
Using option #2, you can create Able Player shortcodes that support most of the basic Able Player features, with support for Vimeo, YouTube, or local video.
4141

@@ -129,7 +129,7 @@ This example uses a shortcode to add a Vimeo player to the page, with two versio
129129
[ableplayer vimeo-id="XXXXXXXXX" vimeo-desc-id="YYYYYYYYY"]
130130
```
131131

132-
The AblePlayer plugin was originally created by [Terrill Thompson](https://terrillthompson.com).
132+
The Able Player plugin was originally created by [Terrill Thompson](https://terrillthompson.com).
133133

134134
== Changelog ==
135135

@@ -151,7 +151,7 @@ The AblePlayer plugin was originally created by [Terrill Thompson](https://terri
151151
= 1.2.1 =
152152

153153
* Change: Updates Able Player to version 4.5.1.
154-
* Security: <a href="https://github.com/ableplayer/ableplayer/security">Upstream security update</a> to add DomPurify to AblePlayer.
154+
* Security: <a href="https://github.com/ableplayer/ableplayer/security">Upstream security update</a> to add DomPurify to Able Player.
155155
* API: Makes Able Player with DomPurify as an unincorporated dependency available, switchable using the `able_player_js` filter.
156156

157157
= 1.2.0 =

0 commit comments

Comments
 (0)