Skip to content

Commit

Permalink
Remove filters added for 1.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewAPicture committed Jul 16, 2014
1 parent 17f7d1b commit 3ebf4a2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions inc/class.rda-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,14 +378,6 @@ private function _output_caps_dropdown() {
// Alphabetize for nicer display.
ksort( $capabilities );

/**
* Filter the capabilities list prior to outputting the drop-down.
*
* @since 1.2
*
* @param array $capabilities List of capabilities.
*/
$capabilities = apply_filters( 'rda_capabilities_list', $capabilities );
if ( ! empty( $capabilities ) ) {
// Start <select> element.
print( '<select name="rda_access_cap">' );
Expand Down Expand Up @@ -457,15 +449,6 @@ public function login_message_cb() {
* @access public
*/
public function output_login_message( $message ) {
/**
* Filter the login message prior to output.
*
* @since 1.2
*
* @param string $message Login message. Will be passed through {@see esc_html()} on output.
*/
$message = apply_filters( 'rda_login_message', $message );

if ( ! empty( $this->settings['login_message'] ) ) {
$message .= '<p class="message">' . esc_html( $this->settings['login_message'] ) . '</p>';
}
Expand Down

0 comments on commit 3ebf4a2

Please sign in to comment.