Skip to content

Commit 26521e6

Browse files
authored
Fixo typos in secure-custom-fields.php (#82)
* Fixo typos in secure-custom-fields.php
1 parent 17aaeee commit 26521e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

secure-custom-fields.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public function init() {
258258
// Update the name setting now that we're in the init hook.
259259
acf_update_setting( 'name', __( 'Secure Custom Fields', 'secure-custom-fields' ) );
260260

261-
// Include 3rd party compatiblity.
261+
// Include 3rd party compatibility.
262262
acf_include( 'includes/third-party.php' );
263263

264264
// Include wpml support.
@@ -406,7 +406,7 @@ public function init() {
406406
*/
407407
do_action( 'acf/include_options_pages', ACF_MAJOR_VERSION );
408408

409-
// If we're on 6.5 or newer, load block bindings. This will move to an autoloader in 6.3.
409+
// If we're on WP 6.5 or newer, load block bindings. This will move to an autoloader in SCF 6.3.
410410
if ( version_compare( get_bloginfo( 'version' ), '6.5-beta1', '>=' ) ) {
411411
acf_include( 'includes/Blocks/Bindings.php' );
412412
new ACF\Blocks\Bindings();
@@ -670,7 +670,7 @@ public function set_data( $name, $value ) {
670670
* @param string $class The instance class name.
671671
* @return object
672672
*/
673-
public function get_instance( $class ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.classFound -- Opting not to rename due to PHP 8.0 named arugments.
673+
public function get_instance( $class ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.classFound -- Opting not to rename due to PHP 8.0 named arguments.
674674
$name = strtolower( $class );
675675
return isset( $this->instances[ $name ] ) ? $this->instances[ $name ] : null;
676676
}
@@ -684,7 +684,7 @@ public function get_instance( $class ) { // phpcs:ignore Universal.NamingConvent
684684
* @param string $class The instance class name.
685685
* @return object
686686
*/
687-
public function new_instance( $class ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.classFound -- Opting not to rename due to PHP 8.0 named arugments.
687+
public function new_instance( $class ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.classFound -- Opting not to rename due to PHP 8.0 named arguments.
688688
$instance = new $class();
689689
$name = strtolower( $class );
690690
$this->instances[ $name ] = $instance;

0 commit comments

Comments
 (0)